Skip to content

Releases: modelcontextprotocol/python-sdk

v1.9.1

22 May 15:49
e80c015
Compare
Choose a tag to compare

What's Changed

  • Add OAuth authentication client for HTTPX by @ihrpr in #751
  • fastmcp: allow passing Tool directly to FastMCP constructor by @vbarda in #699
  • add auth client sse by @ihrpr in #760
  • Change default binding from 0.0.0.0 to 127.0.0.1 to align with security recommendations by @ciccolo-anthropic in #738
  • fix: Pass cursor parameter to server by @nbarbettini in #745

New Contributors

Full Changelog: v1.9.0...v1.9.1

v1.9.0

15 May 18:44
6353dd1
Compare
Choose a tag to compare

Protocol Version Update

Now the latest protocol version for Python SDK is 2025-03-26

What's Changed

  • Fix typo in authentication section of README by @mopg in #676
  • fix: 204 is an acceptable response to DELETEing the session by @nbarbettini in #697
  • Minor tweaks to README for Streamable HTTP by @evalstate in #690
  • Properly infer prefix for SSE messages by @jlowin in #659
  • Simple Auth Example to use shttp in addition to sse by @ihrpr in #695
  • Create ClientSessionGroup for managing multiple session connections. by @mkeid in #639
  • fix typo: server has get_context attribute instead of request_context. by @shimizukawa in #446
  • docs: clarify LLM API configuration in mcp_simple_chatbot README by @ddltn in #487
  • fix: Add checks and better error messages on server object for mcp run by @john0312 in #297
  • Fix hanging on streams when stdio_client exiting by @LionNatsu in #559
  • feat: add message to ProgressNotification by @aksheyd in #435
  • Update CI configuration to support multiple OS environments by @DanielAvdar in #708
  • feat: add cursor pagination support to all client list methods by @jerome3o-anthropic in #718
  • Add example for stateless server with JSON response by @5enxia in #704
  • Include server examples folder in pyright check by @ihrpr in #667
  • Set 2025-03-26 as the latest protocol version by @ihrpr in #719
  • Fix example for multiple stateless servers by @ihrpr in #720
  • fix: Update @mcp.resource to use function documentation as default descrip… by @jingyugao in #489
  • Add progress notification callback for client by @ihrpr in #721
  • Servers to accept older versions of client by @ihrpr in #722

New Contributors

Full Changelog: v1.8.1...v1.9.0

v1.8.1

12 May 17:32
c6fb822
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.8.0...v1.8.1

v1.8.0

08 May 20:06
ed25167
Compare
Choose a tag to compare

Streamable HTTP release

This is the first release supporting the new Streamable HTTP transport from protocol version 2025-03-26, which supersedes the SSE transport from protocol version 2024-11-05. 🎉
Please report any issues at https://github.com/modelcontextprotocol/python-sdk/issues

Other Changes

  • Handle SSE Disconnects Properly by @akash329d in #612
  • Add mount_path support for proper SSE endpoint routing with multiple FastMCP servers by @tim-watcha in #540
  • docs: fix broken link to OAuthServerProvider in Authentication section of README by @samad-yar-khan in #651
  • Fix the issue of get Authorization header fails during bearer auth by @yabea in #637
  • Auth SSE simple example by @ihrpr in #610
  • Fix: Use absolute path to uv executable in Claude Desktop config by @arcAman07 in #440
  • Introduce a function to create a standard AsyncClient with options by @ihrpr in #655

New Contributors

Full Changelog: v1.7.0...v1.8.0

v1.7.1

02 May 17:00
ba04a0f
Compare
Choose a tag to compare

Full Changelog: v1.7.0...v1.7.1

v1.7.0

01 May 19:16
2210c1b
Compare
Choose a tag to compare

OAuth Support for servers

Tool Annotations

  • Add ToolAnnotations support in FastMCP and lowlevel servers by @bhosmer-ant in #482

Other changes

  • Docs: Change README to correct pip installation command for MCP CLI support by @codingjenny in #394

  • Fix python -m command error by @xuzexin-hz in #387

  • Docs : Enhance README to suggest commands for creating a new UV project before adding mcp dependency. by @anupsajjan in #408

  • Fix lifespan_context access example in README by @SigureMo in #437

  • Match ruff version on CI and local by @Kludex in #471

  • Fix @mcp.tool() Failing to Detect Context Argument When Type Variables Are Used in Context by @jkawamoto in #358

  • Support custom client info throughout client APIs by @jerome3o-anthropic in #474

  • Fix tests for Pydantic 2.11 by @medaminezghal in #465

  • Move uvicorn import to usage by @danlapid in #502

  • Python lint: Ruff rules for comprehensions and performance by @cclauss in #512

  • Format files with ruff by @ihrpr in #562

  • replace inefficient use of to_jsonable_python by @samuelcolvin in #545

  • add a timeout arguments on per-request basis (as per MCP specifications) by @grll in #601

  • add pytest-pretty dev dependency by @samuelcolvin in #546

  • Properly clean up response streams in BaseSession by @bhosmer-ant in #515

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

27 Mar 16:45
d788424
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.6.0

v1.5.0

21 Mar 11:44
9ae4df8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.1...v1.4.2

v1.4.1

14 Mar 09:51
7196604
Compare
Choose a tag to compare

What's Changed

  • Update README to clarify installing mcp to project vs running mcp by @john0312 in #277
  • Revert "refactor: reorganize message handling for better type safety and clarity" by @Kludex in #282

New Contributors

Full Changelog: v1.4.0...v1.4.1

v1.4.0

13 Mar 13:46
9d0f2da
Compare
Choose a tag to compare

What's Changed

  • Update URL validation to allow file and other nonstandard schemas by @hmwildermuth in #207
  • Add client handling for sampling, list roots, ping by @jerome3o-anthropic in #218
  • Updated typing on request context for the server to use server session by @jerome3o-anthropic in #217
  • Fix #177: Returning multiple tool results by @dsp-ant in #222
  • Use proper generic for Context by @Kludex in #245
  • Drop AbstractAsyncContextManager for proper type hint to BaseSession by @Kludex in #257
  • Add ServerSessionT type var to Context by @Kludex in #271
  • Create Client websocket.py by @calclavia in #179
  • Close unclosed resources in the whole project by @Kludex in #267
  • Add support for Linux configuration path in get_claude_config_path by @emsi in #270
  • Release on GitHub release by @Kludex in #276
  • Changed default log level to error by @Michaelzag in #258
  • refactor: reorganize message handling for better type safety and clarity by @dsp-ant in #239

New Contributors

Full Changelog: v1.3.0...v1.4.0

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy