Skip to content

fix: restrict fastmcp version to avoid potential KeyError - #411

Merged
dsarno merged 1 commit into
CoplayDev:mainfrom
Jordonh18:bug/fix-ctx-KeyError
Dec 1, 2025
Merged

fix: restrict fastmcp version to avoid potential KeyError#411
dsarno merged 1 commit into
CoplayDev:mainfrom
Jordonh18:bug/fix-ctx-KeyError

Conversation

@Jordonh18

@Jordonh18 Jordonh18 commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

This pull request introduces a minor update to the dependency specification for fastmcp in the Server/pyproject.toml file. The change restricts the allowed versions of fastmcp to exclude versions beyond 2.13.1, avoiding the ctx keyerror

  • Restricted the fastmcp dependency to versions >=2.13.0,<2.13.2 in Server/pyproject.toml to prevent use of potentially incompatible newer versions.
@dsarno

dsarno commented Dec 1, 2025

Copy link
Copy Markdown
Collaborator

Thank you, I confirmed your diagnosis and tested the fix. Merging now and will investigate updating unity-mcp to work with latest fastmcp update.

@dsarno
dsarno merged commit dd7b1e0 into CoplayDev:main Dec 1, 2025
1 check was pending
dsarno added a commit to dsarno/unity-mcp that referenced this pull request Dec 2, 2025
* 'main' of https://github.com/CoplayDev/unity-mcp:
  chore: bump version to 8.1.4
  Fix Claude Windows config and CLI status refresh (CoplayDev#412)
  chore: bump version to 8.1.3
  fix: restrict fastmcp version to avoid potential KeyError (CoplayDev#411)
  chore: bump version to 8.1.2
  Revert project script change
  chore: bump version to 8.1.1
  Fix CLI entry point path in pyproject.toml (CoplayDev#407)
  Fix manage prefabs (CoplayDev#405)
  Remove automatic version bumping from README files and switch to unversioned git URLs
  chore: bump version to 8.1.0
  Add distribution settings for Asset Store vs git defaults (CoplayDev#404)
  Add CodeBuddy CLI configurator (CoplayDev#403)
  Fix stdio reloads (CoplayDev#402)
  Simplify MCP client configs (CoplayDev#401)
  chore: bump version to 8.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants