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.

API entry from apis.yml

apis.yml Raw ↑
name: MCP TypeScript SDK
description: 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.
humanURL: https://github.com/modelcontextprotocol/typescript-sdk
tags:
- SDK
- TypeScript
- Node.js
properties:
- type: GitHubRepository
  url: https://github.com/modelcontextprotocol/typescript-sdk
- type: SDK
  url: https://www.npmjs.com/package/@modelcontextprotocol/sdk