Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ydb>=3.21.0
mcp>=1.6.0
mcp=1.12.4
7 changes: 6 additions & 1 deletion ydb_mcp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,12 @@ def register_tools(self):

# Register all tools with FastMCP framework
for spec in tool_specs:
self.add_tool(spec["handler"], name=spec["name"], description=spec["description"])
self.add_tool(
spec["handler"],
name=spec["name"],
description=spec["description"],
structured_output=False, # Structured output is temporarily disabled until proper schema definitions are implemented. See https://github.com/ydb-platform/ydb-mcp/issues/12 for details.
Copy link

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment should explain why structured_output is disabled, not just reference an issue. Consider: '# Disable structured output due to MCP 1.10 auto-detection breaking existing tools - see issue #12'

Suggested change
structured_output=False, # Structured output is temporarily disabled until proper schema definitions are implemented. See https://github.com/ydb-platform/ydb-mcp/issues/12 for details.
structured_output=False, # Disable structured output due to MCP 1.10 auto-detection breaking existing tools - see issue #12

Copilot uses AI. Check for mistakes.

)

# Also register with our tool manager
self.tool_manager.register_tool(
Expand Down
Loading