Overview of MCP TypeScript SDK packages
mainThe SDK is a monorepo providing the following core components:
@modelcontextprotocol/server: Used to build MCP servers that expose tools, resources, and prompts.@modelcontextprotocol/client: Used to build MCP clients that connect to servers via various transports.- Middleware packages: Thin adapters for integrating MCP into runtimes like Node.js HTTP, Express, Fastify, and Hono.
- Examples: Runnable, self-verifying client/server pairs located in the
examples/directory.