Skip to content

Conversation

@parente
Copy link

@parente parente commented Dec 8, 2025

Describe your changes

The FastAPI server description attribute is being passed to the MCP server version position parameter. Probably due to a reordering or introduction of new parameters in the mcp SDK code.

https://github.com/modelcontextprotocol/python-sdk/blob/89ff338174cec2b28f23deaec6136a4f3b11e875/src/mcp/server/lowlevel/server.py#L140-L142

This PR fixes the bug by passing the values by name instead.

Issue ticket number and link (if applicable)

N/A

Screenshots of the feature / bugfix

N/A

Checklist before requesting a review

  • Added relevant tests (nothing new)
  • Run ruff & mypy
  • All tests pass

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