Skip to content

chore(deps): upgrade fastmcp to 4.2.0 - #2115

Open
phernandez wants to merge 1 commit into
mainfrom
chore/fastmcp-4.2
Open

phernandez wants to merge 1 commit into
mainfrom
chore/fastmcp-4.2

Conversation

@phernandez

Copy link
Copy Markdown
Member

Upgrades FastMCP from 4.1.3 to 4.2.0, the release that makes skills a server feature.

Change

  • fastmcp==4.2.0 in pyproject.toml and in the four Claude Code and Codex hook scripts, which must match the core pin.
  • mcp/resources/skills.py moves off the 4.1 skills API, which 4.2 deprecates and 4.3 removes. It now uses fastmcp.skills.provider.SkillsDirectoryProvider. That provider:
    • registers the Skills extension (skills/list, SEP-2640) itself, so the experimental_skills=True flag and the manual add_extension(SkillsExtension(...)) call are gone;
    • validates every SKILL.md at construction, so a malformed bundled skill fails server startup instead of disappearing from the list.
  • Lock changes: fastmcp and fastmcp-slim 4.2.0 plus minor transitive bumps. keyring and its jaraco dependencies drop out because fastmcp no longer requires them.

Tests

  • The server imports with -W error::DeprecationWarning, and SkillsExtension is registered.
  • tests/mcp/test_skill_resources.py and tests/test_skills_dist.py: 60 passed.
  • just fast-check passes.
  • just test-sqlite: 8712 passed, 7 failed.
    • Three were the hook pin checks (test_codex_plugin_package.py), fixed by this commit.
    • Four were watcher and CLI-exit timeouts under full-suite load. All pass on rerun; none touch fastmcp.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CMYVL1rjJwNnrvxniz1dDD

FastMCP 4.2 makes skills a first-class server feature and deprecates the
4.1 skills API we used, for removal in 4.3. The bundled skills now come
from fastmcp.skills.provider.SkillsDirectoryProvider, which validates
every SKILL.md at startup and registers the Skills extension itself, so
the experimental_skills flag and the manual add_extension call are gone.

The Claude Code and Codex hook scripts pin the same fastmcp version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CMYVL1rjJwNnrvxniz1dDD
Signed-off-by: phernandez <paul@basicmachines.co>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T18:17:55.083394Z a7aaa32 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant