CreateWithAIHub

API / SDK Model Context Protocol project

MCP TypeScript SDK

Official TypeScript SDK for building Model Context Protocol servers and clients on Node.js, Bun and Deno.

MCP SDKFreeOpen source
Visit website ↗
Save

What it is

The MCP TypeScript SDK is the official implementation of the Model Context Protocol for TypeScript and JavaScript. It ships server libraries (tools, resources, prompts, Streamable HTTP, stdio, auth helpers), client libraries, and thin middleware packages for Express, Fastify, Hono and Node.js HTTP. Version 2 splits the SDK into @modelcontextprotocol/server and @modelcontextprotocol/client packages.

What it's useful for

Exposing an API or data source to Claude and other MCP clients as an MCP server, or adding MCP client support to your own agent.

Key features

  • Server library for tools, resources and prompts
  • Client library with transports and OAuth helpers
  • Streamable HTTP and stdio transports
  • Middleware packages for Express, Fastify, Hono and Node.js HTTP
  • Schemas via Standard Schema (Zod v4, Valibot, ArkType)
  • Runs on Node.js, Bun and Deno

How to use it

Before you start

  • Node.js, Bun or Deno
Server package
npm install @modelcontextprotocol/server
Client package
npm install @modelcontextprotocol/client

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • v2 changed package names; v1.x (@modelcontextprotocol/sdk) is on a maintenance branch

Website tech stack

Hosting & CDN
Cloudflare, Vercel
Framework
Next.js
Docs platform
Mintlify

Detected on modelcontextprotocol.io on 25 Nov 2026. This describes the public website only; the product itself may use different technology.

Alternatives

Official Python SDK for building Model Context Protocol servers and clients, with an optional mcp CLI.

FreeOpen source

MCP servers for this

Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.

FreeOpen source

Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.

Free plan + paidOpen source

GitHub's official MCP server that lets AI agents work with repositories, issues, pull requests and Actions.

Free plan + paidOpen source

Skills for this

Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.

FreeOpen source

Vercel's collection of Agent Skills for React/Next.js performance, UI review, writing style and Vercel deploys.

FreeOpen source

Anthropic skill that has Claude test local web apps by writing Python Playwright scripts, with screenshots and browser logs.

FreeOpen source

Related resources

Observability platform for AI agents with session replays, execution graphs and LLM cost tracking.

Free plan + paid

Coding agent that runs each thread in a cloud sandbox, with a CLI, web, desktop and mobile apps.

Free plan + paid

Anthropic's Python and TypeScript library for building agents on the same tools and agent loop as Claude Code.

Free

Anthropic's agentic coding tool that works in your terminal, IDE, desktop app and on the web.

Paid

Type to search. Use ↑ ↓ and Enter.