Skip to content

pinning mcp as version 2 is not compatible - #3

Open
joelsmithucl wants to merge 1 commit into
essentialproject:masterfrom
joelsmithucl:feature-pin-mcp
Open

pinning mcp as version 2 is not compatible#3
joelsmithucl wants to merge 1 commit into
essentialproject:masterfrom
joelsmithucl:feature-pin-mcp

Conversation

@joelsmithucl

Copy link
Copy Markdown

I have found I need to pin the mcp version for using this mcp in Kiro due to the below from Claude AI

"This confirms the issue. The mcp Python SDK released v2 with major breaking changes. Your server code uses the v1 API style (from mcp.server import Server, @server.list_tools() decorator style, etc.), and since requirements.txt has no version pin, pip install mcp now installs v2 which is incompatible.

The migration guide explicitly says: "If your package depends on mcp, keep a <2 upper bound until you've migrated.""

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