mcp-server-patterns
A skill from the ECC collection with guidance for building and debugging MCP servers with the official Node and TypeScript SDK.
O que a skill ensina
A skill from the ECC collection with guidance for building and debugging MCP servers with the official Node and TypeScript SDK. It explains the three things a server can expose (tools the model calls, read-only resources addressed by URI, and reusable prompts), when to use stdio for local clients and Streamable HTTP for remote ones, and why tool logic should stay separate from the transport. Because the SDK's registration methods have changed between versions, the agent is told to check current names in the official MCP docs or through Context7 before writing code. Further advice covers input schemas with Zod, structured errors instead of stack traces, safe retries, rate limits and pinning the SDK version.
O que faz
- Explain MCP tools, resources and prompts
- Choose between stdio and Streamable HTTP
- Validate tool inputs with Zod
- Check current SDK method names before coding
Sobre
- Publicador
- affaan-m
- Ferramenta
- Raciocínio
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- agents/openai.yaml
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Raciocínio | |
| Publicador | affaan-m | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 17 de nov. de 2026305.644 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de affaan-m
35 skills
- brand-discovery (Skill)
- brand-voice (Skill)
- context-and-decisions (Skill)
- docs-governance (Skill)
- eval-harness (Skill)
- e2e-testing (Skill)
Também listado em: Raciocínio
Fontes
- Arquivo da skill (SKILL.md)github.com/affaan-m/ecc · Comprova: Licença, Inclui scripts17 de nov. de 2026
- Repositório no GitHubgithub.com/affaan-m/ecc · Comprova: Publicador, Atividade, Licença18 de nov. de 2026
- Arquivo da skill (SKILL.md)github.com/affaan-m/ECC18 de nov. de 2026
- Pasta no repositório (mcp-server-patterns)github.com/affaan-m/ECC · Comprova: Inclui scripts18 de nov. de 2026