MCP TypeScript SDK
Official TypeScript SDK published as @modelcontextprotocol/sdk on npm. Dual-purpose library for building MCP servers and clients on Node.js, Bun, and Deno. Supports Standard Schema (Zod, Valibot, ArkType), stdio and Streamable HTTP transports, and ships thin middleware adapters for Express, Hono, and Node HTTP. The v2 line is in development.