v1.7.0
OAuth Support for servers
- Add support for serverside oauth by @praboud-ant in #255
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 -
Fix
@mcp.tool()
Failing to Detect Context Argument When Type Variables Are Used inContext
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
-
Python lint: Ruff rules for comprehensions and performance by @cclauss in #512
-
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
- @codingjenny made their first contribution in #394
- @xuzexin-hz made their first contribution in #387
- @anupsajjan made their first contribution in #408
- @SigureMo made their first contribution in #437
- @jkawamoto made their first contribution in #358
- @medaminezghal made their first contribution in #465
- @danlapid made their first contribution in #502
- @cclauss made their first contribution in #512
- @grll made their first contribution in #601
- @bhosmer-ant made their first contribution in #482
- @praboud-ant made their first contribution in #255
Full Changelog: v1.6.0...v1.7.0