Internal refactor of MCP handlers (#2005)

This commit is contained in:
Jeremiah Lowin 2025-10-05 08:45:10 -04:00 committed by GitHub
commit 91af3cd2ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 247 additions and 192 deletions

View file

@ -47,7 +47,7 @@ async def test_tool_annotations_in_mcp_protocol():
return message
# Check via MCP protocol
mcp_tools = await mcp._mcp_list_tools()
mcp_tools = await mcp._list_tools_mcp()
assert len(mcp_tools) == 1
assert mcp_tools[0].annotations is not None
assert mcp_tools[0].annotations.title == "Echo Tool"