Skip to content

Conversation

@wilsonwang371
Copy link
Collaborator

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.md and mcp-integration-architecture-zh.md to describe the current MCP integration: MCP access is now via cchat only, with no separate mcp_* 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 legacy mcp.<server_id>.<tool_name> format for compatibility. [1] [2] [3] [4] [5] [6]

  • Added new documentation entries to INDEX.md for MCP integration architecture, task-level MCP subset design, and troubleshooting guides, improving discoverability of MCP-related docs. [1] [2]

Configuration and Example Updates:

  • Updated the example MCP registry configuration: increased tool_timeout_ms from 8000ms to 30000ms, changed the command to use npx with the @modelcontextprotocol/server-filesystem package, 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.

@wilsonwang371 wilsonwang371 self-assigned this Jan 31, 2026
@wilsonwang371 wilsonwang371 linked an issue Jan 31, 2026 that may be closed by this pull request
@wilsonwang371 wilsonwang371 merged commit 0aabb8f into main Jan 31, 2026
7 of 8 checks passed
@wilsonwang371 wilsonwang371 deleted the wilson-update branch January 31, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP server local start issue

1 participant