MCP Integration

仓库创建 2026年1月12日最近提交 4 天前SkillHot 收录 21 天前
▸ 精选理由

便于将外部 API/服务作为工具暴露给 agent,适合插件开发者。

▸ 风险提示

需要连接外部服务器/网络,可能暴露凭据或外部依赖。

这个 Skill 做什么

为 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.

开发编程MCP集成外部服务Claude Code
431
Stars
37
Forks
30
仓库内 Skill
+16
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tzachbon/smart-ralph/main/.agents/skills/MCP Integration/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tzachbon/smart-ralph/main/.agents/skills/MCP Integration/SKILL.md"
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
{
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有