890 Commits

Author SHA1 Message Date
Max 47bbab3bc3 Drop stale superset-leniency note from ElicitResult.content docstring (#2884)
CI / checks (push) Failing after 0s
CI / all-green (push) Has been cancelled
v2.0.0a2
2026-06-16 22:08:29 +01:00
Max 7703df1539 Expand site-absolute spec links in generated docstrings to full URLs (#2885) 2026-06-16 13:55:43 -07:00
Max 65be5a7147 Protocol types for 2026-07-28: superset monolith, committed per-version packages, and wire-method maps (#2849) 2026-06-16 17:40:14 +01:00
dependabot[bot] 2693fb95ae chore(deps): bump the github-actions group across 1 directory with 9 updates (#2636)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2026-06-16 09:45:21 +01:00
Max ac36a395aa Widen the stdio round-trip test's termination grace and overall timeout (#2880) 2026-06-15 18:23:49 +01:00
Max ddb7b78ef4 Deflake the issue-1363 tests: wait for lifespan startup instead of sleeping (#2879) 2026-06-15 16:50:57 +01:00
Max 255650dcd1 ci(conformance): run server --suite draft and baseline the 2026-07-28 scenarios (#2878) 2026-06-15 16:45:29 +01:00
Max a3689ab493 ci(conformance): pin harness to 0.2.0-alpha.3 with expected-failures baseline (#2877) 2026-06-15 15:40:42 +01:00
Max 1012d60004 [v2] ClientSession runs on JSONRPCDispatcher; BaseSession removed (#2838) 2026-06-15 14:46:34 +01:00
Jerome cf110e3214 Fix 404 links in v1 README to renamed example files (#2822)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
2026-06-12 15:05:20 +01:00
Max 535fc1d0fb Flush the stdio subprocess's coverage data before the clean-exit line (#2840) 2026-06-12 10:23:37 +01: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