mcp-server-patterns
A skill from the ECC collection with guidance for building and debugging MCP servers with the official Node and TypeScript SDK.
What the skill teaches
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.
Capabilities
- Explain MCP tools, resources and prompts
- Choose between stdio and Streamable HTTP
- Validate tool inputs with Zod
- Check current SDK method names before coding
About
- Publisher
- affaan-m
- Tool
- Reasoning
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- agents/openai.yaml
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Reasoning | |
| Publisher | affaan-m | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 9, 2026300,529 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from affaan-m
35 skills
- brand-discovery (Skill)
- brand-voice (Skill)
- context-and-decisions (Skill)
- docs-governance (Skill)
- eval-harness (Skill)
- e2e-testing (Skill)
Also listed under: Reasoning
Sources
- Skill file (SKILL.md)github.com/affaan-m/ecc · Backs: Licence, Includes scriptsNov 17, 2026
- GitHub repositorygithub.com/affaan-m/ecc · Backs: Publisher, Activity, LicenceNov 10, 2026
- Skill file (SKILL.md)github.com/affaan-m/ECCNov 10, 2026
- Folder in the repository (mcp-server-patterns)github.com/affaan-m/ECC · Backs: Includes scriptsNov 10, 2026