Download Latest Version v2.8.1_ Sound Judgement source code.tar.gz (2.6 MB)
Email in envelope

Get an email when there's a new version of FastMCP

Home / v2.7.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-06-05 3.5 kB
v2.7.0_ Pare Programming source code.tar.gz 2025-06-05 1.6 MB
v2.7.0_ Pare Programming source code.zip 2025-06-05 1.7 MB
Totals: 3 Items   3.3 MB 0

This is primarily a housekeeping release to remove or deprecate cruft that's accumulated since v1. Primarily, this release refactors FastMCP's internals in preparation for features planned in the next few major releases. However please note that as a result, this release has some minor breaking changes (which is why it's 2.7, not 2.6.2, in accordance with repo guidelines) though not to the core user-facing APIs. Examples include: - decorators return the objects they create, not the decorated function - websockets is an optional dependency - methods on the server for automatically converting functions into tools/resources/prompts have been deprecated in favor of using the decorators directly

Happily, this release DOES permit the use of "naked" decorators to align with Pythonic practice:

:::python
@mcp.tool
def my_tool():
    ...

What's Changed

New Features 🎉

Fixes 🐞

Breaking Changes 🛫

Docs 📚

New Contributors

Full Changelog: https://github.com/jlowin/fastmcp/compare/v2.6.1...v2.7.0

Source: README.md, updated 2025-06-05