Skip to content

Update fastmcp requirement from >=4.1.6 to >=4.2.0 - #652

Merged
codingjoe merged 2 commits into
mainfrom
dependabot/pip/fastmcp-gte-4.2.0
Nov 17, 2026
Merged

codingjoe merged 2 commits into
mainfrom
dependabot/pip/fastmcp-gte-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on fastmcp to permit the latest version.

Release notes

Sourced from fastmcp's releases.

v4.2.0: Mad Skills

FastMCP 4.2 serves agent skills from the server. A skill used to live in a folder on each machine, so every agent kept its own copy and an update meant asking everyone to reinstall. Now the server holds one copy next to the tools the skill describes, and a deploy updates every agent that reads it.

from fastmcp import FastMCP, Skill
from fastmcp.skills.provider import SkillCatalogProvider
deploy = Skill.from_directory("skills/deploy")
mcp = FastMCP("Team Skills")
mcp.add_provider(SkillCatalogProvider([deploy]))

Any client can read a skill's files as ordinary resources. Clients that speak the experimental Skills extension also get skills/list, with a hashed manifest for each skill. Few hosts support it yet, so FastMCP's client fills in: Client.read_skill() checks every file's size and digest, and to_directory() installs a skill into an agent's local skills folder. Skills work with the rest of FastMCP: they're namespaced under mounts, pass through proxies, list across a ClientGroup, and respect AuthMiddleware. The skills docs cover the details.

Dependencies can now be declared in the annotation, as in Annotated[dict, Depends(get_config)], so the parameter keeps its real type, and a dependency can own the tool argument it reads through CallArgument. The rest of the release is fixes across OpenAPI, proxies, auth, telemetry and tasks. Thirteen community PRs merged during the cycle were reverted before release and are not listed here.

Before upgrading

  • Python 3.11 or newer is required.
  • The 4.1 skills API is deprecated and will be removed in 4.3. The old providers in fastmcp.server.providers.skills and helpers in fastmcp.utilities.skills still work and warn with their replacement. The skills docs include a migration table.
  • Skill is now the class you author with. The wire model that used that name is MCPSkill; the old import works until 4.3.

Thanks to our 120 contributors, including 46 first-time contributors.

Breaking Changes ⚠️

Enhancements ✨

... (truncated)

Changelog

Sourced from fastmcp's changelog.


title: "Changelog" description: "Release notes for every FastMCP version, with the changes, fixes, and contributors in each release." icon: "list-check" rss: true tag: NEW

v4.2.0: Mad Skills

FastMCP 4.2 makes skills something a server can serve. A Skill is now a plain value — a name, a description, instructions and files, validated once when you build it — and you can load one from a directory or a package, or build it in code. Put skills on a server with SkillCatalogProvider or SkillsDirectoryProvider and they're served as ordinary resources; clients that speak the experimental Skills extension also get skills/list with a hashed manifest per skill. Client support is still uneven, so FastMCP's own client covers the gap: Client.read_skill() verifies every file's size and digest, and to_directory() installs a skill into any agent's skills folder. Skills follow the rest of FastMCP's composition: they namespace under mounts, pass through proxies with skills=True, list across a ClientGroup, and respect AuthMiddleware.

Dependencies got two upgrades. A dependency can live in the annotation (Annotated[dict, Depends(get_config)]), so the parameter keeps its real type, and a dependency can now own the tool argument it reads through CallArgument. The rest is a broad sweep of fixes across OpenAPI, proxies, auth, telemetry and tasks, including completion no longer suggesting values for prompts or templates a caller can't see. Thirteen community PRs merged during the cycle were reverted before release and are not listed here.

Check these before upgrading:

  • Python 3.11 or newer is required.
  • The 4.1 skills API is deprecated and goes away in 4.3. The old providers in fastmcp.server.providers.skills and helpers in fastmcp.utilities.skills still work and warn with their replacement; the skills docs have a migration table.
  • Skill is now the authoring class. The wire model that used that name is MCPSkill; the old import keeps working until 4.3.

Thanks to our 120 contributors, including 46 first-time contributors.

Breaking Changes ⚠️

Enhancements ✨

... (truncated)

Commits
  • 5e71792 docs: add v4.2.0 changelog entries (#6482)
  • c89f195 Update docs logo to new FastMCP wordmark (#6462)
  • 8bf9a9c Drop GC ResourceWarnings at the assertion in CLI OAuth warning checks (#6481)
  • 3083fd5 Accept a sync tool timeout that fires before its thread starts (#6475)
  • 7d0455c Ignore stray ResourceWarnings in CLI OAuth warning checks (#6474)
  • fbaeb9d fix(skills): follow empty pagination cursors when listing skills (#6473)
  • 55780f7 docs: add v4.2.0a5 changelog entries (#6469)
  • 937d4be Add SkillManifestProvider to serve skills without loading their files (#6465)
  • 7130424 Remove private dead code and type-check the companion packages (#6454)
  • 118ce1d Fix the CLI .js deprecation warning and a dead error-message link (#6453)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [fastmcp](https://github.com/PrefectHQ/fastmcp) to permit the latest version.
- [Release notes](https://github.com/PrefectHQ/fastmcp/releases)
- [Changelog](https://github.com/PrefectHQ/fastmcp/blob/main/docs/changelog.mdx)
- [Commits](PrefectHQ/fastmcp@v4.1.6...v4.2.0)

---
updated-dependencies:
- dependency-name: fastmcp
  dependency-version: 4.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 17, 2026
@github-actions

Copy link
Copy Markdown

Coverage Results 📊

✅ Patch coverage is 100.00% (no changed executable lines found; target 80%).
Project statement coverage is 95.15% (unchanged from base (bb058a1) to head (795ad73)).

Coverage diff
@@            Coverage Diff             @@
##          main      #652       +/-##
==========================================
  Coverage    95.15%    95.15%        —%
==========================================
  Files          313       313         —
  Tracked lines     15959     15959         —
  Branches         0         0         —
==========================================
  Hits         15185     15185         —
  Misses         774       774         —
  Partials         0         0         —

Generated by Coverage Action

@codingjoe
codingjoe merged commit 7321798 into main Nov 17, 2026
10 checks passed
@codingjoe
codingjoe deleted the dependabot/pip/fastmcp-gte-4.2.0 branch November 17, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant