Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Model Context Protocol SDK (JavaScript)

TypeScript SDK for building MCP servers and clients to extend AI agent capabilities.

Agent, MCP and tool libraries npm MIT

Used in agent projects
603
4.7% of 12,697 public repos built with AI coding agents
Rank in agent, mcp and tool libraries
#1 of 9
by use in those projects
Downloads
65.4M
npm, last 7 days, @modelcontextprotocol/sdk
GitHub stars
13.5K
last push Oct 8, 2026

How Model Context Protocol SDK (JavaScript) is used

Model Context Protocol SDK (JavaScript) is a dependency in 603 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (4.7%), #1 of 9 in agent, mcp and tool libraries. The most used alternative there is Model Context Protocol SDK (Python). Projects that use it most often also use Zod (69.8%), tsx (38.1%), TypeScript (80.6%). It is more common in projects set up for GitHub Copilot (9.9%) than for Devin Desktop (5.5%).

Often used with Model Context Protocol SDK (JavaScript)

Zod69.8% of Model Context Protocol SDK (JavaScript) projects · 4.1× more than average
tsx38.1% of Model Context Protocol SDK (JavaScript) projects · 3.8× more than average
TypeScript80.6% of Model Context Protocol SDK (JavaScript) projects
Vitest32.8% of Model Context Protocol SDK (JavaScript) projects · 2.7× more than average
dotenv28.9% of Model Context Protocol SDK (JavaScript) projects · 1.8× more than average
Express17.9% of Model Context Protocol SDK (JavaScript) projects · 2.8× more than average
esbuild10.1% of Model Context Protocol SDK (JavaScript) projects · 3.8× more than average
ESLint34.0% of Model Context Protocol SDK (JavaScript) projects

By coding agent

GitHub Copilot9.9% of projects set up for it
Claude Code7.7% of projects set up for it
Cursor7.5% of projects set up for it
OpenAI Codex8.9% of projects set up for it
Gemini CLI8.4% of projects set up for it
OpenCode7.8% of projects set up for it
Devin Desktop5.5% of projects set up for it
Kiro9.6% of projects set up for it

Share of public repos configured for each agent that list Model Context Protocol SDK (JavaScript) as a dependency.

Install

Packagenpm install @modelcontextprotocol/sdk
Packages counted@modelcontextprotocol/sdk, @modelcontextprotocol/server, @modelcontextprotocol/inspector, @modelcontextprotocol/client, @modelcontextprotocol/ext-apps, @modelcontextprotocol/server-filesystem, @modelcontextprotocol/node, @modelcontextprotocol/server-sequential-thinking
Main stacksTypeScript / JavaScript (508), Next.js (65), Python (20), Rust (5)
Example projectsapify/apify-mcp-server, getsentry/MobileBuildMCP, regenrek/deepwiki-mcp, ChenyCHENYU/Robot_Admin, miantiao-me/bm.md

Alternatives to Model Context Protocol SDK (JavaScript)

All agent, mcp and tool libraries

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Model Context Protocol SDK (Python) pypi
Python SDK for building MCP servers and clients to extend AI agent capabilities.
484 (3.8%) 60.6M 24.5K MIT
FastMCP (Python) pypi
Fast, Pythonic framework for building MCP servers and clients for AI tool integration.
169 (1.3%) 14.3M 28K —
LangChain (Python) pypi
Framework for composing applications with LLMs through chains and agents.
141 (1.1%) 37.3M 148K MIT
LangGraph pypi
Framework for building stateful, multi-actor applications with LLMs.
82 (0.6%) 12.1M 43K —
LangChain.js npm
Build applications with LLMs using composable abstractions for chains, agents and memory.
67 (0.5%) 6.2M 18.3K MIT
Mastra npm
Framework for building AI agents with tools, memory and MCP server support.
39 (0.3%) 2M 28.7K Apache-2.0
fastMCP (JavaScript) npm
TypeScript framework for building Model Context Protocol servers.
33 (0.3%) 709K 3,274 MIT
LangChain (JavaScript) npm
TypeScript framework for building applications with LLMs, chains, agents and memory.
30 (0.2%) 3.1M 18.3K MIT
Is Model Context Protocol SDK (JavaScript) right for your project? Ask AgentGid →