fastapi_mcp icon indicating copy to clipboard operation
fastapi_mcp copied to clipboard

fix: correct description parameter in Server initialization

Open vincent067 opened this issue 7 months ago • 0 comments

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) to Server(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

vincent067 avatar Apr 16 '26 00:04 vincent067