11-mcp-integration — Claude Code prompt: MCP checks
The 11-mcp-integration prompt guides an investigation of Claude Code’s MCP client and server mode. Use it to inspect configuration and outline a client-to-server test.
no license ★ 3,444 updated 2026-10-14
.claude/commands/11-mcp-integration.mdWhat 11-mcp-integration does
The prompt asks Claude Code to inspect the MCP client, including server discovery, connections, and tool registration. It also calls for checking .mcp.json, the ScopedMcpServerConfig type, and the project’s use of @modelcontextprotocol/sdk version ^1.12.1.
The next tasks are to draft scripts/test-mcp.ts, launch mcp-server/ as a child process, connect over stdio, list tools, and call one. The prompt also asks for a review of the CLI’s MCP mode and a local server configuration. It sets a work plan; the findings depend on the repository at /workspaces/claude-code.
What it helps with
- trace how the MCP client discovers and connects to servers
- inspect the
.mcp.jsonconfiguration schema - check the MCP SDK import and version compatibility
- draft a stdio roundtrip test between client and server
- identify the tools and resources exposed by CLI server mode
Example prompts for the agent
- Inspect the MCP client in
/workspaces/claude-codeand explain how it loads.mcp.json. - Draft
scripts/test-mcp.tsto connect tomcp-server/over stdio and call one tool. - Review the CLI’s MCP mode and prepare the local server configuration described in the prompt.
How to install 11-mcp-integration
Manually: put the files in place
.claude/commands/11-mcp-integration.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about 11-mcp-integration
How do I install 11-mcp-integration in Claude Code?
Place the prompt file at .claude/commands/11-mcp-integration.md.
What does 11-mcp-integration do?
It lays out an investigation of Claude Code’s MCP client and server mode, followed by a client-server test and a local server config.
Which MCP SDK check does the prompt request?
It asks to verify @modelcontextprotocol/sdk at version ^1.12.1, test the Client import, and look for compatibility issues.