[BUG] Description incorrectly passed as version to MCP Server

Author: yousoumarCreated Apr 17, 2026Updated Sep 8, 2026
Labelsbug

Describe the bug When creating a FastApiMCP instance with a description, it appears as "Version:" in the MCP Inspector instead of being treated as the server description.

To Reproduce Upon instantiating a FastApiMCP with FastAPI using:

python
app = FastAPI()
app.include_router(cost_units.router, prefix="/api/v1")

mcp = FastApiMCP(
    app,
    name="MCP Server",
    description="MCP Server Description",
)
mcp.mount()

and opening the server in MCP inspector, the description is passed as Version:

Image

System Info

toml
requires-python = ">=3.13"

dependencies = [
    "fastapi-mcp>=0.4.0",
    "fastapi[standard]>=0.135.3",
]