Commit graph typescript-sdk/examples
Author SHA1 Message Date
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
7cccc2aca8
feat(express): restore Resource-Server auth glue (requireBearerAuth, mcpAuthMetadataRouter) (#1907) 2026-04-28 14:18:33 +00:00
Luis Reche
6bec24a14c
fix: validate clientMetadataUrl at construction time (fail-fast) (#1653)
Co-authored-by: Luis <reche@Luiss-MacBook-Pro.local>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-04-14 10:17:01 +00:00
Jonathan Hefner
653c5d000c
Rewrite docs/server.md as a code-heavy, prose-light how-to guide (#1552)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 12:57:11 +00:00
Felix Weinberger
8822c96315
fix(examples): return 404 for unknown session IDs, 400 for missing (#1770) 2026-03-30 21:00:11 +00:00
Konstantin Konstantinov
5516c1ba66
chore: add instructions docs (#1778) 2026-03-27 12:19:32 +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
Felix Weinberger
e563e63bd2
feat: introduce minimal AuthProvider interface with OAuthClientProvider adapter (#1710) 2026-03-25 13:09:16 +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
Konstantin Konstantinov
4663a26f2a
v2 switch client examples to .callTool usage (#1628) 2026-03-05 11:25:06 +02:00
Konstantin Konstantinov
f88c376c52
v2 refactor!: remove Zod schema parameter from public-facing APIs (#1606) 2026-03-04 20:34:47 +02: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
Niels Kaspers
52186d1884
fix(examples): create fresh McpServer per client in three examples (#1610) 2026-03-02 10:49:56 +00:00
Den Delimarsky
c19dfd95b8
chore: Fix prettier issue (#1590) 2026-02-25 23:54:49 +00:00
Den Delimarsky
16b0fb80e4
fix: update doc links to custom domain and add project documents (#1589) 2026-02-25 15:44:57 -08:00
Max Isbey
0096e4a1d3
fix: prevent command injection in example URL opening (#1553)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-02-24 17:08:04 +00:00
Jonathan Hefner
c4ee360aac
Rewrite docs/client.md as a code-heavy, prose-light how-to guide (#1551)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-20 02:36:52 +00:00
Jonathan Hefner
d6dc0abde9
Import "Build an LLM-powered chatbot" quickstart guide (#1550)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-18 00:09:20 +00:00
Jonathan Hefner
6cd75c67ed
Import "Build a weather server" quickstart guide (#1549)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-18 00:06:12 +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
Jonathan Hefner
288eaf8c21
Add new sections and inline code snippets to docs/client.md (#1526)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 17:47:27 +00:00
Jonathan Hefner
20d5e4ea42
Overhaul docs/server.md to be a more complete, self-contained server guide (#1525)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 17:44:35 +00: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
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
Konstantin Konstantinov
b0ef89ffaf
v2: fix simpleStreamableHttp auth example for inspector connect flow (#1427)
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
Co-authored-by: Cliff Hall <cliff@futurescale.com>
2026-01-28 19:11:56 +02: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
Konstantin Konstantinov
f495077e08
[v2] Decouple server from express and hono - http framework-agnostic MCP server (#1326) 2026-01-16 12:13:25 +02:00
Konstantin Konstantinov
71ae3acee0
[v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279) 2025-12-19 14:19:02 +01:00