Skip to content

Rename FastMCP to MCPServer and restructure constructor #1732

@maxisbey

Description

@maxisbey

Summary

Rename FastMCP to MCPServer (or similar) and restructure so that transport-specific options are passed to run() rather than the constructor.

Motivation

  • The name "FastMCP" was inherited from the original external project but doesn't clearly convey what it is
  • The constructor currently accepts many HTTP-specific options (host, port, stateless_http, etc.) that only apply when running with a specific transport
  • This couples server definition with transport configuration

Goal

  • Clear, descriptive name for the high-level server class
  • Constructor focused on server identity and capabilities
  • Transport-specific options moved to run() or transport configuration

AI Disclaimer

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Broken core functionality, security issues, critical missing featurebreaking changeWill break existing deployments when updated without changesenhancementRequest for a new feature that's not currently supportedv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions