Skip to content

fix(gti-mcp): pin FastMCP and uvicorn versions to resolve startup failure - #278

Open
dandye wants to merge 1 commit into
mainfrom
kenn-forge/issue-277-gti-mcp-fails-to-start-due-to-incompatible-fastmcp-version-being
Open

fix(gti-mcp): pin FastMCP and uvicorn versions to resolve startup failure#278
dandye wants to merge 1 commit into
mainfrom
kenn-forge/issue-277-gti-mcp-fails-to-start-due-to-incompatible-fastmcp-version-being

Conversation

@dandye

@dandye dandye commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Fixes #277

Pin explicit minimum versions for dependencies to prevent incompatible FastMCP installations from breaking the server at import time.

Changes

  • mcp>=1.23.0: Ensures compatible MCP server infrastructure
  • fastmcp>=3.2.0: Explicitly declare FastMCP as required (was used but not pinned)
  • uvicorn>=0.34.0: Explicitly declare uvicorn as required for HTTP transport

Root Cause

The gti-mcp server failed to start because:

  1. mcp was specified without version constraints
  2. fastmcp was used in code but not declared as a dependency
  3. uvicorn was required but not declared as a dependency

This allowed pip to install incompatible versions that broke the from mcp.server.fastmcp import FastMCP import.

Verification

  • Dependency specifications verified in both setup.py and pyproject.toml
  • Fix aligns with existing pattern in codebase (commit ca792ab)

@dandye
dandye requested a review from a team August 13, 2026 13:28
…lure

Pin explicit minimum versions for dependencies to prevent incompatible
FastMCP installations from breaking the server at import time.

- mcp>=1.23.0: Ensures compatible MCP server infrastructure
- fastmcp>=3.2.0: Explicitly declare FastMCP as required (was used but not pinned)
- uvicorn>=0.34.0: Explicitly declare uvicorn as required for HTTP transport

Fixes #277
@dandye
dandye force-pushed the kenn-forge/issue-277-gti-mcp-fails-to-start-due-to-incompatible-fastmcp-version-being branch from 26e190b to 038b13a Compare August 13, 2026 13:36
@google google deleted a comment from google-cla Bot Aug 13, 2026
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.

gti-mcp fails to start due to incompatible FastMCP version being installed automatically

1 participant