Mcp Server Patterns
Practical guide to building MCP servers with the Node/TypeScript SDK, covering tools, resources, prompts, and transport choice.
- CCM score
- 63 of 100
- skills.sh installs
- 11.9K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers tools, resources, and prompts, plus the core concepts that separate actions, read-only data, and reusable templates
- Explains stdio for local clients versus Streamable HTTP for remote clients, with legacy HTTP/SSE kept for compatibility
- Recommends Zod schemas for every tool input and warns that SDK method signatures change across versions
- Designed for developers building, upgrading, or debugging MCP servers who need current API details from Context7 or official docs
Install
$ npx -y skills add affaan-m/ecc --skill mcp-server-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
MCP Server Patterns
The Model Context Protocol (MCP) lets AI assistants call tools, read resources, and use prompts from your server. Use this skill when building or maintaining MCP servers. The SDK API evolves; check Context7 (query-docs for "MCP") or the official MCP documentation for current method names and signatures.
For the broader routing decision of when a capability should be a rule, a skill, MCP, or a plain CLI/API workflow, see docs/capability-surface-selection.md.
When to Use
Use when: implementing a new MCP server, adding tools or resources, choosing stdio vs HTTP, upgrading the SDK, or debugging MCP registration and transport issues.
How It Works
Core concepts
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Skill & Plugin Building, AI Agents & LLM Apps, Backend & APIs
- First seen
- Jul 14, 2026
Questions
What does the mcp-server-patterns skill help me build?
It guides you in building MCP servers with the Node and TypeScript SDK, covering tools, resources, prompts, and Zod validation. It also explains choosing between stdio and Streamable HTTP transport, and it points you to Context7 or the official MCP docs for current API details.
How do I install the mcp-server-patterns skill?
Run npx -y skills add affaan-m/ecc --skill mcp-server-patterns -y inside your project. Once installed, the agent can use the skill's guidance when you build or debug an MCP server.
What do I need before using mcp-server-patterns?
You need a Node and TypeScript setup and the @modelcontextprotocol/sdk and zod packages, installed with npm install. The skill's examples use these packages to register tools and resources.
When should I use stdio versus Streamable HTTP with this skill?
The skill says stdio suits local clients such as Claude Desktop, while Streamable HTTP is preferred for remote clients such as Cursor or cloud setups. It also notes that legacy HTTP and SSE should be used only when backward compatibility is needed.
Where does mcp-server-patterns stand in its category?
It sits in the Skill and Plugin Building category and ranks in the top 25 on that category page. Its focus is narrow: MCP server design with the Node and TypeScript SDK, including tools, resources, prompts, and transport choice.
More from affaan-m/ecc
All 257- Plankton Code Quality11.9K
- Fal Ai Media11.8K
- Visa Doc Translate11.8K
- Inventory Demand Planning11.8K
- Customs Trade Compliance11.8K
- Brand Voice11.8K
- Seo11.7K
- Kotlin Ktor Patterns11.7K
- Enterprise Agent Ops11.7K
- Quality Nonconformance11.7K
- Ralphinho Rfc Pipeline11.7K
- Crosspost11.7K
- Agent Eval11.7K
- Production Scheduling11.6K
- Videodb11.6K
- Nanoclaw Repl11.6K
- Logistics Exception Management11.6K
- Kotlin Exposed Patterns11.6K
- Carrier Relationship Management11.6K
- Energy Procurement11.6K
- Nuxt4 Patterns11.5K
- Returns Reverse Logistics11.5K
- Team Builder11.5K
- X Api11.5K
Similar to Mcp Server Patterns
More Skill & Plugin Buildingmcp-builderPluginComposioHQ/awesome-claude-skills51.5K starsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when b
mcp-server-builderSkillpatricio0312rev/skills270 installsBuilds MCP servers for Claude with tools, resources, and prompts, from project setup through local testing.
typescript-mcp-server-generatorSkillgithub/awesome-copilot12.1K installsScaffolds a TypeScript MCP server on the v2 SDK with tools, resources, and HTTP or stdio transport.
Mcp Ts TemplateMCP servercyanheads155 starsTyped TypeScript framework for building MCP servers with auth, storage, logging, and transports.
build-mcp-serverSkillanthropics/claude-plugins-official8K installsGuided design of MCP servers, starting with use-case discovery and deployment choice before any scaffolding.