Model Context Protocol (MCP) — Router
| Field | Value |
|---|---|
| Source docs | modelcontextprotocol.io |
| Spec repo | modelcontextprotocol/modelcontextprotocol |
| TypeScript SDK | @modelcontextprotocol/sdk |
| Python SDK | mcp |
This skill is auto-updated daily. A pipeline reads the upstream docs and rewrites the per-surface files below. Section structure is stable; content drifts to track upstream.
Dispatch table
| Surface file | Read when the user asks about… |
|---|---|
SKILL-protocol.md |
JSON-RPC framing, the initialize handshake, capability negotiation, lifecycle, error codes, versioning |
SKILL-clients.md |
implementing an MCP client, calling tools, reading resources, the client-side of sampling |
SKILL-servers.md |
implementing an MCP server in TypeScript or Python, server-side capability advertisement, server lifecycle |
SKILL-transport.md |
stdio transport, streamable HTTP transport, SSE transport (legacy), choosing a transport |
SKILL-tools-resources-prompts.md |
defining tools (input schema, output schema), defining resources (URI templates, MIME types), defining prompts, sampling, roots, completion |
This skill is auto-updated daily by a maintainer-run pipeline. File issues at xiaolai/anthropic-docs.