Skip to content

feat: add support for typescript fastmcp and frameworks selection#11

Merged
IBJunior merged 2 commits intomainfrom
feat/fastmcp-integration
Jan 10, 2026
Merged

feat: add support for typescript fastmcp and frameworks selection#11
IBJunior merged 2 commits intomainfrom
feat/fastmcp-integration

Conversation

@IBJunior
Copy link
Member

Add FastMCP framework support

Adds FastMCP as an alternative framework option alongside the official MCP SDK.

Changes

  • New framework selection prompt - Users can now choose between "Official MCP SDK" (full control with Express.js) or "FastMCP" (simpler API, less boilerplate)
  • Reorganized template structure - Templates moved from streamable-http/ and stateful-streamable-http/ to sdk/stateless/, sdk/stateful/, and fastmcp/
  • Framework-aware package.json - Generates correct dependencies based on framework choice (fastmcp + zod vs @modelcontextprotocol/sdk + express + zod)
  • Consistent examples - Both frameworks include the same example tool, prompt, and resource

New CLI flow

? Project name: my-mcp-server
? Package manager: npm / pnpm / yarn
? Framework: Official MCP SDK / FastMCP ← NEW
? Server mode: Stateless / Stateful
? Enable OAuth authentication? (SDK stateful only)
? Initialize git repository?

Notes

  • OAuth is only available for SDK stateful template (FastMCP uses its own auth approach)
  • FastMCP handles stateless/stateful via config option rather than separate templates

@IBJunior IBJunior merged commit e97f812 into main Jan 10, 2026
2 checks passed
@IBJunior IBJunior deleted the feat/fastmcp-integration branch January 10, 2026 18:47
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