What problem does it solve? Building a Model Context Protocol server requires navigating an evolving SDK API, choosing between stdio and Streamable HTTP transports, and correctly registering tools, resources, and prompts. This Skill provides the patterns and decision guidance to implement and maintain MCP servers without copy-paste errors from outdated examples. ## Core Features & Use Cases - Server Implementation Patterns: Register tools, resources, and prompts with the @modelcontextprotocol/sdk using Zod for input validation. - Transport Selection: Choose stdio for local clients like Claude Desktop or Streamable HTTP for remote clients like Cursor and cloud deployments. - SDK Upgrade Guidance: Verify current method signatures (tool() vs registerTool()) against official MCP docs or Context7 to avoid breaking changes. - Use Case: You need to expose an internal API as MCP tools for Claude Desktop. Use this Skill to scaffold the server, define Zod-validated tool schemas, and connect via stdio transport. ## Quick Start Use the mcp-server-patterns skill to scaffold a new MCP server in TypeScript with one Zod-validated tool and stdio transport.