mcp-integration
Official · AnthropicInstallation
Terminal
git clone --depth 1 https://github.com/anthropics/claude-plugins-official.git /tmp/mcp-integration-src cp -r /tmp/mcp-integration-src/plugins/plugin-dev/skills/mcp-integration ~/.claude/skills/mcp-integration
Or .claude/skills/mcp-integration to scope it to one repo.
Summary
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 "${CLAUDEPLUGINROOT} 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.
MCP Integration for Claude Code Plugins Overview Model Context Protocol (MCP) enables Claude Code plugins to integrate with external services and APIs by providing structured tool access. Use MCP integration to expose external service capabilities as tools within Claude Code. Key capabilities: - Connect to external services (databases, APIs, file systems) - Provide 10+ related tools from a single service - Handle OAuth and complex authentication flows - Bundle MCP servers with plugins for automatic setup MCP Server Configuration Methods Plugins can bundle MCP servers in two ways: Method 1: Dedicated .mcp.json (Recommended) Create .mcp.json at plugin root: json { "database-tools": { "command": "${CLAUDEPLUGINROOT}/servers/db-server", "args": ["--config", "${CLAUDEPLUGINROOT}/config.json"], "env": { "DBURL": "${DBURL}" } } } Benefits: - Clear separation of concerns - Easier to maintain - B…