Skip to content

fix: description incorrectly passed as version to MCP server#294

Open
yousoumar wants to merge 1 commit intotadata-org:mainfrom
yousoumar:main
Open

fix: description incorrectly passed as version to MCP server#294
yousoumar wants to merge 1 commit intotadata-org:mainfrom
yousoumar:main

Conversation

@yousoumar
Copy link
Copy Markdown

@yousoumar yousoumar commented Apr 17, 2026

Describe your changes

Fixed incorrect parameter passing to the MCP Server constructor. The Server constructor was being called with positional arguments, causing description to be passed as version:

# Before (incorrect)
Server(self.name, self.description)

# After (correct)
Server(self.name, version=self.version, instructions=self.description)

Fixes #293

Checklist before requesting a review

  • Added relevant tests
  • Run ruff & mypy
  • All tests pass

@yousoumar yousoumar changed the title fix: server description incorrectly displayed as version in MCP inspector fix: description incorrectly passed as version to MCP server Apr 18, 2026
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] Description incorrectly passed as version to MCP Server

1 participant