discover-mcp

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

MCP Skills Discovery

MCP技能发现

Provides automatic access to comprehensive MCP server development, tool design, and testing skills.
提供对MCP服务器开发、工具设计和测试相关技能的自动访问权限。

When This Skill Activates

何时激活该技能

This skill auto-activates when you're working with:
  • Building MCP servers (TypeScript or Python)
  • Designing MCP tools, resources, or prompts
  • Choosing MCP transports (stdio, SSE, Streamable HTTP)
  • Implementing JSON-RPC 2.0 over MCP
  • Testing MCP servers with Inspector or automated tests
  • Debugging MCP protocol or transport issues
  • Publishing or deploying MCP servers
当你进行以下工作时,该技能会自动激活:
  • 构建MCP服务器(TypeScript或Python)
  • 设计MCP工具、资源或提示词
  • 选择MCP传输方式(stdio、SSE、可流式HTTP)
  • 基于MCP实现JSON-RPC 2.0
  • 使用Inspector或自动化测试测试MCP服务器
  • 调试MCP协议或传输相关问题
  • 发布或部署MCP服务器

Available Skills

可用技能

Quick Reference

快速参考

The MCP category contains 3 specialized skills:
  1. mcp-server-fundamentals - Architecture, transports, tools/resources/prompts primitives, SDK setup
  2. mcp-tool-design - Tool naming, schemas, error handling, annotations, progressive disclosure
  3. mcp-testing - Inspector, unit tests, integration tests, transport debugging, CI/CD
MCP类别包含3个专业技能:
  1. mcp-server-fundamentals - 架构、传输方式、工具/资源/提示词基础、SDK设置
  2. mcp-tool-design - 工具命名、模式、错误处理、注解、渐进式披露
  3. mcp-testing - Inspector、单元测试、集成测试、传输调试、CI/CD

Load Full Category Details

加载完整类别详情

For complete descriptions and workflows:
Read <cc-polymath-root>/skills/mcp/INDEX.md
This loads the full MCP category index with:
  • Detailed skill descriptions
  • Usage triggers for each skill
  • Common workflow combinations
  • Cross-references to related skills
如需完整说明和工作流程:
阅读 <cc-polymath-root>/skills/mcp/INDEX.md
这会加载完整的MCP类别索引,包含:
  • 详细的技能说明
  • 每个技能的触发场景
  • 常见工作流程组合
  • 相关技能的交叉引用

Load Specific Skills

加载特定技能

Load individual skills as needed:
根据需要加载单个技能:

Server architecture and setup

服务器架构与设置

Read <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md
阅读 <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md

Tool design and best practices

工具设计与最佳实践

Read <cc-polymath-root>/skills/mcp/mcp-tool-design.md
阅读 <cc-polymath-root>/skills/mcp/mcp-tool-design.md

Testing and debugging

测试与调试

Read <cc-polymath-root>/skills/mcp/mcp-testing.md
阅读 <cc-polymath-root>/skills/mcp/mcp-testing.md

Common Workflows

常见工作流程

New MCP Server

新建MCP服务器

Sequence: Fundamentals -> Tool Design -> Testing
Read <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md # Architecture, transport, SDK Read <cc-polymath-root>/skills/mcp/mcp-tool-design.md # Design tool interfaces Read <cc-polymath-root>/skills/mcp/mcp-testing.md # Test with Inspector, CI
流程:基础技能 -> 工具设计 -> 测试
阅读 <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md # 架构、传输方式、SDK 阅读 <cc-polymath-root>/skills/mcp/mcp-tool-design.md # 设计工具接口 阅读 <cc-polymath-root>/skills/mcp/mcp-testing.md # 使用Inspector、CI进行测试

Adding Tools to Existing Server

为现有服务器添加工具

Sequence: Tool Design -> Testing
Read <cc-polymath-root>/skills/mcp/mcp-tool-design.md # Naming, schemas, errors Read <cc-polymath-root>/skills/mcp/mcp-testing.md # Test new tools
流程:工具设计 -> 测试
阅读 <cc-polymath-root>/skills/mcp/mcp-tool-design.md # 命名、模式、错误处理 阅读 <cc-polymath-root>/skills/mcp/mcp-testing.md # 测试新工具

Debugging MCP Issues

调试MCP问题

Sequence: Testing -> Fundamentals
Read <cc-polymath-root>/skills/mcp/mcp-testing.md # Inspector, transport debugging Read <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md # Lifecycle, capabilities
流程:测试 -> 基础技能
阅读 <cc-polymath-root>/skills/mcp/mcp-testing.md # Inspector、传输调试 阅读 <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md # 生命周期、功能

Integration with Other Skills

与其他技能的集成

MCP skills commonly combine with:
API skills (
discover-api
):
  • MCP servers wrapping REST or GraphQL APIs
  • Authentication for MCP tool backends
Testing skills (
discover-testing
):
  • Comprehensive test strategies
  • Contract testing patterns
Infrastructure skills (
discover-infra
,
discover-cloud
):
  • Deploying MCP servers
  • Scaling HTTP transports
MCP技能通常与以下技能结合使用:
API技能 (
discover-api
):
  • 封装REST或GraphQL API的MCP服务器
  • MCP工具后端的身份验证
测试技能 (
discover-testing
):
  • 全面的测试策略
  • 契约测试模式
基础设施技能 (
discover-infra
,
discover-cloud
):
  • 部署MCP服务器
  • 扩展HTTP传输方式

Progressive Loading

渐进式加载

This gateway skill (~170 lines, ~1.5K tokens) enables progressive loading:
  • Level 1: Gateway loads automatically (you're here now)
  • Level 2: Load category INDEX.md (~2.5K tokens) for full overview
  • Level 3: Load specific skills (~2-3K tokens each) as needed
Total context: 1.5K + 2.5K + skill(s) = 4-8K tokens vs 12K+ for everything.
这个网关技能(约170行,约1.5K tokens)支持渐进式加载:
  • Level 1:网关自动加载(当前所处层级)
  • Level 2:加载类别INDEX.md(约2.5K tokens)以获取完整概述
  • Level 3:根据需要加载特定技能(每个约2-3K tokens)
总上下文:1.5K + 2.5K + 技能 = 4-8K tokens,相比全部加载的12K+ tokens更高效。

Quick Start Examples

快速开始示例

"Build an MCP server": Read <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md
"Design MCP tools for my API": Read <cc-polymath-root>/skills/mcp/mcp-tool-design.md
"Test my MCP server": Read <cc-polymath-root>/skills/mcp/mcp-testing.md
"Debug why my MCP tool isn't showing up": Read <cc-polymath-root>/skills/mcp/mcp-testing.md
Next Steps: Run
Read <cc-polymath-root>/skills/mcp/INDEX.md
to see full category details, or load specific skills using the commands above.
"构建一个MCP服务器": 阅读 <cc-polymath-root>/skills/mcp/mcp-server-fundamentals.md
"为我的API设计MCP工具": 阅读 <cc-polymath-root>/skills/mcp/mcp-tool-design.md
"测试我的MCP服务器": 阅读 <cc-polymath-root>/skills/mcp/mcp-testing.md
"调试我的MCP工具为何不显示": 阅读 <cc-polymath-root>/skills/mcp/mcp-testing.md
下一步:运行
Read <cc-polymath-root>/skills/mcp/INDEX.md
查看完整类别详情,或使用上述命令加载特定技能。