Skip to content

Releases: modelcontextprotocol/python-sdk

v1.12.3

31 Jul 18:33
959d4e3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.12.2...v1.12.3

v1.12.2

24 Jul 18:25
35777b9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.12.1...v1.13.0

v1.12.1

22 Jul 16:48
6a84a2f
Compare
Choose a tag to compare

What's Changed

  • Add CODEOWNERS file for sdk by @ihrpr in #1169
  • fix flaky test test_88_random_error by @ihrpr in #1171
  • Make sure RequestId is not coerced as int by @Kludex in #1178
  • Fix: Replace threading.Lock with anyio.Lock for Ray deployment compatibility by @only-weng in #1151
  • fix: fix OAuth flow request object handling by @clareliguori in #1174

New Contributors

Full Changelog: v1.12.0...v1.12.1

v1.12.0

17 Jul 19:30
99c4f3c
Compare
Choose a tag to compare

What's Changed

  • Ensure failed oauth registration response is read before accessing response.text by @jlowin in #1118
  • Avoiding to parse string arguments containing valid JSON if the argument annotation is str by @cjg in #1113
  • Update routing for streamable HTTP to avoid 307 redirect by @yurikunash in #1115
  • add regression tests for #1113 by @bhosmer-ant in #1122
  • Fix BaseModel method name conflicts in func_metadata by @bhosmer-ant in #1123
  • README - replace code snippets with examples by @ihrpr in #1136
  • README - replace code snippets with examples - direct execution and display utilities by @ihrpr in #1137
  • Close server session after handle stateless request by @hopeful0 in #1116
  • tests: use inline_snapshot.Is on parametrized test by @Kludex in #945
  • Add regression test for stateless request memory cleanup by @felixweinberger in #1140
  • Implement RFC9728 - Support WWW-Authenticate header by MCP client by @yurikunash in #1071
  • Add streamable HTTP starlette example to Python SDK docs by @pamelafox in #1111
  • fix markdown error in README in main by @ihrpr in #1147
  • README - replace code snippets with examples - add lowlevel to snippets by @ihrpr in #1150
  • README - replace code snippets with examples - streamable http by @ihrpr in #1155
  • chore: don't allow users to create issues outside the templates by @Kludex in #1163
  • Tests(cli): Add coverage for helper functions by @davenpi in #635
  • Docs: Update CallToolResult parsing in README by @functicons in #812
  • docs: add pre-commit install guide on CONTRIBUTING.md by @dingo4dev in #995
  • fix flaky fix-test_streamablehttp_client_resumption test by @ihrpr in #1166
  • README - replace code snippets with examples -- auth examples by @ihrpr in #1164
  • Support falling back to OIDC metadata for auth by @LucaButBoring in #1061

New Contributors 🙏

Full Changelog: v1.11.0...v1.12.0

v1.11.0

10 Jul 16:36
ee54acb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.10.1...v1.11.0

v1.10.1

27 Jun 10:53
3f0964d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.10.0...v1.10.1

v1.10.0

26 Jun 13:47
dced223
Compare
Choose a tag to compare

🚀 Implementation for Spec revision 2025-06-18

  • feat: implement MCP-Protocol-Version header requirement for HTTP transport by @felixweinberger in #898
  • Rename ResourceReference to ResourceTemplateReference by @ihrpr in #947
  • feat: add _meta to more objects by @felixweinberger in #963
  • Include context into completions by @ihrpr in #966
  • Add support for Elicitation by @ihrpr in #625
  • Update _meta usage guidance in types by @ihrpr in #971
  • Add title to tools, resources, prompts by @felixweinberger in #972
  • Add resource Link by @ihrpr in #974
  • MCP server separation into Authorization Server (AS) and Resource Server (RS) roles per spec PR #338 by @ihrpr in #982
  • RFC 8707 Resource Indicators Implementation by @ihrpr in #991
  • Fix /.well-known/oauth-authorization-server dropping path by @ihrpr in #1014
  • Make "resource" optional on earlier protocols by @dr3s in #1017
  • Add schema validation to lowlevel server by @bhosmer-ant in #1005
  • feat: Add structured output support for tool functions by @bhosmer-ant in #993
  • Update latest protocol version to 2025-06-18 by @ihrpr in #1036

Other changes

New Contributors 🙏

Full Changelog: v1.9.4...v1.10.0

v1.9.4

12 Jun 07:32
20dc0fb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.9.3...v1.9.4

v1.9.3

05 Jun 15:41
5441767
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.2...v1.9.3

v1.9.2

29 May 14:31
05b7156
Compare
Choose a tag to compare

What's Changed

  • Fix ClientSessionGroup cleanup logic by @mkeid in #787
  • Chatbot example: clean up servers in correct order by @clareliguori in #353
  • llamallama-3.2-90b-vision-preview is deprecated by @Arash-IND in #523
  • Support custom httpx client creation by @nickcoai in #752
  • Python lint: Ruff rule PLW1510 -- subprocess-run-without-check by @cclauss in #794
  • add support for parallel run by @lk-naath in #739
  • Fix async callable object tools by @stephanlensky in #568
  • [DOC] Fix example usage of get_context (plus a little more) by @hesreallyhim in #801
  • Pin uv version by @Kludex in #806
  • Fix building auth metadata paths by @Rodriguespn in #779
  • Fix auth tests and ruff format by @ihrpr in #818
  • send errors to pending requests if server closes by @mroch in #333
  • RFC: Lower log levels used for connections by @nickcoai in #821
  • Support for http request injection propagation to tools by @ihrpr in #816
  • Prevent stdio connection hang for missing server path. by @TimChild in #401
  • Fix and update OAuthAuthorizationServerProvider snippet in README.md by @alvarobartt in #830
  • Client sampling and roots capabilities set to None if not implemented by @lorenzocesconetto in #802
  • Support for http request injection propagation in StreamableHttp by @ihrpr in #833

New Contributors

Full Changelog: v1.9.1...v1.9.2