typescript-sdk/packages/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felix Weinberger 55b1f06cd4
refactor(core): _wrapHandler hook so subclasses don't redeclare setRequestHandler (#1976)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-29 13:33:58 +01:00
..
src refactor(core): _wrapHandler hook so subclasses don't redeclare setRequestHandler (#1976) 2026-04-29 13:33:58 +01:00
test/client feat(client): support custom claims in PrivateKeyJwtProvider (#1875) 2026-04-14 10:33:53 +00:00
CHANGELOG.md Version Packages (alpha) (#1841) 2026-04-01 17:42:17 +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 fix(packages): add types/typesVersions for legacy moduleResolution: node (#1898) 2026-04-28 13:51:03 +00:00
README.md chore: enter alpha prerelease mode (#1823) 2026-03-31 17:03:33 +01:00
tsconfig.json fix(core): move @cfworker/json-schema out of main barrel into /validators/cf-worker subpath (#1897) 2026-04-28 12:40:18 +00:00
tsdown.config.ts fix(core): move @cfworker/json-schema out of main barrel into /validators/cf-worker subpath (#1897) 2026-04-28 12:40:18 +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
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