MCP Directory
Back

typescript-sdk

by modelcontextprotocol · TypeScript · ★ 12,741

The official TypeScript SDK for Model Context Protocol servers and clients

Install

npx -y github:modelcontextprotocol/typescript-sdk

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "typescript-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "github:modelcontextprotocol/typescript-sdk"
      ]
    }
  }
}

From the README

> [!IMPORTANT] > **This is the branch which contains v2 of the SDK (currently in development, pre-alpha).** > > We anticipate a stable v2 release in Q3 2026 along with the [updated MCP spec](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/). Until then, **v1.x remains the recommended version** for production use. v1.x will continue to receive bug fixes and security updates for at least 6 months after v2 ships to give people time to upgrade. > > For v1 documentation, see the [V1 API docs](https://ts.sdk.modelcontextprotocol.io/). For v2 API docs, see [](https://ts.sdk.m…
Read full README on GitHub →

Related other servers