Commit graph

1,468 commits

Author SHA1 Message Date
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
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
9efecc27ff
ci: format fetch-spec-types output with prettier (#1782) 2026-03-30 17:50:41 +00:00
Felix Weinberger
d0505c190e
chore(v2): pnpm audit fix (#1789) 2026-03-30 17:43:40 +00:00
Felix Weinberger
48aba0d3c3
fix(core): add explicit | undefined to Transport interface optional properties (#1766) 2026-03-30 18:41:17 +01:00
Felix Weinberger
9d924b1550
docs: note type vs interface for structuredContent (#1784) 2026-03-30 17:27:34 +00: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
dependabot[bot]
cc9c9d19a1
chore(deps): bump pnpm/action-setup from 4.3.0 to 5.0.0 (#1794)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 19:58:57 +00:00
dependabot[bot]
7595bd09ba
chore(deps): bump actions/deploy-pages from 4 to 5 (#1792)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 19:38:55 +00:00
dependabot[bot]
1eb8a52946
chore(deps): bump actions/upload-pages-artifact from 3 to 4 (#1793)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 19:36:19 +00:00
dependabot[bot]
d3543c760d
chore(deps): bump actions/configure-pages from 5 to 6 (#1791)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 19:33:57 +00:00
Koichi ITO
42072eebab
Enable Dependabot for GitHub Actions (#1436)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-27 18:32:10 +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
Konstantin Konstantinov
cce3ac7512
v2: pin workflow versions to commit SHAs (#1781)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-27 13:58:37 +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
Konstantin Konstantinov
5516c1ba66
chore: add instructions docs (#1778) 2026-03-27 12:19:32 +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