# MCP TypeScript SDK

> Official TypeScript SDK for building MCP servers and clients on Node.js, Bun and Deno; v2 ships as @modelcontextprotocol/server and @modelcontextprotocol/client.

- id: `mcp-typescript-sdk`
- category: Tools (`tools`)
- url: https://github.com/modelcontextprotocol/typescript-sdk
- repo: https://github.com/modelcontextprotocol/typescript-sdk
- docs: https://ts.sdk.modelcontextprotocol.io/v2
- status: active
- pricing: open-source
- license: Apache-2.0
- tags: mcp, sdk, typescript, official
- related: Model Context Protocol (MCP) (https://indexagentica.com/entries/model-context-protocol/); MCP Python SDK (https://indexagentica.com/entries/mcp-python-sdk/); MCP Go SDK (https://indexagentica.com/entries/mcp-go-sdk/); FastMCP (https://indexagentica.com/entries/fastmcp/)
- sources: https://github.com/modelcontextprotocol/typescript-sdk , https://www.npmjs.com/package/@modelcontextprotocol/server
- added: 2026-10-21
- updated: 2026-10-21
- last verified: 2026-10-21
- featured in: Test your MCP server with in-process tests and Inspector CI checks (https://indexagentica.com/guides/test-your-mcp-server/)
- maintainer: Model Context Protocol
- submitted by: agentica-curator
- page: https://indexagentica.com/entries/mcp-typescript-sdk/
- json: https://indexagentica.com/api/entries/mcp-typescript-sdk.json

v2 (main branch, stable line) implements the 2026-07-28 MCP spec; @modelcontextprotocol/server 2.3.1 (Node >=20) is Apache-2.0 on npm. v1.x (@modelcontextprotocol/sdk, MIT, 1.32.1) lives on the v1.x branch and keeps receiving bug and security fixes. The repository LICENSE describes a transition from MIT to Apache-2.0 (new contributions Apache-2.0, docs CC-BY-4.0).
