Repository navigation
feat!: remove FastMCP support - #40
Merged
Merged
Conversation
FastMCP was deprecated in 0.9.0. It never moved to MCP SDK v2, so its projects stayed on the 2025-era protocol and shipped without tests. - Delete src/templates/fastmcp/ and the 0.9.0 deprecation warning - Collapse every framework branch: package.json, AGENTS.md, .env.example and tsconfig templates now always emit the SDK variant (tsconfig always excludes test files) - Drop the framework and FastMCP server-mode prompts from interactive mode - Drop Framework, FastMCPTemplateOptions and the unused stateless option - Remove fastmcp from the template dependency updater --framework is still parsed so --framework=sdk keeps working. --framework=fastmcp exits with a removal message pointing at @agentailor/create-mcp-server@0.9, checked before --name. Generated SDK projects are byte-identical to the previous release. BREAKING CHANGE: --framework=fastmcp is no longer supported.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes FastMCP, deprecated in 0.9.0 (#36). It never moved to MCP SDK v2, so FastMCP projects stayed on the 2025-era protocol and shipped without tests. Breaking — meant to ship as 0.10.0.
Removed
src/templates/fastmcp/and the 0.9.0 deprecation warning (src/deprecations.ts).Framework,FastMCPTemplateOptions, and thestatelessoption (only FastMCP read it).fastmcpfromupdate-template-deps.Collapsed: the
package.json,AGENTS.md,.env.exampleandtsconfig.jsontemplates no longer branch on framework.getTsconfigTemplate()always excludes test files.Kept for compatibility
--frameworkis still parsed, so--framework=sdkkeeps working.--framework=fastmcpexits 1 with a removal message pointing atnpx @agentailor/create-mcp-server@0.9 --framework=fastmcp. It's checked before--name, so users learn why first. Any other value gets "unknown --framework".Docs: README and AGENTS.md drop the FastMCP sections and the "(SDK only)" qualifiers. AGENTS.md records why FastMCP was removed and what's kept on purpose. The README's "Getting Started with FastMCP" learning-resource link is removed too.
Test plan
npm run build,npm test(434 passing),npm run lint, Prettiermain, anddiff -rshows them byte-identical--framework=fastmcpprints the removal message and exits 1;--helpshows the compatibility noteBefore releasing
The removal message sends users to
@0.9, so 0.9.0 must be live on npm (staged release approved) before 0.10.0 ships.🤖 Generated with Claude Code