GitHubnpm
modelcontextprotocol/typescript-sdk
#20 of 50 in the AI Agent Index ↓ Download poster
63 Score
Observed adoptionCurrent · 2026-10-30 100
MomentumCurrent · 2026-10-29 29
AttentionCurrent · 2026-10-29 38
Signal confidence Based on how many independent score dimensions currently have data.
High3/3 · 2 source types
About
The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This TypeScript SDK implements the full MCP specification, making it easy to:
This SDK has a required peer dependency on zod for schema validation. The SDK internally imports from zod/v4, but maintains backwards compatibility with projects using Zod v3.25 or later. You can use either API in your code by importing from zod/v3 or zod/v4:
To see the SDK in action end-to-end, start from the runnable examples in src/examples:
This pair of examples demonstrates tools, resources, prompts, sampling, elicitation, tasks and…
Across sources
87.0M Downloads / week
- Downloads / week 87.0M
13.7k Stars
- Stars 13.7k
- Forks 2.4k
- Commits 1.7k
- Releases 201