Konstantin Konstantinov
2fd7f5ff26
v2: Web standards Request object in ctx (#1822 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 12:02:37 +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
Anthony
9bc9abc68b
Fix: Handle error responses in Streamable HTTP SSE streams ( #1390 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 11:53:52 +01:00
Felix Weinberger
fcde488227
chore: drop zod from peerDependencies (kept as direct dependency) ( #1824 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-31 08:40:40 +03:00
Felix Weinberger
89fb0947b4
fix(core): consolidate per-request cleanup in _requestWithSchema ( #1790 )
2026-03-30 21:46:14 +00:00
Felix Weinberger
d6a02c85c0
fix(core): ensure standardSchemaToJsonSchema emits type:object ( #1796 )
2026-03-30 20:41:23 +00:00
Luis Reche
a39a9eb485
test: add compile-time key-parity assertions for spec type checks ( #1652 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-30 20:20:44 +00:00
Matan Tsach
d99f3ee527
fix: continue OAuth metadata discovery on 5xx responses ( #1632 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
2026-03-30 19:11:19 +00:00
Felix Weinberger
045c62a1e0
feat!: remove WebSocketClientTransport ( #1783 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-30 21:58:26 +03:00
Zwifi
4aec5f7906
Private key jwt scopes ( #1443 )
2026-03-30 18:19:42 +00:00
Felix Weinberger
48aba0d3c3
fix(core): add explicit | undefined to Transport interface optional properties ( #1766 )
2026-03-30 18:41:17 +01:00
Wils Dawson
9d083923d5
SEP-2207: Refresh token guidance ( #1523 )
2026-03-30 18:11:55 +01:00
Felix Weinberger
6711ed9ae8
feat(client): add reconnectionScheduler to StreamableHTTPClientTransport ( #1763 )
...
Co-authored-by: CHOIJEWON <alsrn6040@kakao.com>
2026-03-30 14:02:20 +01:00
Felix Weinberger
527643966e
fix(stdio): always set windowsHide on Windows, not just in Electron ( #1772 )
...
Co-authored-by: jnMetaCode <147776183+jnMetaCode@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-30 13:56:11 +03: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
Kayra Berk Tuncer
905b1e5c1a
test(core): add unit tests for normalizeHeaders and createFetchWithInit ( #1374 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-27 18:22:21 +00:00
Felix Weinberger
64897f78ce
fix(stdio): skip non-JSON lines in ReadBuffer ( #1762 )
...
Co-authored-by: Sahar Shemesh <sahar.shemesh@zoominfo.com>
2026-03-27 13:32:51 +00:00
Felix Weinberger
a2e503733f
fix: abort in-flight request handlers on connection close ( #1735 )
...
Co-authored-by: Aljosa Asanovic <aljosa.a@gmail.com>
2026-03-27 13:23:44 +00:00
Felix Weinberger
01954e621a
fix: convert remaining capability throws to SdkError ( #1761 )
...
Co-authored-by: Matteo Gobbo <info@matteogobbo.it>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-26 23:47:07 +02:00
Ola Hungerford
379392d044
fix: add missing size field to ResourceSchema ( #1574 )
...
Co-authored-by: Ola Hungerford <olaservo@users.noreply.github.com>
2026-03-26 16:08:59 +00:00
kenzo
78bae7426d
fix(server): call onerror callback for all transport errors ( #1433 )
...
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:28:28 +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
不做了睡大觉
f1ade75b67
fix: handle EPIPE errors in StdioServerTransport to prevent process crash ( #1568 )
...
Co-authored-by: User <user@example.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:15:35 +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
Felix Weinberger
e563e63bd2
feat: introduce minimal AuthProvider interface with OAuthClientProvider adapter ( #1710 )
2026-03-25 13:09:16 +00:00
bhosmer-ant
13a0d345c0
Don't swallow fetch TypeError as CORS in non-browser environments ( #1595 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-03-25 10:45:59 +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
sagar-okta
ccb78f2043
Implement SEP-990 Enterprise Managed OAuth ( #1593 )
...
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2026-03-15 14:18:14 +00:00
Richard Adams
8cdb4bb402
rename 'validation' folder->'validators' ( #1340 )
...
Co-authored-by: richarda23 <richard.c.adams@infinityworks.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-03-12 18:41:16 +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
bhosmer-ant
ad4b2f9cac
Include requestInit options in GET SSE stream request ( #1592 )
...
Co-authored-by: De Wildt van Reenen <dewildt@labs.epiuse.com>
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-09 18:05:30 +00:00
Konstantin Konstantinov
4a7cdf4f2b
v2 fix: Update spec types to latest; replace AssertObjectSchema with proper JSON type schemas (#1612 )
2026-03-05 21:38:48 +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
Ramesh Reddy Adutla
1fe9eda4a7
Add jsonLimit option to createMcpExpressApp ( #1625 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-05 08:57:40 +02:00
Konstantin Konstantinov
f88c376c52
v2 refactor!: remove Zod schema parameter from public-facing APIs (#1606 )
2026-03-04 20:34:47 +02:00
Paul Carleton
1a78b0138f
feat: use scopes_supported from resource metadata by default (forward-port #757 ) ( #1614 )
...
Co-authored-by: Anthony Giniers <antogyn@gmail.com>
2026-03-02 17:13:59 +00:00
josef
69a062693f
remove references to npm, clean up package manager usage in workspaces ( #1534 )
...
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-03-02 12:13:44 +00:00
bhosmer-ant
9a8f37b366
Default to client_secret_basic when server omits token_endpoint_auth_methods_supported ( #1594 )
...
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-03-02 11:31:29 +00:00
Jonathan Hefner
1c4c77ae2c
Add JSDoc descriptions and @example blocks to Client public methods ( #1556 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-20 02:32:44 +00:00
Jonathan Hefner
2b620d794e
fix: resolve TypeDoc warnings from directory-pointing relative links ( #1546 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-17 23:25:54 +00:00
Jonathan Hefner
284a4135f2
Dissolve capabilities.md into server.md and client.md ( #1532 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-17 23:23:23 +00:00
Felix Weinberger
dc896e198b
feat: expose discoverOAuthServerInfo() and add provider caching for auth server URL ( #1527 )
...
Co-authored-by: hassan123789 <49031989+hassan123789@users.noreply.github.com>
2026-02-13 17:55:12 +00:00
Jonathan Hefner
c9ac842309
Add JSDoc @example tags with companion .examples.ts files ( #1524 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 17:42:40 +00:00
Jonathan Hefner
55857a8f05
ci: add TypeDoc validation to check:all with treatWarningsAsErrors ( #1522 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 17:36:37 +00:00
Jonathan Hefner
553d6d4a0d
Add sync-snippets script for type-checked examples ( #1487 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 16:30:49 +00:00
Jonathan Hefner
42b335953a
Add code reference links and backticks to JSDoc comments ( #1484 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-02-11 16:40:32 -06: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