Подключение MCP-серверов к плагинам
★ 8.6 · integration
mcp-integration is a Claude Code skill that guides developers through integrating Model Context Protocol (MCP) servers into Claude Code plugins to expose external services, APIs, databases, and file systems as structured tools. It covers two configuration approaches: a dedicated `.mcp.json` file at the plugin root (recommended for multiple servers) and an inline `mcpServers` field inside `plugin.json` for simpler setups. Four connection types are supported — stdio (local child process), SSE (hosted services with automatic OAuth), HTTP (REST with custom headers), and WebSocket (real-time bidirectional) — with registered tools automatically prefixed as `mcp__plugin_<name>_<server>__<tool>`. The skill explains environment variable expansion via `${CLAUDE_PLUGIN_ROOT}` for portable paths, pre-allowing specific tools in command frontmatter for security, and using the `/mcp` command to inspect active servers. It's aimed at plugin authors who need to bundle a service providing ten or more related tools within a single Claude Code plugin.
- #mcp-integration
- #model-context-protocol
- #external-services
- #api-connection
- #oauth