Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the MCP (Model Context Protocol) integration documentation and configuration to reflect the current implementation and clarify future directions. The main focus is on accurately describing how MCP servers are registered, how tools are injected and executed, and on updating configuration and timeout values. Significant improvements have been made to both English and Chinese documentation, including new troubleshooting and design documents, and the MCP registry configuration example.
Documentation Updates and Clarifications:
Updated
mcp-integration-architecture-en.mdandmcp-integration-architecture-zh.mdto describe the current MCP integration: MCP access is now viacchatonly, with no separatemcp_*hostcalls, and only stdio transport is supported for MCP servers. The documentation now distinguishes between current features and future/planned work. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]Documented the new tool naming convention: tools are injected as
mcp__<base64(server_id)>__<base64(tool_name)>, and routing also accepts the legacymcp.<server_id>.<tool_name>format for compatibility. [1] [2] [3] [4] [5] [6]Added new documentation entries to
INDEX.mdfor MCP integration architecture, task-level MCP subset design, and troubleshooting guides, improving discoverability of MCP-related docs. [1] [2]Configuration and Example Updates:
tool_timeout_msfrom 8000ms to 30000ms, changed the command to usenpxwith the@modelcontextprotocol/server-filesystempackage, and clarified config variable names and formats. [1] [2] [3]These changes ensure the documentation and configuration accurately reflect the current state of MCP integration in the codebase and clarify the boundaries between what is implemented and what is planned for future work.