# 11-mcp-integration

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.

- prompt · `type=prompt` · Claude Code, ChatGPT · ★ 3444 repo stars
- Author: codeaashu
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codeaashu/claude-code/tree/HEAD/prompts/11-mcp-integration.md
- Updated: 2026-10-14
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/prompts/11-mcp-integration

## What it 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`.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/11-mcp-integration.md`

### ChatGPT

**How to use**
- Paste the text at the start of a chat or into project instructions

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/codeaashu/claude-code/tree/HEAD/prompts/11-mcp-integration.md

## When to use it
- trace how the MCP client discovers and connects to servers
- inspect the `.mcp.json` configuration 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
- Inspect the MCP client in `/workspaces/claude-code` and explain how it loads `.mcp.json`.
- Draft `scripts/test-mcp.ts` to connect to `mcp-server/` over stdio and call one tool.
- Review the CLI’s MCP mode and prepare the local server configuration described in the prompt.

## Similar
- [debug-zoom-integration](https://affpapa.org/en/nevibecode/skills/anthropics-debug-zoom-integration.md) — skill · 2200 installs
- [api-integration-specialist](https://affpapa.org/en/nevibecode/agents/api-integration-specialist.md) — subagent · ★ 1013 repo stars
- [api-integration-surface-strategy](https://affpapa.org/en/nevibecode/skills/api-integration-surface-strategy.md) — skill · 10400 installs
- [checkout-integration](https://affpapa.org/en/nevibecode/skills/checkout-integration.md) — skill · 1000 installs
- [ae-data-integration-helper](https://affpapa.org/en/nevibecode/skills/ae-data-integration-helper.md) — skill · 947 installs
- [v4-sdk-integration](https://affpapa.org/en/nevibecode/skills/v4-sdk-integration.md) — skill · 763 installs

From the same set: [codeaashu/claude-code](https://affpapa.org/en/nevibecode/by/codeaashu/claude-code.md) — 17 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
