mcp-server-patterns
A skill from the ECC collection with guidance for building and debugging MCP servers with the official Node and TypeScript SDK.
スキルの内容
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.
できること
- Explain MCP tools, resources and prompts
- Choose between stdio and Streamable HTTP
- Validate tool inputs with Zod
- Check current SDK method names before coding
概要
- 公開元
- affaan-m
- ツール
- 推論
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- agents/openai.yaml
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/affaan-m/ecc · 根拠となる項目:ライセンス, スクリプトを含む2026年11月17日
- GitHubリポジトリgithub.com/affaan-m/ecc · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月18日
- スキルファイル(SKILL.md)github.com/affaan-m/ECC2026年11月18日
- リポジトリ内のフォルダ(mcp-server-patterns)github.com/affaan-m/ECC · 根拠となる項目:スクリプトを含む2026年11月18日