typescript-sdk/packages/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Konstantin Konstantinov 424cbaeee1
v2 tsdown fix (#1840)
2026-04-01 17:34:06 +01:00
..
src fix(core): make fromJsonSchema() use runtime-aware default validator … (#1825) 2026-03-31 12:06:08 +01:00
test/client Fix: Handle error responses in Streamable HTTP SSE streams (#1390) 2026-03-31 11:53:52 +01:00
CHANGELOG.md Version Packages (alpha) (#1420) 2026-04-01 14:12:33 +01: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 Version Packages (alpha) (#1420) 2026-04-01 14:12:33 +01: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 v2 tsdown fix (#1840) 2026-04-01 17:34:06 +01: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
vitest.setup.js [v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279) 2025-12-19 14:19:02 +01:00

@modelcontextprotocol/client

The MCP (Model Context Protocol) TypeScript client SDK. Build MCP clients that connect to MCP servers.

[!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/client@alpha

Documentation