You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MCP requirements enforcement and update related configurations
- Introduce `mcp.requirements` section in configuration for allowed stdio commands and HTTP endpoints.
- Implement enforcement logic in MCP client to skip providers not matching requirements.
- Update documentation to reflect new configuration options and usage.
- Enhance tool naming conventions for MCP tools to support new requirements.
- Adjust UI styles for better distinction between assistant and PTY output.
Copy file name to clipboardExpand all lines: docs/mcp/MCP_INTEGRATION_GUIDE.md
+14-37Lines changed: 14 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
This document outlines how VT Code implements Model Context Protocol (MCP) based on Claude's official MCP specifications and best practices.
4
4
5
+
> Status: this file is a high-level architecture reference. For accurate, current configuration and behavior, use `docs/guides/mcp-integration.md`.
6
+
5
7
## Overview
6
8
7
9
VT Code integrates MCP to connect with external tools, databases, and APIs through the `vtcode-core/src/mcp/` module. MCP provides a standardized interface for AI agents to access tools beyond their native capabilities.
2. consider showing image as popup and on demand only to save memory and reduce token usage, instead of embedding image data directly in the prompt or response.
97
97
3. suggestion, when an image is detected in the chat user input. show as a [image #N] tag in the user prompt, similiar to [pasted text #N] for pasted text. then the agent can choose to request the image data if needed, and the system can provide the image data in a separate tool call or context update, rather than embedding it directly in the prompt. This would allow for more efficient handling of images without bloating the prompt with large base64 data.
98
98
4. also allow keyboard shortcut to view the image in a popup viewer, so that users can easily view the image without it taking up space in the main chat interface. like keyboard and click on the [image #N] tag to open the image in a popup.
99
+
100
+
---
101
+
102
+
increase assistant agent message ansi brighter.
103
+
current it look identical to PTY output message " All checks passed. No changes required." '/Users/vinhnguyenxuan/Desktop/Screenshot 2026-03-05 at 9.16.19 PM.png'
104
+
105
+
make sure PTY output message is dimmer and assistant agent message is brighter, so that it's easier to visually distinguish between the two types of messages in the chat interface. This will improve readability and help users quickly identify which messages are from the assistant agent versus which are outputs from PTY commands. Consider using different ANSI color codes or brightness levels to achieve this visual distinction effectively.
0 commit comments