Commit graph typescript-sdk/packages/client
Author SHA1 Message Date
sanjibani
b65426158e
fix(client): let OAuth-derived Authorization override caller-supplied header (#2475)
Signed-off-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
2026-09-11 10:35:43 +03:00
Hugo Moreira
5119ee7fd7
fix: preserve exact OAuth resource indicators (#2581)
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
2026-09-03 19:36:13 +03:00
LuckTerence
6fa42279fe
fix(client): surface underlying network error via Error.cause on probe failures (#2657) (#2726)
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-09-03 17:32:08 +03:00
Bhavani Shankar Garikapati
dcc01028ff
feat(client): add DPoP (RFC 9449) sender-constrained token support (#2629)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 18:00:18 +01:00
James Carman
70de0c8b56
fix: mirror params.taskId into Mcp-Name for tasks requests (SEP-2663) (#2613)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-08-28 19:23:49 +03:00
Sai Asish Y
3924de99df
fix(client/auth): propagate saveTokens errors after refresh (#2053)
Signed-off-by: SAY-5 <say.apm35@gmail.com>
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
2026-08-18 22:09:20 +03:00
github-actions[bot]
cc4b41617c
Version Packages (#2555)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-28 00:52:57 +01:00
Felix Weinberger
faa7e2b470
fix(client): treat HTTP 401/403 on the negotiation probe as auth failures, not legacy evidence (#2564) 2026-07-28 00:41:02 +01:00
Felix Weinberger
a9835b4149
docs: comprehensive GA pass — stable-release wording, released-spec links, install tags (#2566) 2026-07-27 23:32:17 +01:00
github-actions[bot]
1e1392e3f9
Version Packages (beta) (#2512)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-21 14:34:35 +01:00
Felix Weinberger
6fe196310d
fix(client): probe stdio servers on a disposable sibling process (#2514) 2026-07-21 13:07:12 +01:00
Felix Weinberger
f4137630c0
Align 2026-07-28 wire with spec PR #3002: serverInfo in result _meta, clientInfo optional (#2513) 2026-07-20 16:09:55 +01:00
Felix Weinberger
f60dff0674
feat(client): accept a cached era verdict on ConnectOptions.prior (#2511) 2026-07-17 17:25:02 +01:00
Felix Weinberger
1480241e2a
Export Protocol and mergeCapabilities from client/server package roots (#2501) 2026-07-17 14:37:31 +01:00
github-actions[bot]
e81758caed
Version Packages (beta) (#2484)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-13 18:38:22 +01:00
Felix Weinberger
5db6e38f2b
refactor(client): response cache stores serialized documents; drop structuredClone (#2468) 2026-07-13 17:39:41 +01:00
Felix Weinberger
3f07a325c6
perf: add preloadSchemas() and warm wire schemas eagerly on workerd (#2483) 2026-07-13 17:27:22 +01:00
Felix Weinberger
8e1d2e92b1
refactor: move the schema source modules into @modelcontextprotocol/core (#2477) 2026-07-13 17:19:58 +01:00
github-actions[bot]
95d28cbae9
Version Packages (beta) (#2471)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-09 14:35:52 +01:00
Felix Weinberger
9b41b5685d
fix(client): initialize requests never carry a session id; capture only from the initialize response (#2469) 2026-07-09 14:28:19 +01:00
Felix Weinberger
cc70c5e6a9
fix(client): preserve pre-set transport handlers across the version-negotiation probe window (#2455) 2026-07-07 15:09:41 +01:00
Felix Weinberger
561c6d8345
fix(server): validate Content-Type by parsed media type instead of substring match (#2441) 2026-07-06 20:29:58 +01:00
Sehlani042
e8de519d31
fix: keep validator providers off root declarations (#2425)
Co-authored-by: Sehlani042 <257166922+Sehlani042@users.noreply.github.com>
2026-07-06 19:34:24 +01:00
Felix Weinberger
d2f1bed893
Fix import ordering in client auth (#2442) 2026-07-06 19:24:13 +01:00
Felix Weinberger
ce2f65db0e
fix(core): make instanceof on SDK error classes work across bundled copies (#2384) 2026-07-06 15:53:12 +01:00
morluto
1b90c96d11
fix(packaging): expose Ajv from CJS validator subpaths (#2431) 2026-07-06 15:00:16 +01:00
github-actions[bot]
35f6856a17
Version Packages (beta) (#2416)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-02 13:26:04 +01:00
Matt
f172626a8e
feat(packaging): ship CommonJS builds alongside ESM for v2 packages (#2405) 2026-07-01 19:40:37 +03:00
github-actions[bot]
2dcf10bea5
Version Packages (beta) (#2404)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-30 23:42:35 +01:00
Felix Weinberger
a4002596b9
chore: enter beta prerelease mode (#2402) 2026-06-30 23:05:07 +01:00
github-actions[bot]
e7137a7031
Version Packages (alpha) (#2375)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-06-30 21:57:31 +01:00
Felix Weinberger
b153505428
docs: rebuild the v2 documentation around a task-based page tree (#2397) 2026-06-30 21:18:42 +01:00
Felix Weinberger
801111ea15
fix(packaging): inline the fast-uri URIComponent type; drop stale typesVersions (#2394) 2026-06-30 15:47:59 +01:00
Felix Weinberger
1823aae891
Implement MCP 2026-07-28 (#2286)
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>
2026-06-26 14:01:10 +01:00
github-actions[bot]
e4227d135c
Version Packages (alpha) (#1845)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-25 20:44:33 +01:00
Konstantin Konstantinov
0fb8406d83
v2: codemod iterations, canonical zod schema exports from sdk-shared (#2354)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-06-25 19:42:44 +01:00
Matt
7ea6fde1b6
test(client): cover refresh retry after invalid token 401 (#2367)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-25 13:59:30 +01:00
Matt
ee732d64b6
chore: switch to module ESNext + moduleResolution bundler (#2095) 2026-06-25 11:49:17 +01:00
Matt
e84c3e9ad0
fix(server,client): non-SEP draft spec conformance (eager list handlers, pagination docs, path-sanitization note) (#2269)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-15 12:25:35 +00:00
Matt
49c0a711c8
feat: deprecate roots, sampling, and logging runtime APIs (SEP-2577) (#2268)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-15 12:19:45 +00:00
Konstantin Konstantinov
542d5c9586
v2: SdkError tests + codemod (#2137) 2026-06-10 20:15:15 +03:00
Konstantin Konstantinov
1b53a415ea
Port of #2239 (v1.x) to v2 (#2275) 2026-06-10 20:14:36 +03:00
Felix Weinberger
c8d7401b46
[SEP-2663] refactor!: remove 2025-11 experimental tasks (#2128) 2026-06-02 12:04:18 +00:00
Matt
16d13abf78
feat(client,server): bundle default validators, expose customisation via subpaths (#2088) 2026-05-29 21:39:32 +03:00
Konstantin Konstantinov
5fc42e9be1
fix README.md badges and blockquote icon (#2022)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-05-22 13:49:17 +03:00
Konstantin Konstantinov
4f226c1e35
v2 backwards compat: SdkError status code (#2049) 2026-05-21 08:09:32 +03:00
Felix Weinberger
db83829c5b
feat(core): custom-method support (3-arg setRequestHandler + request schema overload) (#1974) 2026-04-29 16:38:18 +01:00
Felix Weinberger
9fc9070b7b
refactor(client,server): move stdio transports to ./stdio subpath export (#1871)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-29 14:48:36 +01:00
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
Felix Weinberger
2a7611d46b
fix(packages): add types/typesVersions for legacy moduleResolution: node (#1898) 2026-04-28 13:51:03 +00:00