| Filename | Latest commit message | Latest commit date |
|---|---|---|
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com> Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
| .. | ||
| src | ||
| test/server | ||
| CHANGELOG.md | ||
| eslint.config.mjs | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| typedoc.json | ||
| vitest.config.js | ||
@modelcontextprotocol/server
The MCP (Model Context Protocol) TypeScript server SDK. Build MCP servers that expose tools, resources, and prompts.
Warning
This is an alpha release. Expect breaking changes until v2 stabilizes. We're publishing early to gather feedback — please try it and open issues — but we can't guarantee API stability yet. We'll aim to minimize disruption between alphas.
Note
This is v2 of the MCP TypeScript SDK. It replaces the monolithic
@modelcontextprotocol/sdkpackage from v1. See the migration guide if you're coming from v1.
Install
npm install @modelcontextprotocol/server@alpha
Optional framework adapters: @modelcontextprotocol/express, @modelcontextprotocol/hono,
@modelcontextprotocol/node.
Documentation
- Repository README — overview, package layout, examples
- Server guide
- API reference
- MCP specification