Commit graph

  • 1012d60004
    [v2] ClientSession runs on JSONRPCDispatcher; BaseSession removed (#2838) Max 2026-06-15 14:46:34 +01:00
  • cf110e3214
    Fix 404 links in v1 README to renamed example files (#2822) Jerome 2026-06-12 15:05:20 +01:00
  • 535fc1d0fb
    Flush the stdio subprocess's coverage data before the clean-exit line (#2840) Max 2026-06-12 10:23:37 +01:00
  • 0dca751056
    [v1.x] Deflake the child process cleanup tests (#2839) Max 2026-06-11 17:48:13 +01:00
  • 7267818e44
    Fix unknown-method error code and add a protocol version registry (#2836) Max 2026-06-11 16:47:22 +01:00
  • 1e21814ed5
    Update the v2 status banner and pin spawned environments to the running SDK version (#2834) v2.0.0a1 Max 2026-06-11 09:41:19 +01:00
  • 52258a9564
    [v1.x] Add a v2 status banner to the README (#2835) Max 2026-06-11 09:39:38 +01:00
  • b8f491724c
    [v1.x] Deprecate the WebSocket transport and the experimental tasks entry points (#2828) Max 2026-06-11 09:20:19 +01:00
  • e196857bc9
    Prepare release machinery for v2 pre-releases (#2831) Max 2026-06-11 09:03:27 +01:00
  • 2309e5ef97
    fix: omit null optional fields from task result payloads (#2809) Sheldon 2026-06-10 17:37:52 +08:00
  • 6d0c160113
    Clarify AGENTS.md policy on compat shims for breaking changes (#2823) Max 2026-06-09 16:16:07 +01:00
  • 5d826490b6
    [v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession (#2710) Max 2026-06-09 12:58:47 +01:00
  • b478bff56d
    Remove the unsupported WebSocket transport (#2785) Max 2026-06-08 12:05:27 +01:00
  • ac96f88abd
    Deflake the session-level timeout test with trio's virtual clock (#2788) Max 2026-06-05 21:33:48 +01:00
  • bdc48e98b1
    Fix stdio client shutdown bugs and rebuild the stdio test suite (#2773) Max 2026-06-05 16:15:43 +01:00
  • 19fe9faec8
    Run StreamableHTTP transport tests in process instead of over sockets (#2767) Max 2026-06-03 12:45:00 +01:00
  • 494eb11d36
    [v1.x] Support Python 3.14 (#2769) Max 2026-06-03 11:27:55 +01:00
  • ed39e73c0b
    Run SSE and Unicode transport tests in process instead of over sockets (#2765) Max 2026-06-02 21:46:53 +01:00
  • b3025f93b4
    Run transport security tests in process instead of over sockets (#2764) Max 2026-06-02 20:30:17 +01:00
  • ed6adeee7e
    docs: require a passing conformance test for new 2026-07-28 spec features (#2761) Max 2026-06-02 18:34:39 +01:00
  • a938126327
    Doc: Clarify MCP Client-Server model in What is MCP section (#2459) yukawithdata 2026-06-02 09:32:53 -07:00
  • 4f6f0e8bf5
    Remove dead commented-out code in register_client (#2500) Zach Leventer 2026-06-02 12:30:57 -04:00
  • 60c0420775
    docs: correct create_mcp_http_client default timeout docstring (#2683) Aryan Motgi 2026-06-02 09:28:19 -07:00
  • c91f406938
    Require protocol_version to be a string (#2763) Max 2026-06-02 17:27:41 +01:00
  • 8cc187fac0
    Remove Tasks (SEP-1686) from the SDK (#2714) Max 2026-06-02 17:27:05 +01:00
  • a5b2ebb660
    Clarify CLI subprocess environment comment (#2672) S;Co 2026-06-02 17:02:36 +01:00
  • 453cafb9a9
    fix: add 'invalid_target' to AuthorizationErrorCode (RFC 8707) (#2642) Siddhiraj Katkar 2026-06-02 21:31:50 +05:30
  • 2a3d065417
    fix: rename .gitattribute to .gitattributes so git actually reads it (#2656) devteamaegis 2026-06-02 11:53:51 -04:00
  • 62137874ff
    [v1.x] Scope experimental tasks to the session that created them (#2720) v1.27.2 Max 2026-05-29 18:05:58 +01:00
  • 616476f692
    Bind transport sessions to the authenticated principal (#2718) Max 2026-05-29 17:48:40 +01:00
  • ce267b6fc5
    [v1.x] Bind transport sessions to the authenticated principal (#2719) Max 2026-05-29 17:46:37 +01:00
  • 24725633f1
    test: interaction-model end-to-end suite with a requirements manifest (#2691) Max 2026-05-28 19:48:30 +01:00
  • 1abcca2408
    [v1.x] Add subject and claims to AccessToken (#2690) Max 2026-05-26 15:49:44 +01:00
  • 3eb579948a
    Add subject and claims to AccessToken (#2686) Max 2026-05-26 14:13:55 +01:00
  • e8e6484278
    ci: add zizmor for GitHub Actions security analysis (#2648) Marcelo Trylesinski 2026-05-20 17:06:57 +02:00
  • 9773a3f75e
    [v1.x] ci: deploy docs to py.sdk.modelcontextprotocol.io via Pages artifact (#2635) Max 2026-05-18 15:29:15 +01:00
  • f4753440da
    ci: deploy docs to py.sdk.modelcontextprotocol.io via Pages artifact (v1 at /, v2 at /v2/) (#2634) Max 2026-05-18 15:28:13 +01:00
  • 77431ebe7d
    [v1.x] refactor: import SSEError from httpx_sse public API (#2561) v1.27.1 Max 2026-05-08 17:42:45 +01:00
  • 161834d4ae
    refactor: import SSEError from httpx_sse public API (#2560) Max 2026-05-08 17:42:44 +01:00
  • bf3e0010b8
    fix: chain exceptions in get_prompt and read_resource handlers (#2542) Dayna Blackwell 2026-05-08 06:28:36 -07:00
  • 2034cae340
    [v1.x] build: restrict httpx to <1.0.0 (#2559) Max 2026-05-08 14:18:01 +01:00
  • 2b0da5631a
    build: pin PEP 517 build dependencies (#2547) Max 2026-05-07 17:32:30 +01:00
  • 3d7b311de0
    fix: align Context logging methods with MCP spec data type (#2366) Gyeongjun Paik (Kent) 2026-04-15 06:41:51 +09:00
  • 437d15aa71
    SEP-2207: Refresh token guidance (#2039) Wils Dawson 2026-04-14 03:48:07 -07:00
  • 73d458baac
    [v1.x] fix(auth): coerce empty-string optional URL fields to None in OAuthClientMetadata (#2405) Felix Weinberger 2026-04-13 18:53:58 +01:00
  • 8d4c2f5834
    [v1.x] fix: catch PydanticUserError when generating output schema (pydantic 2.13 compat) (#2435) Max 2026-04-13 17:09:19 +01:00
  • 5cbd259c3b
    fix: catch PydanticUserError when generating output schema (pydantic 2.13 compat) (#2434) Max 2026-04-13 17:03:40 +01:00
  • 2dfb51a4d1
    fix(auth): coerce empty-string optional URL fields to None in OAuthClientMetadata (#2404) Felix Weinberger 2026-04-13 15:42:35 +01:00
  • 941089e06a
    docs: modernize development guidelines and rename to AGENTS.md (#2413) Max 2026-04-13 12:50:04 +01:00
  • 8f806da611
    chore(deps): bump cryptography from 46.0.5 to 46.0.7 in the uv group across 1 directory (#2406) dependabot[bot] 2026-04-12 12:48:13 +00:00
  • c5f12ec1e9
    Add resources parameter to MCPServer (#2414) Matt LeMay 2026-04-12 07:42:12 -05:00
  • f27d2aac05
    docs: fill migration guide gaps surfaced by automated upgrade eval (#2412) Max Isbey 2026-04-09 13:25:16 +01:00
  • cf4e435db0
    Use shared is_async_callable instead of inspect.iscoroutinefunction (#2389) Marcelo Trylesinski 2026-04-08 14:12:20 +02:00
  • d5b9155f14
    chore(deps): bump requests from 2.32.5 to 2.33.0 in the uv group across 1 directory (#2350) dependabot[bot] 2026-03-31 17:11:12 -04:00
  • 37891f42a4
    Add basic OpenTelemetry tracing for client and server requests (#2381) Marcelo Trylesinski 2026-03-31 16:33:33 -04:00
  • 3ce0f76e6e
    Don't block the event loop on sync resource and prompt functions (#2380) Max Isbey 2026-03-31 13:43:56 -04:00
  • e6235d1667
    Propagate contextvars.Context through anyio streams without modifying SessionMessage (#2298) Marcelo Trylesinski 2026-03-31 12:49:38 -04:00
  • fb2276b95f
    ci: remove claude-code-review workflow (#2359) Max Isbey 2026-03-27 14:02:41 +00:00
  • 3517a29c82
    feat(server): restore dependencies parameter on MCPServer (#2358) Max Isbey 2026-03-27 13:42:15 +00:00
  • 98f8ef295a
    Restrict httpx version to <1.0.0 (#2345) Marcelo Trylesinski 2026-03-25 23:29:13 +01:00
  • 6524782667
    [v1.x] fix: handle ClosedResourceError when transport closes mid-request (#2334) v1.27.0 Owen Devereaux 2026-03-24 18:24:47 -04:00
  • 7ba4fb881d
    ci: skip claude.yml when comment is '@claude review' (#2337) Felix Weinberger 2026-03-24 20:36:36 +00:00
  • 92c693bb73
    fix: cancel in-flight handlers when transport closes in server.run() (#2306) Max Isbey 2026-03-20 13:37:32 +00:00
  • 883d893097
    test: rewrite cli.claude config tests to assert JSON output directly (#2311) Max Isbey 2026-03-19 15:16:34 +00:00
  • 5388bea53a
    docs: generate hierarchical per-module API reference pages (#2103) Jonathan Hefner 2026-03-18 13:15:17 -05:00
  • 20dd94632e
    feat(client): store InitializeResult as initialize_result (#2300) Max Isbey 2026-03-18 17:31:26 +00:00
  • 67201a9bbd
    test: fix WS test port race; narrow to single smoke test covering both transport ends (#2267) Max Isbey 2026-03-18 15:48:30 +00:00
  • 7826ade12b
    test: convert test_integration.py to in-memory transport (fix flaky) (#2277) Max Isbey 2026-03-18 15:25:11 +00:00
  • ff50351f9e
    ci: run strict-no-cover in scripts/test to catch stale pragmas locally (#2305) Max Isbey 2026-03-17 19:53:39 +00:00
  • 2e9897e2b9
    [v1.x] fix: handle non-UTF-8 bytes in stdio server stdin (#2303) Max Isbey 2026-03-17 18:40:43 +00:00
  • 1a2244f402
    fix: handle non-UTF-8 bytes in stdio server stdin (#2302) Max Isbey 2026-03-17 18:40:39 +00:00
  • 75a80b6f07
    refactor: connect-first stream lifecycle for sse and streamable_http (#2292) Max Isbey 2026-03-16 23:30:20 +00:00
  • abfb482246
    refactor(examples): migrate all HTTP examples to streamable_http_app() (#2291) Max Isbey 2026-03-16 11:37:01 +00:00
  • e1fd62e0f3
    fix: close all memory stream ends in client transport cleanup (#2266) Max Isbey 2026-03-13 14:43:54 +00:00
  • 2c73a2a881
    chore(deps): bump black from 25.1.0 to 26.3.1 in the uv group across 1 directory (#2290) dependabot[bot] 2026-03-13 10:39:56 +00:00
  • dd52713517
    Rewrite TestChildProcessCleanup with socket-based deterministic liveness probe (#2265) Max Isbey 2026-03-12 12:52:32 +00:00
  • 62eb08e5b2
    fix: don't send log notification on transport error (#2257) Max Isbey 2026-03-09 17:47:27 +00:00
  • 31a38b5078
    fix: correct Context type parameters across examples and tests (#2256) Max Isbey 2026-03-09 16:52:56 +00:00
  • 51c53f2c18
    fix: accept wildcard media types in Accept header per RFC 7231 (#2152) Shivam Aggarwal 2026-03-09 22:00:02 +05:30
  • 7ba41dcfae
    fix: make local coverage runs reliable (#2236) Max Isbey 2026-03-06 17:24:18 +00:00
  • eaf971cf25
    Add warning log when rejecting request with unknown/expired session ID (#2212) Ramesh Reddy Adutla 2026-03-06 16:55:37 +00:00
  • 92f1b1500d
    fix: remove MIME type validation from MCPServer Resource (#2235) Max Isbey 2026-03-06 14:50:58 +00:00
  • b33c811675
    perf: use deque for InMemoryTaskMessageQueue FIFO operations (#2165) Giulio Leone 2026-03-05 16:44:33 +01:00
  • 7c0224828b
    fix(oauth): include client_id in token request body for client_secret_post (#2185) Giulio Leone 2026-03-05 15:57:33 +01:00
  • 528abfab86
    tests: remove lax-no-cover pragmas by moving assertions before cancellation (#2206) Max Isbey 2026-03-04 16:11:34 +00:00
  • b3149d2f33
    fix: clean up SSE session on client disconnect (#2200) Varun6578 2026-03-04 20:15:11 +05:30
  • cc22bf5464
    refactor: remove request_ctx ContextVar, thread Context explicitly (#2203) Max Isbey 2026-03-04 13:23:02 +00:00
  • f8d98b63a7
    Backport: Add missing TasksCallCapability to v1.x (#2137) BabyChrist666 2026-03-02 07:56:24 -05:00
  • 62575edabd
    ci: sign weekly lockfile commits as github-actions[bot] (#2148) Max Isbey 2026-02-26 15:36:46 +00:00
  • c68e254bad
    docs: add server-side tool error handling documentation (#2129) Felix Weinberger 2026-02-24 11:31:00 +00:00
  • 1ef124e4a8
    docs: add snippet verification for docs/ pages (#2115) Felix Weinberger 2026-02-23 15:38:15 +00:00
  • cfbbd7d71a
    docs: fix GitHub links to point to v1.x branch (#2102) Felix Weinberger 2026-02-23 15:26:21 +00:00
  • 1f9fb348f3
    docs: fix stub pages and improve docs structure (#2101) Felix Weinberger 2026-02-23 15:18:24 +00:00
  • c86477c7b7
    docs: comprehensive feature documentation for SEP-1730 Tier 1 (#2090) Felix Weinberger 2026-02-23 14:57:16 +00:00
  • a77462b64d
    docs: restructure README into docs/ pages (#2091) Felix Weinberger 2026-02-23 14:17:12 +00:00
  • 0fe16dd5fd
    fix: silence mkdocs social plugin warnings in strict mode (#2109) Jonathan Hefner 2026-02-19 16:12:51 -06:00
  • cb07adeca3
    docs: add code fences to Example: docstring blocks (#2104) Jonathan Hefner 2026-02-19 14:06:11 -06:00
  • b1adfcd885
    Add VERSIONING.md, ROADMAP.md, and DEPENDENCY_POLICY.md (#2084) Felix Weinberger 2026-02-19 17:23:58 +00:00
  • c0328540c9
    docs: fix docstrings across public API surface (#2095) Jonathan Hefner 2026-02-18 23:45:59 -06:00
  • 688c6e3ade
    Update SECURITY.md to use GitHub Security Advisories (#2092) Den Delimarsky 2026-02-18 21:19:25 -08:00