> **MCP Integration** — chapter 7 of 10 in [anthropics/claude-code](https://skillsdocs.com/anthropics/claude-code).
>
> Book (all chapters, one file): https://skillsdocs.com/anthropics/claude-code.md
> Machine manifest: https://skillsdocs.com/anthropics/claude-code/.well-known/agent-skills/index.json
> Install the book: `npx skills add anthropics/claude-code`
> Upstream: https://github.com/anthropics/claude-code/blob/main/plugins/plugin-dev/skills/mcp-integration/SKILL.md @ `main`
> Raw bytes, no header: https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/SKILL.md
> Base for relative paths: https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/
> Licence: No licence detected — all rights reserved by its authors
>
> Bundled files (6), referenced from this skill's directory:
>   - `examples/http-server.json` — https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/examples/http-server.json
>   - `examples/sse-server.json` — https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/examples/sse-server.json
>   - `examples/stdio-server.json` — https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/examples/stdio-server.json
>   - `references/authentication.md` — https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/references/authentication.md
>   - `references/server-types.md` — https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/references/server-types.md
>   - `references/tool-usage.md` — https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/references/tool-usage.md
>
> Content © its authors. This chapter's body is not served here; the links above are. Takedown: https://github.com/DreambaseAI/skillsdocs/issues/new?labels=takedown&title=Takedown+request

# MCP Integration

This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context Protocol", "connect external service", mentions "${CLAUDE_PLUGIN_ROOT} with MCP", or discusses MCP server types (SSE, stdio, HTTP, WebSocket). Provides comprehensive guidance for integrating Model Context Protocol servers into Claude Code plugins for external tool and service integration.

No licence could be detected for this skill at either the repository or the skill level, so its body is not reproduced here. Read it upstream:

https://raw.githubusercontent.com/anthropics/claude-code/main/plugins/plugin-dev/skills/mcp-integration/SKILL.md
