fastapi_mcp
fastapi_mcp copied to clipboard
fix: correct description parameter in Server initialization
Summary
Fixes #272 - The self.description was being passed as a positional argument to the Server constructor, but the second positional parameter is actually version, not description.
Changes
- Changed
Server(self.name, self.description)toServer(self.name, description=self.description)
Verification
This ensures the FastAPI application description is correctly registered as the MCP server description, rather than being incorrectly set as the version.
Fixes #272