Skip to content

fix(deps): cap MCP SDK below 2 - #1

Merged
priyam-wisdom merged 1 commit into
mainfrom
codex/fix-mcp-sdk-upper-bound
Jul 29, 2026
Merged

fix(deps): cap MCP SDK below 2#1
priyam-wisdom merged 1 commit into
mainfrom
codex/fix-mcp-sdk-upper-bound

Conversation

@priyam-wisdom

Copy link
Copy Markdown

Description

MCP SDK 2.0 removed the mcp.server.fastmcp module, so fresh installs of this fork crash before the server can initialize. Keep the existing server on compatible MCP 1.x until it is migrated to the SDK 2 API.

This mirrors googleanalytics/google-analytics-mcp#200 and fixes the failure reproduced in Wisdom E2E run #30409614902.

Test plan

  • Fresh Python 3.13 install from this branch resolves mcp==1.29.0 and imports FastMCP.
  • Repository unit suite passes (3 tests).
  • Rerun Wisdom's test_mcp_server_connection_and_crawl_metadata[ga-stdio] after merge.

@priyam-wisdom

Copy link
Copy Markdown
Author

🔍 AI Code Review — Codex (local CLI, sha 9cc840cc5089)

Verdict: ✅ Clean — no actionable findings.

The <2 constraint matches the existing mcp.server.fastmcp import boundary and excludes both MCP 2.0 prereleases and final releases.

Validation reviewed: fresh Python 3.13 install resolved mcp==1.29.0, FastMCP imported successfully, and all 3 repository tests passed.

@priyam-wisdom
priyam-wisdom marked this pull request as ready for review July 29, 2026 00:21
@priyam-wisdom
priyam-wisdom requested review from mwu-wisdom and sumeet-wisdom and removed request for mwu-wisdom July 29, 2026 00:21
@priyam-wisdom
priyam-wisdom merged commit 09327e2 into main Jul 29, 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.

2 participants