Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
457a3d2
fix: Throw registrationInformationRequired without a client ID
jeanmatthieu Nov 13, 2026
3d412ef
fix: Report refused authorization servers instead of missing metadata
jeanmatthieu Nov 13, 2026
d0d369f
fix: Don't warn about the content type of a 202 Accepted
jeanmatthieu Nov 13, 2026
4b8ed7e
oauth: second-pass review fixes (DPoP)
jeanmatthieu Nov 23, 2026
03785b1
fix: second-pass review fixes
jeanmatthieu Nov 23, 2026
0a51625
fix: third-pass review fixes
jeanmatthieu Nov 23, 2026
b94f8db
fix: fourth-pass review fixes
jeanmatthieu Nov 24, 2026
8864ff6
interop: matrix against the Go and Python SDKs
jeanmatthieu Oct 25, 2026
1abeca1
interop: review fixes
jeanmatthieu Nov 2, 2026
1d64122
interop: second-pass review fixes
jeanmatthieu Nov 23, 2026
b92b22d
interop: third-pass review fixes
jeanmatthieu Nov 24, 2026
7cfb3ee
release: 0.13.0
jeanmatthieu Oct 25, 2026
6bed974
release: review fixes
jeanmatthieu Nov 2, 2026
d126644
release: third-pass review fixes
jeanmatthieu Nov 24, 2026
26245c3
ci: one job list for GitHub Actions and Linux at the desk
jeanmatthieu Oct 25, 2026
669a380
ci: review fixes
jeanmatthieu Nov 2, 2026
ab49888
ci: third-pass review fixes
jeanmatthieu Nov 24, 2026
3b23e96
http: the same client on Linux and macOS
jeanmatthieu Oct 25, 2026
0810588
http: review fixes
jeanmatthieu Nov 2, 2026
0cc85d5
http: second-pass review fixes
jeanmatthieu Nov 23, 2026
c3113e4
http: take the GET stream's DPoP nonce retry from the authorizer
jeanmatthieu Nov 23, 2026
3217135
http: third-pass review fixes
jeanmatthieu Nov 24, 2026
a8c6b2b
api: an extensibility promise for every public enum
jeanmatthieu Oct 25, 2026
81cf167
api: review fixes
jeanmatthieu Nov 2, 2026
2ea587d
api: second-pass review fixes
jeanmatthieu Nov 23, 2026
f5361de
api: third-pass review fixes
jeanmatthieu Nov 24, 2026
1a9c434
api: the 1.0 rough edges
jeanmatthieu Oct 25, 2026
a08e316
api: review fixes
jeanmatthieu Nov 2, 2026
8fc13d7
api: second-pass review fixes
jeanmatthieu Nov 23, 2026
136fd09
docs: say the authorizer classifies a DPoP nonce retry
jeanmatthieu Nov 23, 2026
af2c01c
api: third-pass review fixes
jeanmatthieu Nov 24, 2026
9b0329e
ci: stability tooling for 1.x
jeanmatthieu Oct 25, 2026
78582fc
ci: review fixes
jeanmatthieu Nov 2, 2026
19bb5e5
ci: second-pass review fixes
jeanmatthieu Nov 23, 2026
5b61b01
server: reset the handshake state when the server stops
jeanmatthieu Nov 23, 2026
2bb29bb
server: answer nothing for a stopped connection
jeanmatthieu Nov 24, 2026
3875c20
ci: third-pass review fixes
jeanmatthieu Nov 24, 2026
6ee8bc1
release: prepare 1.0.0
jeanmatthieu Oct 25, 2026
aea59e3
release: review fixes
jeanmatthieu Nov 2, 2026
2239d43
release: second-pass review fixes
jeanmatthieu Nov 23, 2026
732c5f2
release: list Transport.send(_:additionalHeaders:) in the 1.0.0 features
jeanmatthieu Nov 23, 2026
76b2379
docs: HTTPClientAuthorizer's sentAuthorization variant returns HTTPCh…
jeanmatthieu Nov 23, 2026
43dd677
release: third-pass review fixes
jeanmatthieu Nov 24, 2026
74954e9
conformance: harness 0.2.0-alpha.12
jeanmatthieu Oct 27, 2026
ecaa04b
tasks: SEP-1686 and SEP-2663 on server and client
jeanmatthieu Oct 28, 2026
a08fd9f
tasks: review fixes
jeanmatthieu Nov 2, 2026
2b13e8f
tasks: second-pass review fixes
jeanmatthieu Nov 23, 2026
050807d
tasks: third-pass review fixes
jeanmatthieu Nov 24, 2026
9f743bd
skills: SEP-2640 on server and client
jeanmatthieu Oct 28, 2026
2913a8e
skills: review fixes
jeanmatthieu Nov 2, 2026
ae20461
skills: second round of review fixes
jeanmatthieu Nov 5, 2026
5d2c9de
skills: second-pass review fixes
jeanmatthieu Nov 23, 2026
b6cb899
skills: third-pass review fixes
jeanmatthieu Nov 24, 2026
7915af4
docs: SEP coverage
jeanmatthieu Oct 28, 2026
e886e35
sampling: tools in sampling requests (SEP-1577)
jeanmatthieu Oct 28, 2026
755f4a9
sampling: review fixes
jeanmatthieu Nov 2, 2026
ca6f02a
sampling: third-pass review fixes
jeanmatthieu Nov 24, 2026
31a5243
server: warn about server requests outside a client request (SEP-2260)
jeanmatthieu Oct 28, 2026
a6e309b
server: second-pass review fixes (SEP-2260)
jeanmatthieu Nov 23, 2026
fa41939
server: reset the SEP-2260 warnings when the server stops
jeanmatthieu Nov 23, 2026
9d9a873
server: third-pass review fixes (SEP-2260)
jeanmatthieu Nov 24, 2026
069d38c
tools: the tool name format (SEP-986)
jeanmatthieu Oct 28, 2026
f6ffc28
tools: review fixes
jeanmatthieu Nov 2, 2026
046cb64
tools: second-pass review fixes
jeanmatthieu Nov 23, 2026
b4ca434
tools: test the tool-name warnings over a handshake restart
jeanmatthieu Nov 23, 2026
a79cda4
deprecations: roots, sampling, logging and includeContext (SEP-2577, …
jeanmatthieu Oct 28, 2026
de7b2f3
deprecations: second-pass review fixes
jeanmatthieu Nov 23, 2026
b433530
server cards: serve and fetch Server Cards (SEP-2127)
jeanmatthieu Oct 28, 2026
9f193d1
server cards: review fixes
jeanmatthieu Nov 2, 2026
90db10a
server cards: second-pass review fixes
jeanmatthieu Nov 23, 2026
fd88fea
server cards: third-pass review fixes
jeanmatthieu Nov 24, 2026
2f3cbb2
apps: serve and read MCP Apps views (SEP-1865)
jeanmatthieu Oct 28, 2026
b88dd46
apps: review fixes
jeanmatthieu Nov 2, 2026
001a313
apps: second-pass review fixes
jeanmatthieu Nov 23, 2026
40f9a16
apps: third-pass review fixes
jeanmatthieu Nov 24, 2026
a25aeb6
http: release a client transport dropped without disconnect
jeanmatthieu Nov 2, 2026
dea1521
http: second-pass review fixes
jeanmatthieu Nov 23, 2026
4e87ad8
client: cancel the task of a tools/call cancelled as its answer arrives
jeanmatthieu Nov 4, 2026
d181ebc
ci: build for iOS and run the tests on its simulator
jeanmatthieu Nov 4, 2026
ad57600
docs: bring AGENTS.md up to date with the stack
jeanmatthieu Nov 5, 2026
c50ceea
http: third-pass review fixes
jeanmatthieu Nov 24, 2026
91be03f
client: review fixes for the iOS PR
jeanmatthieu Nov 24, 2026
bfa961d
Fix the findings of a formal verification of the framework at 2026-07-28
jeanmatthieu Nov 10, 2026
8be5a71
conformance: review fixes for the formal verification findings
jeanmatthieu Nov 23, 2026
42499b6
conformance: second review fixes for the formal verification findings
jeanmatthieu Nov 24, 2026
11ea3eb
release: open rel/1.0.0
jeanmatthieu Nov 25, 2026
bf24a66
Merge pull request #371 from modelcontextprotocol/conformance/p0-harness
jeanmatthieu Nov 25, 2026
a3d05ae
Merge pull request #370 from modelcontextprotocol/conformance/p1-lega…
jeanmatthieu Nov 25, 2026
39b9b62
[P2] base: protocol profiles, error data, envelope _meta and result t…
jeanmatthieu Nov 25, 2026
94b0c89
[P3] server: serve 2026-07-28 stateless requests
jeanmatthieu Nov 25, 2026
f290e6b
[P4] client: connect with server/discover at 2026-07-28
jeanmatthieu Nov 25, 2026
284b4dc
[P5] http: standard and custom request headers at 2026-07-28 (SEP-2243)
jeanmatthieu Nov 25, 2026
d400768
[P6] subscriptions/listen: notification streams at 2026-07-28 (SEP-2575)
jeanmatthieu Nov 25, 2026
d22f860
[P7] mrtr: input-required results at 2026-07-28 (SEP-2322)
jeanmatthieu Nov 25, 2026
32a3679
[P8] oauth: issuer checks, application_type, AS migration (SEP-2468/8…
jeanmatthieu Nov 25, 2026
9b7d4ec
[P10] docs: go-sdk layout, feature guides, design notes and process docs
jeanmatthieu Nov 25, 2026
e52c3d6
[P9] versions: make 2026-07-28 the client default
jeanmatthieu Nov 25, 2026
d28b8b3
[P11] fix: request lifecycle, server replies, OAuth hardening
jeanmatthieu Nov 25, 2026
0a8cc52
[P12] oauth: jwt-bearer grant, token exchange, enterprise-managed aut…
jeanmatthieu Nov 25, 2026
05a7b66
[P13] oauth: DPoP-bound tokens (RFC 9449, SEP-1932)
jeanmatthieu Nov 25, 2026
af4b353
[P14] Fix four client auth findings from testing against independent …
jeanmatthieu Nov 25, 2026
b5c20be
[P15] interop: matrix against the Go and Python SDKs
jeanmatthieu Nov 25, 2026
3ee3744
[P16] release: 0.13.0
jeanmatthieu Nov 25, 2026
3fa4680
[P17] ci: one job list for GitHub Actions and Linux at the desk
jeanmatthieu Nov 25, 2026
2feef2d
[P18] http: the same client on Linux and macOS
jeanmatthieu Nov 25, 2026
8916d32
[P19] api: an extensibility promise for every public enum
jeanmatthieu Nov 25, 2026
83f8645
[P20] api: the 1.0 rough edges
jeanmatthieu Nov 25, 2026
3b36b8c
[P21] ci: stability tooling for 1.x
jeanmatthieu Nov 25, 2026
faacc68
[P22] release: prepare 1.0.0
jeanmatthieu Nov 25, 2026
231814e
[P23] conformance: harness 0.2.0-alpha.12
jeanmatthieu Nov 25, 2026
e27fd8e
[P24] tasks: SEP-1686 and SEP-2663 on server and client
jeanmatthieu Nov 25, 2026
8acf842
[P25] skills: SEP-2640 on server and client
jeanmatthieu Nov 25, 2026
3e928c3
[P26] docs: SEP coverage
jeanmatthieu Nov 25, 2026
3087570
[P27] sampling: tools in sampling requests (SEP-1577)
jeanmatthieu Nov 25, 2026
8feeeaa
[P28] server: warn about server requests outside a client request (SE…
jeanmatthieu Nov 25, 2026
1767a7e
[P29] tools: the tool name format (SEP-986)
jeanmatthieu Nov 25, 2026
c57079a
[P30] deprecations: roots, sampling, logging and includeContext (SEP-…
jeanmatthieu Nov 25, 2026
2ff1892
[P31] server cards: serve and fetch Server Cards (SEP-2127)
jeanmatthieu Nov 25, 2026
eb0d228
[P32] apps: serve and read MCP Apps views (SEP-1865)
jeanmatthieu Nov 25, 2026
d6f4250
[P33] http: release a client transport dropped without disconnect
jeanmatthieu Nov 25, 2026
28063b9
[P34] ci: build for iOS and run the tests on its simulator
jeanmatthieu Nov 25, 2026
5c3af99
[P35] Fix the findings of a formal verification of the framework at 2…
jeanmatthieu Nov 25, 2026
f07d7ca
fix: build the tests with Swift 6.3 and silence deprecation warnings
jeanmatthieu Nov 25, 2026
95b9b82
test: cover Origin in OriginValidator tests
Perennos Nov 25, 2026
455c1ae
fix: avoid Go VCS stamping in interop fixtures
EhsanAzish80 Nov 26, 2026
61db393
fix: build Go interop fixtures without VCS stamping
jeanmatthieu Nov 26, 2026
7c24688
Tests: Drop @unchecked Sendable from the URLProtocol mocks
varun06 Nov 26, 2026
7a14ef1
test: Wait for slow CI runners instead of short fixed windows
jeanmatthieu Nov 26, 2026
916e1c6
test: Wait for conditions in the tests CI still timed out
jeanmatthieu Nov 26, 2026
021fc87
test: Wait on conditions instead of fixed sleeps
jeanmatthieu Nov 26, 2026
aafdc13
test: Run the fake stdio server's blocking reads off the cooperative …
jeanmatthieu Nov 26, 2026
c495d24
fix: Throw CancellationError for a cancelled body read on Linux
jeanmatthieu Nov 26, 2026
668c10f
ci: Boot the simulator before building for it, and test once it booted
jeanmatthieu Nov 26, 2026
510c100
Merge pull request #373 from modelcontextprotocol/fix/ci-swift-errors…
jeanmatthieu Nov 26, 2026
adad6eb
fix: Write concurrent stdio sends one at a time, in call order
jeanmatthieu Nov 26, 2026
136b581
fix: Resume a NetworkTransport send whose completion outlives the tra…
jeanmatthieu Nov 26, 2026
2cb13ac
fix: Refuse a request whose id is in flight, and answer no cancelled …
jeanmatthieu Nov 26, 2026
528a11f
Merge pull request #335 from Perennos/fix/localhost-validator-default…
jeanmatthieu Nov 26, 2026
84d1db0
fix: expose response decoding details
EhsanAzish80 Nov 26, 2026
b68d64b
fix: distinguish terminated stateful sessions
EhsanAzish80 Nov 26, 2026
d1af700
fix: preserve data in malformed URL elicitation errors
EhsanAzish80 Nov 26, 2026
3f7577f
docs: Say which transport a client uses on iOS
jeanmatthieu Nov 26, 2026
649e9c9
docs: Cover SEP-2350, SEP-2351, MCP Apps and Server Cards
jeanmatthieu Nov 26, 2026
25fe4aa
docs: Show how to run a server as a Swift Service Lifecycle service
jeanmatthieu Nov 26, 2026
5799e39
fix: Disconnect when the server answers initialize with an unsupporte…
jeanmatthieu Nov 26, 2026
61a6258
docs: Say when a data: URL string decodes as Value.data
jeanmatthieu Nov 26, 2026
e7016b6
fix: accept loopback Host and Origin without a port in localhost(port…
Perennos Nov 26, 2026
fc00fbe
fix: preserve extended URL elicitation error data
EhsanAzish80 Nov 27, 2026
929c451
fix: validate requests after stateful session termination
EhsanAzish80 Nov 27, 2026
84ec756
fix: retain decoding errors for task results
EhsanAzish80 Nov 27, 2026
aa5449d
fix: give ResponseDecodingError a public initializer
jeanmatthieu Nov 27, 2026
e00e6e7
docs: Describe the current -32042 fallback rule in design.md
jeanmatthieu Nov 27, 2026
55daebd
fix: preserve data in malformed URL elicitation errors (#382)
jeanmatthieu Nov 27, 2026
06c8786
fix: say why a response did not decode in ResponseDecodingError
jeanmatthieu Nov 27, 2026
8dbbfbd
Merge branch 'rel/1.0.0' into fix/response-decoding-detail
jeanmatthieu Nov 27, 2026
9d88352
fix: expose response decoding details (#379)
jeanmatthieu Nov 27, 2026
1bfab32
docs: align terminated stateful session statuses in the guides
jeanmatthieu Nov 27, 2026
73f8acb
Merge branch 'rel/1.0.0' into fix/stateful-terminated-status
EhsanAzish80 Nov 27, 2026
63d74e5
docs: keep release changelog entries after merge
EhsanAzish80 Nov 27, 2026
5702c80
fix: distinguish terminated stateful sessions (#380)
jeanmatthieu Nov 27, 2026
42d09ff
docs: add a changelog entry for localhost(port: 80), cite RFC 9110 §4…
jeanmatthieu Nov 27, 2026
17db2f1
test(client): add batch send-failure regression test
Bugraciftci Nov 27, 2026
86653a8
build: Raise the minimum platforms to macOS 15 and its year's releases
jeanmatthieu Nov 26, 2026
a6d3508
docs: Word the 0.12 fallback by deployment target, not host macOS
jeanmatthieu Nov 27, 2026
764df1b
test: Bound the batch send-failure test so a regression fails instead…
jeanmatthieu Nov 27, 2026
924fc52
test: Check that sends waiting at disconnect fail with ENOTCONN
jeanmatthieu Nov 27, 2026
2e91687
fix: Resume a NetworkTransport send from its completion alone
jeanmatthieu Nov 27, 2026
8fbd223
fix: Log a refusal of an id in flight that cannot be sent
jeanmatthieu Nov 27, 2026
75190ad
docs: Drop the #316 reference from the CHANGELOG entry
jeanmatthieu Nov 27, 2026
4b83d2f
docs: Say that App Transport Security blocks plain http on iOS
jeanmatthieu Nov 27, 2026
ad8b75f
docs: Name the products the Service Lifecycle example imports
jeanmatthieu Nov 27, 2026
52d370a
docs: Name Server Cards before the views of MCP Apps in the README
jeanmatthieu Nov 27, 2026
fe05abb
docs: Say that Value(_:) and the Codable structuredContent init conve…
jeanmatthieu Nov 27, 2026
4ef2af5
fix: Free a request id before its response is sent
jeanmatthieu Nov 27, 2026
f0cb631
fix: Handle URL elicitation metadata by error code
EhsanAzish80 Nov 27, 2026
db583c0
test(client): add batch send-failure regression test (#386)
jeanmatthieu Nov 27, 2026
f78f8f9
docs: Clarify URL elicitation error decoding
EhsanAzish80 Nov 27, 2026
70831f5
Merge branch 'rel/1.0.0' into fix/url-elicitation-metadata
EhsanAzish80 Nov 27, 2026
3467299
Merge pull request #387 from EhsanAzish80/fix/url-elicitation-metadata
jeanmatthieu Nov 27, 2026
41482ae
fix: Throw internalError for an unsupported initialize version, as #3…
jeanmatthieu Nov 27, 2026
f554796
fix: Require an RFC 2397 media type in data: URLs, and complete the V…
jeanmatthieu Nov 27, 2026
a48329e
Merge remote-tracking branch 'origin/rel/1.0.0' into docs/value-data-…
jeanmatthieu Nov 27, 2026
4aa2277
docs: Say which transport a client uses on iOS (#391)
jeanmatthieu Nov 27, 2026
a57ef23
fix: accept loopback Host and Origin without a port in localhost(port…
jeanmatthieu Nov 28, 2026
db2c91e
fix: Disconnect when the server answers initialize with an unsupporte…
jeanmatthieu Nov 28, 2026
004520e
docs: Show how to run a server as a Swift Service Lifecycle service (…
jeanmatthieu Nov 28, 2026
76ee6ab
build: Raise the minimum platforms to macOS 15 and its year's release…
jeanmatthieu Nov 28, 2026
3ae4699
fix: Write concurrent stdio sends one at a time, in call order (#388)
jeanmatthieu Nov 28, 2026
d26c9b0
fix: Resume a NetworkTransport send whose completion outlives the tra…
jeanmatthieu Nov 28, 2026
23c6d7c
docs: Cover SEP-2350, SEP-2351, MCP Apps and Server Cards (#392)
jeanmatthieu Nov 28, 2026
fd7f8b8
Merge branch 'rel/1.0.0' into fix/server-duplicate-request-ids
jeanmatthieu Nov 28, 2026
b48b18a
fix: Refuse a request whose id is in flight, and answer no cancelled …
jeanmatthieu Nov 28, 2026
7e28d9d
Merge branch 'rel/1.0.0' into docs/value-data-urls
jeanmatthieu Nov 28, 2026
33f0c38
fix: Require an RFC 2397 media type in data: URLs, and say when a str…
jeanmatthieu Nov 28, 2026
561c700
docs: Let the wire behavior of Beta extensions follow their specifica…
jeanmatthieu Nov 27, 2026
ea696f8
docs: Cover every extension stage, revision mismatches and ext-auth
jeanmatthieu Nov 28, 2026
19727ee
docs: Plan checking the revision setting of Beta extensions
jeanmatthieu Nov 28, 2026
3aa06e4
docs: Restore the blank line after the Planned list in ROADMAP.md
jeanmatthieu Nov 28, 2026
322f7c3
docs: Say what the Swift API of a Beta extension keeps and what follo…
jeanmatthieu Nov 28, 2026
c430970
docs: Classify the open types and enums of the Beta extensions
jeanmatthieu Nov 28, 2026
44f6577
Distinguish invalid JSON-RPC messages from JSON parse errors
bbdu3 Nov 26, 2026
c6ef929
Distinguish invalid JSON-RPC messages from JSON parse errors
bbdu3 Nov 26, 2026
857edc4
feat: Bridge MCP tools and Apple FoundationModels
jeanmatthieu Nov 28, 2026
e418afb
fix: Answer a malformed response with a null id, and accept an error …
jeanmatthieu Nov 28, 2026
c8f6b80
fix: Fail a request whose answer cannot be read, on the server and th…
jeanmatthieu Nov 28, 2026
c25bfe1
test: Compare converted schemas by meaning, not by the OS release's e…
jeanmatthieu Nov 28, 2026
b2cc338
test: Cover a Generable enum property in a derived input schema
jeanmatthieu Nov 28, 2026
d3ddb6b
docs: Let the wire behavior of Beta extensions follow their specifica…
jeanmatthieu Nov 28, 2026
d2a5e84
fix: Give an answer without jsonrpc 2.0 to the server over HTTP
jeanmatthieu Nov 28, 2026
d4a49d7
fix: Read an unreadable single answer as a batch item is read
jeanmatthieu Nov 28, 2026
c87f982
fix: Answer valid JSON with -32600 on stateless HTTP, and fix the guide
jeanmatthieu Nov 29, 2026
b88455c
feat: Bridge MCP tools and Apple FoundationModels (#398)
jeanmatthieu Nov 29, 2026
9b6973b
fix: Distinguish invalid JSON-RPC messages from JSON parse errors, an…
jeanmatthieu Nov 29, 2026
16faafe
fix: stop NetworkTransport heartbeats from dropping or mangling messages
canarik Nov 29, 2026
82c3f28
docs: Link live spec pages, and say what 2026-07-28 changes for ping,…
alexbull Nov 29, 2026
6a07642
docs: Say that an unknown block keeps its JSON value, not its bytes
alexbull Nov 29, 2026
5f233c7
docs: Name number rounding, escapes and the InputRequest exception
jeanmatthieu Nov 29, 2026
f5d8830
fix: stop NetworkTransport heartbeats from dropping or mangling messa…
jeanmatthieu Nov 29, 2026
c14df3a
docs: Say that an unknown block keeps its JSON value, not its bytes (…
jeanmatthieu Nov 29, 2026
ee0c426
docs: Link live spec pages, and say what 2026-07-28 changes for ping,…
jeanmatthieu Nov 29, 2026
50b6b73
fix: Reject an HTTP request that also has a result or an error
canarik Nov 29, 2026
cc9b337
docs: Add a CHANGELOG entry for a request that also has a result or a…
canarik Nov 29, 2026
19d4056
fix: Give the server a request with a result it reads as an answer
canarik Nov 29, 2026
29aea34
docs: Correct the CHANGELOG note on the stateless transport
canarik Nov 29, 2026
67ceb82
test: Answer a server request with a method over the stateless transport
canarik Nov 29, 2026
7d2084a
fix: search only new bytes for a newline and limit message length
canarik Nov 29, 2026
f92e0cf
fix: limit JSON response bodies to 16 MiB in the HTTP client
canarik Nov 29, 2026
1d09239
fix: finish a cancelled stdio send that has written part of its message
canarik Nov 29, 2026
152bdf6
Merge branch 'rel/1.0.0' into oss/http-server-method-with-result
canarik Nov 29, 2026
d9aebd8
fix: count searched bytes with wrapping addition
jeanmatthieu Nov 30, 2026
666d8a4
fix: Take an answer with a method as a response over HTTP and in a batch
jeanmatthieu Nov 30, 2026
49ec8b2
test: give the receive loop tests 10 seconds to finish a request
jeanmatthieu Nov 30, 2026
9ae37f0
test: keep every sign-in the mock authorizer holds, so none leaks
jeanmatthieu Nov 30, 2026
71bd0fe
fix: retry NetworkTransport.connect() on a fresh connection
canarik Nov 30, 2026
bd0022a
Merge pull request #404 from canarik/oss/http-server-method-with-result
canarik Nov 30, 2026
afb87cb
Merge pull request #405 from canarik/oss/read-loop-line-limit
canarik Nov 30, 2026
0d80a17
Merge pull request #406 from canarik/oss/http-client-json-body-limit
canarik Nov 30, 2026
a74d320
test: fix two Linux CI flakes: receive loop deadlines and a leaked si…
jeanmatthieu Nov 30, 2026
804718d
fix: retry NetworkTransport.connect() on a fresh connection (#409)
jeanmatthieu Nov 30, 2026
bb4a317
Merge branch 'rel/1.0.0' into oss/stdio-cancelled-send-torn-frame
canarik Nov 30, 2026
7e2dabc
fix: finish a cancelled stdio send that has written part of its messa…
jeanmatthieu Nov 30, 2026
6084c6c
feat: cap the includeContext a sampling handler sees
varun06 Nov 30, 2026
d96515e
Merge pull request #411 from varun06/feat/max-context-inclusion
varun06 Nov 30, 2026
e4f7f84
fix: apply the redirect loopback rule to OAuth URLs that servers name
canarik Nov 30, 2026
6c7c410
ci: retry apt-get, install Node from nodejs.org when dnf cannot, and …
jeanmatthieu Nov 30, 2026
ebe8447
docs: record the OAuth loopback refusal in CHANGELOG and migration guide
jeanmatthieu Dec 1, 2026
1df55c4
fix: apply the redirect loopback rule to OAuth URLs that servers name…
jeanmatthieu Dec 1, 2026
b427e8a
test: make the suite reliable on loaded Linux runners and the iOS sim…
jeanmatthieu Nov 30, 2026
f69fc9a
fix: avoid two URLSession crashes on Linux in sign-in and response st…
jeanmatthieu Nov 30, 2026
757270a
fix: CI failures on rel/1.0.0: a stateless test wait, an OAuth double…
jeanmatthieu Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
225 changes: 148 additions & 77 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
name: CI

# Every job is a line of scripts/ci/jobs, run through scripts/ci/run-jobs.sh, so a
# job is added or changed in one place.

on:
push:
branches: ["main", "rel/**"]
pull_request:
branches: ["main", "rel/**"]

# Actions are pinned by commit; the comment names the release.
permissions:
contents: read
pull-requests: write

jobs:
test:
timeout-minutes: 10
timeout-minutes: 20
strategy:
# Each leg reports its own result: a flake on one platform does not
# cancel the others.
fail-fast: false
matrix:
include:
# macOS uses the Swift toolchain bundled with Xcode: a standalone toolchain
Expand All @@ -25,96 +31,160 @@ jobs:
# Current leg: catches breakage from new Xcode and SDK releases.
- os: macos-latest
swift-version: Xcode default
- os: ubuntu-24.04
swift-version: 6.1.0
- os: ubuntu-latest
container: swift:6.1-rhel-ubi9
swift-version: "6.1 (RHEL UBI 9)"
- os: ubuntu-latest
container: swift:6.1-noble
swift-version: "6.1 (Ubuntu 24.04)"

runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
name: Test (${{ matrix.os }}, Swift ${{ matrix.swift-version }})

steps:
- uses: actions/checkout@v4

- name: Prepare Linux apt dependencies
if: matrix.os == 'ubuntu-24.04'
run: |
sudo -n apt-get update
sudo -n apt-get install -y --no-install-recommends libcurl4-openssl-dev

- name: Setup Swift on Linux
if: matrix.os == 'ubuntu-24.04'
uses: vapor/swiftly-action@v0.2
with:
toolchain: ${{ matrix.swift-version }}
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Select Xcode
if: matrix.xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app

- name: Show Swift version
run: swift --version

- name: Build
run: swift build -v

- name: Run tests
run: swift test -v

conformance:
timeout-minutes: 10
- name: Build, test, and run the hello example
run: scripts/ci/run-jobs.sh build-test

# Every target built for the device SDK of a platform other than macOS, and
# the tests run on its simulator (scripts/ci/apple-platform.sh). One matrix
# entry per apple-* line of scripts/ci/jobs.
apple-platforms:
name: Apple platforms (${{ matrix.platform }})
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- platform: iOS
job: apple-ios
runs-on: macos-latest
name: MCP Conformance Tests

steps:
- uses: actions/checkout@v4

- name: Show Swift version
run: swift --version

- name: Build Swift executables
run: |
swift build --product mcp-everything-client
swift build --product mcp-everything-server

- name: Run client conformance tests
uses: modelcontextprotocol/conformance@v0.1.15
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Build for the device, test on the simulator
run: scripts/ci/run-jobs.sh ${{ matrix.job }}
- name: Upload the test results
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
mode: client
command: '.build/debug/mcp-everything-client'
suite: 'core'
expected-failures: './conformance-baseline.yml'
node-version: '22'
name: apple-${{ matrix.platform }}-xcresult
path: .build/apple/${{ matrix.platform }}/Tests.xcresult
if-no-files-found: ignore

- name: Start server for testing
run: |
.build/debug/mcp-everything-server &
echo "SERVER_PID=$!" >> $GITHUB_ENV
sleep 3
documentation:
name: Documentation
runs-on: macos-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: DocC and weave check
run: scripts/ci/run-jobs.sh docs

- name: Run server conformance tests
uses: modelcontextprotocol/conformance@v0.1.15
# The public API against the newest 1.x release tag (VERSIONING.md).
api-breakage:
name: API breakage
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
mode: server
url: 'http://localhost:3001/mcp'
suite: 'core'
expected-failures: './conformance-baseline.yml'
node-version: '22'
fetch-depth: 0
- name: Compare with the newest release
run: scripts/ci/run-jobs.sh api-breakage

# libFuzzer on the parsers and the HTTP server transports. Linux only: the
# Xcode toolchain has no libFuzzer.
fuzz:
name: Fuzz
runs-on: ubuntu-latest
container: swift:6.1-noble
timeout-minutes: 30
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Run each target for a minute
run: scripts/ci/run-jobs.sh fuzz
- name: Upload crashing inputs
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: fuzz-artifacts
path: .build/fuzz/artifacts/
if-no-files-found: ignore

- name: Cleanup server
# Every conformance leg and tier score, baseline-enforced, on macOS and on Linux
# (RHEL UBI 9 and Ubuntu 24.04). The baselines are shared.
conformance:
name: Conformance (${{ matrix.os }}${{ matrix.container && format(', {0}', matrix.container) || '' }})
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
- os: ubuntu-latest
container: swift:6.1-rhel-ubi9
- os: ubuntu-latest
container: swift:6.1-noble
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
if: runner.os == 'macOS'
with:
node-version: "22"
- name: Run conformance
run: scripts/ci/run-jobs.sh --strict --timeout 20 'conformance-.*' 'tier-.*'
- name: Upload conformance results
if: always()
run: |
if [ -n "$SERVER_PID" ]; then
kill $SERVER_PID 2>/dev/null || true
fi

documentation:
name: Documentation
runs-on: macos-latest
timeout-minutes: 10
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: conformance-${{ matrix.os }}-${{ strategy.job-index }}
path: .build/conformance/
if-no-files-found: ignore

# The matrix must match interop/RESULTS.md on macOS and on Linux. On Linux,
# scripts/ci/lib.sh installs Go, uv and Node with scripts/ci/deps-linux.sh.
interop:
name: Interop (${{ matrix.os }})
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
- os: ubuntu-latest
container: swift:6.1-rhel-ubi9
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
- name: Show Swift version
run: swift --version
- name: Build Documentation
run: swift package generate-documentation --target MCP --warnings-as-errors
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
if: runner.os == 'macOS'
with:
go-version: "1.25"
- uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
if: runner.os == 'macOS'
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
if: runner.os == 'macOS'
with:
node-version: "22"
- name: Run interop
run: scripts/ci/run-jobs.sh --strict interop
- name: Upload interop report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: interop-${{ matrix.os }}
path: |
.build/interop/report.md
.build/interop/results/
.build/interop/logs/
if-no-files-found: ignore

static-linux-sdk-build:
name: Linux Static SDK Build (${{ matrix.swift-version }} - ${{ matrix.os }})
Expand All @@ -128,11 +198,12 @@ jobs:
timeout-minutes: 30
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Install static SDK and build
env:
BUILD_FLAGS: ""
run: |
which curl || (apt -q update && apt -yq install curl)
curl -s --retry 3 https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/install-and-build-with-sdk.sh | \
# Pinned commit of swiftlang/github-workflows (main on 2026-10-24).
curl -sf --retry 3 https://raw.githubusercontent.com/swiftlang/github-workflows/87329d126a6992483ba89aabefa1eaef1e5b0aad/.github/workflows/scripts/install-and-build-with-sdk.sh | \
bash -s -- --static --flags="$BUILD_FLAGS" ${{ matrix.swift-version }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
/.build
/fuzz/.build
/Packages
xcuserdata/
DerivedData/
Expand Down
Loading
Loading