Commit graph typescript-sdk/test/integration
Author SHA1 Message Date
David Pavlovschii
75dc7ea6e2
fix(server): reject a modern POST without the required MCP-Protocol-Version header (#2590)
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-08-17 09:31:47 +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
f130e1ac5f
fix(validators): honor declared draft-07/06 JSON Schema dialects instead of rejecting them (#2534) 2026-07-27 16:11:06 +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
8e1d2e92b1
refactor: move the schema source modules into @modelcontextprotocol/core (#2477) 2026-07-13 17:19:58 +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
7e697354de
fix(server): return Invalid Params for malformed resource URIs (#2451) 2026-07-07 13:48:48 +01:00
Felix Weinberger
a4002596b9
chore: enter beta prerelease mode (#2402) 2026-06-30 23:05:07 +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
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
ee732d64b6
chore: switch to module ESNext + moduleResolution bundler (#2095) 2026-06-25 11:49:17 +01:00
Felix Weinberger
5e0249f57f
test(integration): stop the cloudflare workers test from rewriting workspace dist mid-suite (#2307) 2026-06-16 13:53:22 +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
Felix Weinberger
1110a0c904
test(integration): fix cloudflare workers test leaking workerd processes (#2296) 2026-06-15 08:56:30 +00: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
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
434b2f11ec
fix(core): move @cfworker/json-schema out of main barrel into /validators/cf-worker subpath (#1897) 2026-04-28 12:40:18 +00:00
Christian Sidak
bdfd7f0154
fix: retrieve stored result from tasks/result for failed tasks (#1930)
Co-authored-by: Christian-Sidak <csidak@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
2026-04-20 14:56:04 +03:00
github-actions[bot]
54fa96e7b5
Version Packages (alpha) (#1420)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-01 14:12:33 +01:00
Konstantin Konstantinov
5f32a90f0d
fix(core): make fromJsonSchema() use runtime-aware default validator … (#1825)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 12:06:08 +01:00
Tapan Chugh
f73a5af4bc
Add _meta support to registerPrompt (#1629)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 10:56:30 +00:00
Konstantin Konstantinov
e86b1835cc
[v2] Minor task-related refactors (#1758)
Co-authored-by: Luca Chang <lucalc@amazon.com>
Co-authored-by: Luca Chang <131398524+LucaButBoring@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-27 20:25:06 +00:00
Konstantin Konstantinov
0ed723748b
v2: limit public exports (#1680)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:25:01 +00:00
Konstantin Konstantinov
462c3fc47d
v2 - RFC Extract Tasks out of protocol.ts into TaskManager (#1673)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-03-25 19:58:01 +00:00
Tapan Chugh
677511b5a7
Allow servers / clients to advertise extensions in the capability object (#1630)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 00:37:05 +00:00
Konstantin Konstantinov
a7c7896a56
Remove prefix on over-the-wire ProtocolErrors (#1727)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-23 17:46:32 +02:00
bhosmer-ant
72fe68b266
Restore negotiated protocol version on reconnection transport (#1591)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-23 14:58:13 +00:00
Felix Weinberger
0784be1a67
feat: support Standard Schema for tool/prompt schemas (#1689)
Co-authored-by: Matt Carey <mcarey@cloudflare.com>
2026-03-23 14:44:38 +00:00
Anthony
108f2f3ab6
fix: correct error handling for unknown tools and resources (#1389)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-09 18:17:09 +00:00
Konstantin Konstantinov
049f26ef53
v2 ci: add Bun and Deno integration tests (#1607)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 21:38:17 +02:00
Giulio Leone
26c7242d67
fix: registerCapabilities registers logging/setLevel handler (#1605)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-05 11:28:32 +02:00
Konstantin Konstantinov
5a2c8a69c9
v2 flaky test fix (#1616) 2026-03-05 00:55:02 +02:00
Konstantin Konstantinov
f88c376c52
v2 refactor!: remove Zod schema parameter from public-facing APIs (#1606) 2026-03-04 20:34:47 +02:00
Luca Chang
91f6a277c4
feat: add streaming methods for elicitation and sampling (#1210)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-02-11 17:14:58 +02:00
Matt
8654c7fd3a
Fix: Respect explicit listChanged: false capability setting (#1513) 2026-02-10 11:24:47 +01:00
Felix Weinberger
7bb79ebbbb
refactor: replace RequestHandlerExtra with structured context types (#1467) 2026-02-03 20:35:02 +00:00
Matt
be5670f4fa
feat!: drop Zod v3 support (#1460) 2026-02-03 19:48:08 +00:00
Matt
bc883afe3c
feat: auto-select JSON Schema validator based on runtime (#1456) 2026-02-03 19:22:39 +00:00
Konstantin Konstantinov
0f0a4eb7c8
v2: Errors refactor (ProtocolError, SdkError, OAuthError) (#1454) 2026-02-03 18:41:22 +02:00
Matt
f6e8204b86
fix: replace schema-based handlers with string method names (#1446) 2026-02-02 23:57:07 +00:00
Peder Holdgaard Pedersen
00249ce86d
feat(client): return empty lists when server lacks capability (#1386)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-01-26 15:44:21 +00:00
Christopher Tso
4b5fdcba02
fix: handle OAuth error responses returned with HTTP 200 status (#1343)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-01-26 15:13:34 +00:00
suram
b2326afea6
fix(server): handle undefined arguments for tools with all optional params (#1404)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-01-23 18:36:40 +00:00
Konstantin Konstantinov
dcf708d892
v2 - clean deprecated methods and exports (#1419)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-01-23 16:39:14 +00:00
Konstantin Konstantinov
9fc7e28f48
v2 ESlint fixes (#1403)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-01-20 12:21:53 +00:00
Ola Hungerford
2edbe8c82e
Use correct schema for client sampling validation when tools are present (#1347)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
2026-01-19 16:40:59 +00:00
Konstantin Konstantinov
f495077e08
[v2] Decouple server from express and hono - http framework-agnostic MCP server (#1326) 2026-01-16 12:13:25 +02:00