Max Isbey
e15d722db9
Add multi-version protocol types: per-version delta packages
...
One superset type set in mcp.types plus per-version packages that define
only what changed against the previous version and re-export the rest;
serialization validates dumps through the negotiated version's models.
2026-06-12 08:50:49 +00:00
Max
7267818e44
Fix unknown-method error code and add a protocol version registry ( #2836 )
2026-06-11 16:47:22 +01:00
Max
1e21814ed5
Update the v2 status banner and pin spawned environments to the running SDK version ( #2834 )
CI / checks (push) Failing after 0s
CI / all-green (push) Has been cancelled
v2.0.0a1
2026-06-11 09:41:19 +01:00
Max
e196857bc9
Prepare release machinery for v2 pre-releases ( #2831 )
2026-06-11 09:03:27 +01:00
Max
6d0c160113
Clarify AGENTS.md policy on compat shims for breaking changes ( #2823 )
2026-06-09 15:16:07 +00:00
Max
5d826490b6
[v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession ( #2710 )
2026-06-09 12:58:47 +01:00
Max
b478bff56d
Remove the unsupported WebSocket transport ( #2785 )
2026-06-08 12:05:27 +01:00
Max
ac96f88abd
Deflake the session-level timeout test with trio's virtual clock ( #2788 )
2026-06-05 21:33:48 +01:00
Max
bdc48e98b1
Fix stdio client shutdown bugs and rebuild the stdio test suite ( #2773 )
2026-06-05 16:15:43 +01:00
Max
19fe9faec8
Run StreamableHTTP transport tests in process instead of over sockets ( #2767 )
2026-06-03 12:45:00 +01:00
Max
ed39e73c0b
Run SSE and Unicode transport tests in process instead of over sockets ( #2765 )
2026-06-02 21:46:53 +01:00
Max
b3025f93b4
Run transport security tests in process instead of over sockets ( #2764 )
2026-06-02 20:30:17 +01:00
Max
ed6adeee7e
docs: require a passing conformance test for new 2026-07-28 spec features ( #2761 )
2026-06-02 18:34:39 +01:00
yukawithdata
a938126327
Doc: Clarify MCP Client-Server model in What is MCP section ( #2459 )
2026-06-02 18:32:53 +02:00
Zach Leventer
4f6f0e8bf5
Remove dead commented-out code in register_client ( #2500 )
2026-06-02 18:30:57 +02:00
Aryan Motgi
60c0420775
docs: correct create_mcp_http_client default timeout docstring ( #2683 )
...
Co-authored-by: aryanmotgi <carecompanioninc@gmail.com >
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com >
2026-06-02 16:28:19 +00:00
Max
c91f406938
Require protocol_version to be a string ( #2763 )
2026-06-02 17:27:41 +01:00
Max
8cc187fac0
Remove Tasks (SEP-1686) from the SDK ( #2714 )
2026-06-02 18:27:05 +02:00
S;Co
a5b2ebb660
Clarify CLI subprocess environment comment ( #2672 )
...
Co-authored-by: scosemicolon <277933778+scosemicolon@users.noreply.github.com >
2026-06-02 16:02:36 +00:00
Siddhiraj Katkar
453cafb9a9
fix: add 'invalid_target' to AuthorizationErrorCode (RFC 8707) ( #2642 )
...
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com >
2026-06-02 16:01:50 +00:00
devteamaegis
2a3d065417
fix: rename .gitattribute to .gitattributes so git actually reads it ( #2656 )
...
Co-authored-by: devteamaegis <devteamaegis@users.noreply.github.com >
2026-06-02 15:53:51 +00:00
Max
616476f692
Bind transport sessions to the authenticated principal ( #2718 )
2026-05-29 17:48:40 +01:00
Max
24725633f1
test: interaction-model end-to-end suite with a requirements manifest ( #2691 )
2026-05-28 18:48:30 +00:00
Max
3eb579948a
Add subject and claims to AccessToken ( #2686 )
2026-05-26 13:13:55 +00:00
Marcelo Trylesinski
e8e6484278
ci: add zizmor for GitHub Actions security analysis ( #2648 )
2026-05-20 17:06:57 +02:00
Max
f4753440da
ci: deploy docs to py.sdk.modelcontextprotocol.io via Pages artifact (v1 at /, v2 at /v2/) ( #2634 )
2026-05-18 15:28:13 +01:00
Max
161834d4ae
refactor: import SSEError from httpx_sse public API ( #2560 )
2026-05-08 12:42:44 -04:00
Dayna Blackwell
bf3e0010b8
fix: chain exceptions in get_prompt and read_resource handlers ( #2542 )
2026-05-08 14:28:36 +01:00
Max
2b0da5631a
build: pin PEP 517 build dependencies ( #2547 )
2026-05-07 17:32:30 +01:00
Gyeongjun Paik (Kent)
3d7b311de0
fix: align Context logging methods with MCP spec data type ( #2366 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com >
2026-04-14 21:41:51 +00:00
Wils Dawson
437d15aa71
SEP-2207: Refresh token guidance ( #2039 )
2026-04-14 11:48:07 +01:00
Max
5cbd259c3b
fix: catch PydanticUserError when generating output schema (pydantic 2.13 compat) ( #2434 )
2026-04-13 17:03:40 +01:00
Felix Weinberger
2dfb51a4d1
fix(auth): coerce empty-string optional URL fields to None in OAuthClientMetadata ( #2404 )
2026-04-13 15:42:35 +01:00
Max
941089e06a
docs: modernize development guidelines and rename to AGENTS.md ( #2413 )
2026-04-13 12:50:04 +01:00
dependabot[bot]
8f806da611
chore(deps): bump cryptography from 46.0.5 to 46.0.7 in the uv group across 1 directory ( #2406 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-12 12:48:13 +00:00
Matt LeMay
c5f12ec1e9
Add resources parameter to MCPServer ( #2414 )
...
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com >
2026-04-12 14:42:12 +02:00
Max Isbey
f27d2aac05
docs: fill migration guide gaps surfaced by automated upgrade eval ( #2412 )
2026-04-09 13:25:16 +01:00
Marcelo Trylesinski
cf4e435db0
Use shared is_async_callable instead of inspect.iscoroutinefunction ( #2389 )
2026-04-08 13:12:20 +01:00
dependabot[bot]
d5b9155f14
chore(deps): bump requests from 2.32.5 to 2.33.0 in the uv group across 1 directory ( #2350 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 17:11:12 -04:00
Marcelo Trylesinski
37891f42a4
Add basic OpenTelemetry tracing for client and server requests ( #2381 )
2026-03-31 20:33:33 +00:00
Max Isbey
3ce0f76e6e
Don't block the event loop on sync resource and prompt functions ( #2380 )
2026-03-31 13:43:56 -04:00
Marcelo Trylesinski
e6235d1667
Propagate contextvars.Context through anyio streams without modifying SessionMessage ( #2298 )
2026-03-31 12:49:38 -04:00
Max Isbey
fb2276b95f
ci: remove claude-code-review workflow ( #2359 )
2026-03-27 14:02:41 +00:00
Max Isbey
3517a29c82
feat(server): restore dependencies parameter on MCPServer ( #2358 )
2026-03-27 13:42:15 +00:00
Marcelo Trylesinski
98f8ef295a
Restrict httpx version to <1.0.0 ( #2345 )
...
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com >
2026-03-25 22:29:13 +00:00
Felix Weinberger
7ba4fb881d
ci: skip claude.yml when comment is '@claude review' ( #2337 )
2026-03-24 20:36:36 +00:00
Max Isbey
92c693bb73
fix: cancel in-flight handlers when transport closes in server.run() ( #2306 )
2026-03-20 13:37:32 +00:00
Max Isbey
883d893097
test: rewrite cli.claude config tests to assert JSON output directly ( #2311 )
...
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Felix Weinberger <felixweinberger@users.noreply.github.com >
2026-03-19 15:16:34 +00:00
Jonathan Hefner
5388bea53a
docs: generate hierarchical per-module API reference pages ( #2103 )
2026-03-18 18:15:17 +00:00
Max Isbey
20dd94632e
feat(client): store InitializeResult as initialize_result ( #2300 )
2026-03-18 17:31:26 +00:00