Commit graph typescript-sdk/examples
Author SHA1 Message Date
Sam Morrow
6032170087
feat(server): add request-time OAuth scope challenges (#1624)
Some checks failed
Conformance Tests / client-conformance (push) Has been cancelled
Conformance Tests / server-conformance (push) Has been cancelled
Deploy Docs / deploy-docs (push) Has been cancelled
Examples / examples (build + e2e) (push) Has been cancelled
/ build (push) Has been cancelled
/ test (20) (push) Has been cancelled
/ test (22) (push) Has been cancelled
/ test (24) (push) Has been cancelled
/ test-e2e (20) (push) Has been cancelled
/ test-e2e (22) (push) Has been cancelled
/ test-e2e (24) (push) Has been cancelled
/ test-runtimes (bun, 1.x) (push) Has been cancelled
/ test-runtimes (deno, v2.x) (push) Has been cancelled
Publish Any Commit / pkg-publish (push) Has been cancelled
Release / Version (push) Has been cancelled
Release / Publish (push) Has been cancelled
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-09-16 16:51:56 +00:00
Felix Weinberger
a81ef34ac1
docs: client log levels, elicitation completion notification; drive json-schema-2020-12-preservation on the alpha.11 referee (#2686) 2026-08-18 15:56:55 +01:00
Felix Weinberger
68523682fd
docs: cover tool content types, prompt image content, elicitation defaults, ping, legacy SSE serving (#2679) 2026-08-18 13:42:45 +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
f4137630c0
Align 2026-07-28 wire with spec PR #3002: serverInfo in result _meta, clientInfo optional (#2513) 2026-07-20 16:09:55 +01:00
Felix Weinberger
f60dff0674
feat(client): accept a cached era verdict on ConnectOptions.prior (#2511) 2026-07-17 17:25:02 +01:00
Felix Weinberger
5db6e38f2b
refactor(client): response cache stores serialized documents; drop structuredClone (#2468) 2026-07-13 17:39:41 +01:00
Felix Weinberger
8e1d2e92b1
refactor: move the schema source modules into @modelcontextprotocol/core (#2477) 2026-07-13 17:19:58 +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
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
Felix Weinberger
7015d2129b
examples: web-standard twin of the bearer-auth story (#2424) 2026-07-06 19:58:41 +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
Felix Weinberger
7635115d01
feat(server): runtime-neutral requireBearerAuth for web-standard hosts (#2420) 2026-07-02 19:35:21 +01:00
Felix Weinberger
ddf6cc1d73
docs(servers): document resources/subscribe serving; exercise subscriptions in the resources example (#2413) 2026-07-02 14:18:25 +01:00
Felix Weinberger
1ea960b5bb
chore(examples): bump better-auth to ^1.6.2 (#2415) 2026-07-02 13:16:52 +01:00
Felix Weinberger
eacf2e5dbe
Add --protocol-version flag to cli-client example (#2406) 2026-07-02 13:12:49 +01:00
Felix Weinberger
a4002596b9
chore: enter beta prerelease mode (#2402) 2026-06-30 23:05:07 +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
6cc7b1cb66
feat(node): export toWebRequest(), the IncomingMessage→Request conversion inside toNodeHandler (#2390) 2026-06-30 11:47:44 +01:00
Felix Weinberger
199a28e9e2
docs: correctness and coverage pass for the 2026-07-28 revision (#2389) 2026-06-29 18:44:25 +01:00
Felix Weinberger
49aeb8eb38
docs(server,examples): document extension capabilities with a runnable example (#2387) 2026-06-29 17:02:22 +01: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
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
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
Konstantin Konstantinov
c59dc3aa1a
feat(server): expose icons on registerTool/registerPrompt (McpServer) (#2353) 2026-06-23 23:40:41 +03: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
Felix Weinberger
c8d7401b46
[SEP-2663] refactor!: remove 2025-11 experimental tasks (#2128) 2026-06-02 12:04:18 +00:00
Konstantin Konstantinov
e03bca90c1
v2 backcompat: server legacy package (#2206)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-01 14:33:32 +00:00
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