Skip to content

docs: route SDK v1 users to the correct upgrade guide - #5372

Merged
zzstoatzz merged 2 commits into
PrefectHQ:mainfrom
aritejhg:docs/clarify-sdk-v1-upgrade-routing
Oct 2, 2026
Merged

zzstoatzz merged 2 commits into
PrefectHQ:mainfrom
aritejhg:docs/clarify-sdk-v1-upgrade-routing

Conversation

@aritejhg

@aritejhg aritejhg commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

The FastMCP 3 → 4 guide can receive readers whose environment has a 3.x fastmcp package but whose source still imports the SDK-bundled FastMCP 1.0 class. That makes two existing SDK v1 migrations look like new v4 breaks.

This adds an early cross-reference to the SDK v1 guide and teaches the embedded upgrade prompt to detect the wrong starting version. The linked guide carries the complete migration:

from fastmcp import FastMCP

mcp = FastMCP("name")
mcp.run(transport="http", host="0.0.0.0", port=10000)

Fixes #5353

🤖 Generated with OpenAI Codex
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

This pull request is awaiting maintainer assignment. Linked PRs stay open while maintainers triage the issue; this check remains failing until assignment.

Per CONTRIBUTING.md, an external PR must reference an issue that's assigned to its author. To get there:

  1. A maintainer will review the issue and decide whether to assign you. Please don't comment just to request assignment.

Once you're assigned and the link is present, this check is re-run automatically. Previously gate-closed PRs also reopen — no further action needed.

Maintainers: reopen this PR or remove the missing-issue-link label to bypass this check.

@marvin-context-protocol marvin-context-protocol Bot added the documentation Updates to docs, examples, or guides. Primary change is documentation-related. label Oct 1, 2026
@zzstoatzz
zzstoatzz merged commit 361e43b into PrefectHQ:main Oct 2, 2026
9 checks passed
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. missing-issue-link

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v3 → v4 upgrade guide missing two breaking import changes

2 participants