chore(deps): update dependency fastmcp to v3.3.1#477
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
For team members: test commit |
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.2.4→3.3.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
PrefectHQ/fastmcp (fastmcp)
v3.3.1: : Loop There It IsCompare Source
FastMCP 3.3.1 is a hotfix for the 3.3 packaging split. Clean installs of 3.3.0 could fail on standalone component imports like
from fastmcp.tools import toolbecause component modules reached auth and task primitives throughfastmcp.server, pulling in the server/provider stack and exposing a circular import.Component-level auth and task primitives now live in lightweight utility modules, with the old server import paths preserved as compatibility re-exports. Component imports stay lightweight, existing server-facing imports continue to work, and the release also includes small docs corrections from the 3.3 rollout.
What's Changed
Fixes 🐞
Full Changelog: PrefectHQ/fastmcp@v3.3.0...v3.3.1
v3.3.0: : Slim ReaperCompare Source
FastMCP 3.3 ships
fastmcp-slim, a new lightweight distribution that separates the client from the server stack. It also closes out a meaningful backlog of security hardening, observability improvements, and auth additions that accumulated through the 3.2 cycle.fastmcp-slim
The full FastMCP package pulls in Starlette, Uvicorn, and the rest of the server machinery — necessary for running a server, but wasteful if you're writing a client, a script, or an agent that just needs to talk to MCP.
fastmcp-slimis a dependency-light distribution that ships the client and transport layer without any of that.The import namespace is unchanged:
Install
fastmcp-slim[client]anywhere you want FastMCP's client without the server footprint — CI environments, lightweight agents, library dependencies that shouldn't force Uvicorn on downstream users.Security
The OAuth proxy received three hardening upgrades. Silent consent is now guarded against AS-in-the-middle attacks — a malicious authorization server can no longer silently approve a consent it wasn't meant to handle. Redirect URI allowlist matching now rejects dot-segment paths (
/../,/./) that could otherwise bypass prefix checks. AndResponseCachingMiddlewarepartitions its cache by access token, closing a gap where different users could see each other's cached responses.Auth
AzureB2CProvideradds first-class support for Azure AD B2C user flows. The OCI provider is fixed for 3.x installs. AndOAuthProxygains a publicupdate_scopes()API for updating the proxy's required scopes after initialization — useful for servers that determine scope requirements at runtime.Observability
OTEL instrumentation is now fully compliant with MCP semantic conventions. List operations (
list_tools,list_resources,list_prompts,list_resource_templates) are instrumented, and delegate spans on proxy servers are enriched with backend attributes.Thread Affinity
Sync tools run in a thread pool by default. If your tool holds thread-local state or is bound to a specific thread (UI frameworks, some database drivers), you can now opt out:
Under the Hood
Docket is now reentrant, and mounted servers enter their own lifespan — so a server with startup/shutdown logic works correctly when composed into a larger server. The
FastMCPconstructor acceptsexperimental_capabilitiesfor passing raw capability flags. Tool errors accept alog_levelparameter to control how they're logged.FormInputsupports a default prefill value.Fixes: ping loop now exits cleanly when a stream closes; sampling from background tasks works correctly; Windows startup no longer crashes on non-UTF-8 console output; blank query string values are preserved in OpenAPI routing;
$defsintroduced byArgTransformare hoisted to the schema root; HTTP transports are terminated before lifespan shutdown.13 new contributors this release.
What's Changed
New Features 🎉
Enhancements ✨
Security 🔒
Fixes 🐞
Docs 📚
Dependencies 📦
Other Changes 🦾
New Contributors
Full Changelog: PrefectHQ/fastmcp@v3.2.4...v3.3.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.