Commit graph typescript-sdk/packages
Author SHA1 Message Date
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
Felix Weinberger
7c49b47fb3
perf: construct the default Ajv engine lazily on first validation (#2458) 2026-07-13 17:09:06 +01:00
Felix Weinberger
e0a0ab74d9
perf: build era wire schemas lazily through memoized factories (#2476) 2026-07-13 17:03:47 +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
44797d7779
fix(core): restore the v1 content default for tools/call results on the legacy era (#2456) 2026-07-09 14:02:08 +01:00
Felix Weinberger
3834921074
fix: convert elicitation Standard Schemas via an explicit wire-grammar walk (#2454) 2026-07-09 12:30:57 +01:00
Matt
24be4040d4
feat(server): accept Standard Schemas in inputRequired.elicit (#2369)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-07-09 11:04:16 +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
Matt
0ab5d1471d
fix(server): trim OWS from standard MCP headers (#2453) 2026-07-07 13:22:45 +00:00
Matt
7e697354de
fix(server): return Invalid Params for malformed resource URIs (#2451) 2026-07-07 13:48:48 +01:00
Felix Weinberger
78fabea445
Use protected HTTP wiring in examples and guides (#2445) 2026-07-06 21:03:15 +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
61866d7a5f
feat(server): runtime-neutral OAuth discovery serving for web-standard hosts (#2422) 2026-07-06 18:02:06 +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
Felix Weinberger
7635115d01
feat(server): runtime-neutral requireBearerAuth for web-standard hosts (#2420) 2026-07-02 19:35:21 +01:00
Felix Weinberger
79dc162efc
Read codemod target versions from workspace manifests at build time (#2419) 2026-07-02 16:01:32 +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
Felix Weinberger
3c7ddafa05
test(conformance): bump referee to 0.2.0-alpha.9; arm SEP-2575 diagnostic fixtures; fix post-dispatch -32021 HTTP status (#2399) 2026-07-02 13:17:08 +01:00
Konstantin Konstantinov
1772473b76
codemod iterations 5 (#2398) 2026-07-02 00:34:43 +03: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
732abe0ac4
docs: replace the typedoc site with VitePress (v2 + v1 reface) (#2395) 2026-06-30 16:03:19 +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
e4e8b22dff
feat(codemod): manifest handling overhaul and fixes from migrating sample dependents (#2393) 2026-06-30 15:01:07 +01:00
Felix Weinberger
6cc7b1cb66
feat(node): export toWebRequest(), the IncomingMessage→Request conversion inside toNodeHandler (#2390) 2026-06-30 11:47:44 +01:00
Konstantin Konstantinov
36055d5bbd
codemod iterations (#2386) 2026-06-29 20:16:37 +03:00
Felix Weinberger
f0bf785239
Serve input_required handlers on 2025-era connections via a legacy fulfilment shim (#2381) 2026-06-29 16:43:43 +01:00
Felix Weinberger
b96a94c6b1
docs(migration): close guide gaps surfaced by real v1-to-v2 migrations (#2382) 2026-06-29 15:16:07 +01:00
Felix Weinberger
9f8ba61279
fix(codemod): keep request() result schemas the call still needs (#2383) 2026-06-29 15:00:39 +01:00
Felix Weinberger
ba27d201e1
feat(examples): add a reference host/server pair — cli-client + todos-server (#2380) 2026-06-29 13:58:32 +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
Konstantin Konstantinov
c59dc3aa1a
feat(server): expose icons on registerTool/registerPrompt (McpServer) (#2353) 2026-06-23 23:40:41 +03:00
Felix Weinberger
6312f2a3ec
fix(middleware): stop bundling workspace type graphs into .d.ts (avoids dts-gen OOM) (#2339) 2026-06-23 10:26:49 +01:00
Matt
78fbe2736d
feat(core): reserved trace context _meta keys and propagation docs (SEP-414) (#2270)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-15 12:32:08 +00: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
Felix Weinberger
e8c7180109
fix(server): bound resumability version gates to supported versions, pin the unsupported-version rejection format (#2280) 2026-06-12 15:40:42 +01:00