Skip to content

feat!: remove FastMCP support - #40

Merged
IBJunior merged 1 commit into
mainfrom
feat/remove-fastmcp
Oct 4, 2026
Merged

IBJunior merged 1 commit into
mainfrom
feat/remove-fastmcp

Conversation

@IBJunior

@IBJunior IBJunior commented Oct 4, 2026

Copy link
Copy Markdown
Member

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).
  • The framework and FastMCP "server mode" prompts in interactive mode.
  • Framework, FastMCPTemplateOptions, and the stateless option (only FastMCP read it).
  • fastmcp from update-template-deps.

Collapsed: the package.json, AGENTS.md, .env.example and tsconfig.json templates no longer branch on framework. getTsconfigTemplate() always excludes test files.

Kept for compatibility

  • --framework is still parsed, so --framework=sdk keeps working.
  • --framework=fastmcp exits 1 with a removal message pointing at npx @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, Prettier
  • Generated http, stdio, OAuth and pnpm projects with this branch and with main, and diff -r shows them byte-identical
  • --framework=fastmcp prints the removal message and exits 1; --help shows the compatibility note

Before 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

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.
@IBJunior
IBJunior merged commit 3388008 into main Oct 4, 2026
2 checks passed
@IBJunior
IBJunior deleted the feat/remove-fastmcp branch October 4, 2026 17:27
@IBJunior IBJunior mentioned this pull request Oct 4, 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.

1 participant