Skip to content

fix: correct description parameter in Server initialization#292

Open
vincent067 wants to merge 1 commit intotadata-org:mainfrom
vincent067:fix/server-description-param
Open

fix: correct description parameter in Server initialization#292
vincent067 wants to merge 1 commit intotadata-org:mainfrom
vincent067:fix/server-description-param

Conversation

@vincent067
Copy link
Copy Markdown

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

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.

[BUG] self.description is passed to version parameter instead of description in Server initialization

1 participant