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 MCP servers without copy-paste errors from outdated documentation. ## Core Features & Use Cases - Tool, Resource, and Prompt Registration: Register callable tools with Zod-validated input schemas, read-only resources with URI handlers, and reusable parameterized prompt templates. - Transport Selection: Choose stdio for local clients like Claude Desktop or Streamable HTTP for remote clients like Cursor, keeping server logic transport-independent. - SDK Version Guidance: Verify current @modelcontextprotocol/sdk method signatures via Context7 or official MCP docs instead of relying on stale examples. - Use Case: You need to expose an internal API to AI assistants. Use this Skill to scaffold an MCP server with schema-first tools, structured error responses, and the correct transport for your client. ## Quick Start Use the mcp-server-patterns skill to scaffold a new MCP server in TypeScript with a Zod-validated tool and stdio transport.