Konstantin Konstantinov
5fc42e9be1
fix README.md badges and blockquote icon ( #2022 )
...
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-05-22 13:49:17 +03:00
Konstantin Konstantinov
48251fe2cb
feat: add v2 codemod draft ( #1950 )
2026-05-21 14:13:33 +01:00
Konstantin Konstantinov
4f226c1e35
v2 backwards compat: SdkError status code ( #2049 )
2026-05-21 08:09:32 +03:00
Konstantin Konstantinov
22595b9685
v2 backwards compat: specTypeSchema exported - synchronous StandardSchemaV1 (#2047 )
2026-05-15 16:51:48 +03:00
Christian Sidak
2c0c481cb9
fix: add | undefined to transport option callbacks for exactOptionalPropertyTypes ( #1855 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-04 02:12:25 +01:00
Felix Weinberger
4fbcfcd176
refactor(specTypeSchema): drop as unknown as casts; add allowlist drift guard ( #1993 )
2026-04-30 16:03:09 +03:00
Felix Weinberger
96db044fe9
feat(core): add isSpecType / specTypeSchemas Records for runtime validation of spec types ( #1887 )
2026-04-30 13:16:23 +01: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
e15a8ef3be
feat(compat): registerTool/registerPrompt accept raw Zod shape, auto-wrap with z.object() ( #1901 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-29 16:34:01 +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
55b1f06cd4
refactor(core): _wrapHandler hook so subclasses don't redeclare setRequestHandler ( #1976 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-29 13:33:58 +01:00
Felix Weinberger
7cccc2aca8
feat(express): restore Resource-Server auth glue (requireBearerAuth, mcpAuthMetadataRouter) ( #1907 )
2026-04-28 14:18:33 +00:00
Felix Weinberger
2a7611d46b
fix(packages): add types/typesVersions for legacy moduleResolution: node ( #1898 )
2026-04-28 13:51:03 +00:00
Felix Weinberger
5433f40597
fix(node): make hono an optional peer dependency ( #1896 )
2026-04-28 13:47:38 +00: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
Felix Weinberger
b256546750
fix(core): fall back to z.toJSONSchema for zod schemas without ~standard.jsonSchema ( #1895 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-28 12:37:08 +00:00
Felix Weinberger
42cb6b2b72
feat(compat): export InMemoryTransport from public API surface ( #1834 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-27 13:24:05 +01:00
Jonathan Hefner
7d7e62ccc8
Update README.md and docs/faq.md to link full quickstart guides ( #1554 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 19:42:15 +01: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]
b8886e77f6
chore: update spec.types.ts from upstream ( #1888 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-16 12:43:08 +01:00
Yusufhan Saçak
9ed62fe7d8
feat(client): support custom claims in PrivateKeyJwtProvider ( #1875 )
2026-04-14 10:33:53 +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
Felix Weinberger
595652ceca
chore(ci): switch publish to OIDC trusted publishing ( #1838 )
2026-04-13 14:16:30 +00:00
Felix Weinberger
b65eb0939f
ci: only match open PRs in spec-sync existence check ( #1886 )
2026-04-13 14:13:17 +00:00
Felix Weinberger
d4f802ef39
docs: seed initial review rules for automated code review ( #1867 )
2026-04-13 15:10:46 +01:00
Felix Weinberger
169366828c
ci: skip lefthook on spec-sync bot push ( #1866 )
2026-04-13 12:35:38 +00:00
Konstantin Konstantinov
1eb80c4d08
v2: add guard methods (#1842 )
2026-04-11 16:29:13 +03:00
Konstantin Konstantinov
7ba58dac51
v2: cf workers fix (#1843 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-04-04 08:40:45 +03:00
Clay
df4b6cc88d
fix: prevent stack overflow in transport close with re-entrancy guard ( #1788 )
...
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-04-02 12:59:31 +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
Niels Kaspers
1eb31236e7
fix(client): preserve custom Accept headers in StreamableHTTPClientTransport ( #1655 )
...
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-04-02 13:52:53 +01:00
Felix Weinberger
866c08d364
fix(core): allow additional JSON Schema properties in elicitInput requestedSchema ( #1768 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-02 12:49:58 +01:00
github-actions[bot]
0021561942
Version Packages (alpha) ( #1841 )
...
@modelcontextprotocol/client@2.0.0-alpha.2
@modelcontextprotocol/express@2.0.0-alpha.2
@modelcontextprotocol/fastify@2.0.0-alpha.2
@modelcontextprotocol/hono@2.0.0-alpha.2
@modelcontextprotocol/node@2.0.0-alpha.2
@modelcontextprotocol/server@2.0.0-alpha.2
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-01 17:42:17 +01:00
Konstantin Konstantinov
424cbaeee1
v2 tsdown fix ( #1840 )
2026-04-01 17:34:06 +01:00
Felix Weinberger
53fb84bd04
fix(ci): split release.yml into version + publish jobs ( #1836 )
@modelcontextprotocol/client@2.0.0-alpha.1
@modelcontextprotocol/express@2.0.0-alpha.1
@modelcontextprotocol/fastify@2.0.0-alpha.1
@modelcontextprotocol/hono@2.0.0-alpha.1
@modelcontextprotocol/node@2.0.0-alpha.1
@modelcontextprotocol/server@2.0.0-alpha.1
2026-04-01 14:36:07 +01: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
Felix Weinberger
38d6cd23b6
chore(fastify): remove stray packageManager field from subpackage ( #1833 )
2026-04-01 13:30:29 +01:00
Felix Weinberger
babaa5065d
chore(ci): remove dead publish job from main.yml ( #1829 )
2026-03-31 16:45:56 +00:00
Luis Reche
689148dc72
fix(server): propagate negotiated protocol version to transport ( #1660 )
...
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 16:27:40 +00:00
Felix Weinberger
0fabc27742
chore: enter alpha prerelease mode ( #1823 )
2026-03-31 17:03:33 +01:00
Andy Fleming
81e4b2a412
Adds Fastify Middleware for v2 ( #1536 )
...
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 13:51:14 +00: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
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
8822c96315
fix(examples): return 404 for unknown session IDs, 400 for missing ( #1770 )
2026-03-30 21:00:11 +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