typescript-sdk/packages/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Luis Reche 689148dc72
fix(server): propagate negotiated protocol version to transport (#1660)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 16:27:40 +00:00
..
src fix(server): propagate negotiated protocol version to transport (#1660) 2026-03-31 16:27:40 +00:00
test/server fix(server): propagate negotiated protocol version to transport (#1660) 2026-03-31 16:27:40 +00:00
eslint.config.mjs [v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279) 2025-12-19 14:19:02 +01:00
package.json chore: drop zod from peerDependencies (kept as direct dependency) (#1824) 2026-03-31 08:40:40 +03:00
README.md chore: enter alpha prerelease mode (#1823) 2026-03-31 17:03:33 +01:00
tsconfig.json v2: limit public exports (#1680) 2026-03-25 20:25:01 +00:00
tsdown.config.ts feat: auto-select JSON Schema validator based on runtime (#1456) 2026-02-03 19:22:39 +00:00
typedoc.json Add API documentation with GitHub Pages deployment (#1109) 2026-01-20 17:22:24 +02:00
vitest.config.js [v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279) 2025-12-19 14:19:02 +01:00

@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/sdk package 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