Commit graph typescript-sdk/packages
Author SHA1 Message Date
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
Jonathan Hefner
7778c74e1f
docs: fix grammar, typos, and style in JSDoc comments (#1491)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 23:51:06 +00:00
Jonathan Hefner
efed431843
docs: add {@link} and @see tags to JSDoc comments (#1490)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 23:49:23 +00:00
Jonathan Hefner
64fb21d7a7
docs: add missing code fences to JSDoc @example blocks (#1485)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 23:45:22 +00:00
Corvid Agent
327243cebd
fix: add missing hono peer dependency to @modelcontextprotocol/node (#1504)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-02-10 10:28:39 +00:00
Matt
8654c7fd3a
Fix: Respect explicit listChanged: false capability setting (#1513) 2026-02-10 11:24:47 +01:00
Den Delimarsky
65bbceab77
Fix cross-session task leakage (#1486) 2026-02-06 15:47:17 +00:00
Felix Weinberger
faeb03ec17
[RFC] refactor: remove vestigial generic type parameters from Protocol, Server, and Client (#1451) 2026-02-03 20:55:32 +00: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
160902eb2e
feat: allow overriding protocol versions in Client, Server, and Transport (#1448)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:59:12 +00: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
bf6f16c8be
eslint fixes in tests (#1418) 2026-01-22 12:26:48 +00:00
Jonathan Hefner
25f288be1b
Add API documentation with GitHub Pages deployment (#1109)
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
2026-01-20 17:22:24 +02: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
Matt
9296459ac0
fix: prevent Hono from overriding global Response object (#1410) 2026-01-20 12:17:19 +01:00
Matt
f66a55b5f4
Revert "fix(server): application/json header for notifictions" (#1388) 2026-01-20 10:56:17 +00:00
Konstantin Konstantinov
40f6ba7a19
[v2] move to Headers object (#1327)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-01-20 10:30:57 +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
8bf13e4569
flaky test fix (#1392) 2026-01-16 12:48:51 +02: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
Matt
8b6e455c79
fix(server): application/json header for notifictions (#1373) 2026-01-09 13:29:32 +00:00
Grimmer Kang
09a658b1c3
fix(client): replace body.cancel() with text() to prevent hanging (#1320)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-01-09 11:38:54 +00:00
Janderson Lira
0a75810b26
fix: prevent ReDoS vulnerability in UriTemplate regex patterns (#1363)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2026-01-07 12:17:21 +00:00
toda
6b4d99f10b
test: use toStrictEqual instead of toEqual in in-memory tests (#1330) 2025-12-23 09:32:31 +02:00
Felix Weinberger
8a1b457361
fix: v2 follow-up improvements (#1318) 2025-12-19 16:46:21 +02:00
Konstantin Konstantinov
71ae3acee0
[v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279) 2025-12-19 14:19:02 +01:00
Justin Spahr-Summers
9a1ee2962e
Remove mcp-spec subtree
Will update the schema manually going forward.
2024-10-02 14:10:02 +01:00