MCP Integration
便于将外部 API/服务作为工具暴露给 agent,适合插件开发者。
需要连接外部服务器/网络,可能暴露凭据或外部依赖。
为 Claude Code 插件提供 Model Context Protocol (MCP) 与外部服务的接入能力。
把 Model Context Protocol (MCP) 接入到 Claude Code 插件,能把外部服务(数据库、API、文件系统)暴露成 Claude 可调用的工具集合。当需要添加 MCP server、配置 .mcp.json、或选择 SSE、stdio、HTTP、WebSocket 等传输方式时使用。特别之处是把外部能力结构化为多种工具接口,方便插件扩展第三方服务并保持交互一致性。
▸ 展开 SKILL.md 英文原文
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.
帮我安装这个 skill:https://raw.githubusercontent.com/tzachbon/smart-ralph/main/.agents/skills/MCP Integration/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/tzachbon/smart-ralph/main/.agents/skills/MCP Integration/SKILL.md"# 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
{