Skip to content

Fix v2 upgrade guide: remove incorrect v1 import advice#3226

Merged
jlowin merged 3 commits intomainfrom
docs/fix-v2-upgrade-guide-import
Feb 19, 2026
Merged

Fix v2 upgrade guide: remove incorrect v1 import advice#3226
jlowin merged 3 commits intomainfrom
docs/fix-v2-upgrade-guide-import

Conversation

@jlowin
Copy link
Copy Markdown
Member

@jlowin jlowin commented Feb 19, 2026

The "Upgrading from FastMCP 2" guide opened by telling v2 users to swap from mcp.server.fastmcp import FastMCP for from fastmcp import FastMCP — an import change that only applies to v1/MCP SDK users (already covered in the other guide). FastMCP 2 users have always used from fastmcp import FastMCP.

Removed the bogus import migration step from both the prose and the embedded LLM prompt, and reframed the opening to accurately describe what v2→v3 actually touches: deprecated constructor kwargs, sync-to-async shifts, and renamed methods.

@jlowin jlowin merged commit 06155d3 into main Feb 19, 2026
10 checks passed
@jlowin jlowin deleted the docs/fix-v2-upgrade-guide-import branch February 19, 2026 02:29
@marvin-context-protocol marvin-context-protocol Bot added the documentation Updates to docs, examples, or guides. Primary change is documentation-related. label Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Updates to docs, examples, or guides. Primary change is documentation-related.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant