Repository navigation
Install: pip install root-kg (https://pypi.org/project/root-kg/2.1.0/)
Changed
root-serverruns on the mcp 2.x SDK. Tool handlers are passed to theServerconstructor ason_list_tools/on_call_tooland returnListToolsResult/CallToolResult; the 18 tool definitions and the dispatcher are unchanged (#10).mcpdependency is>=2,<3. The<2pin from 2.0.0 is gone.- 2.x
stdio_serverpoints fd 0 at the null device and fd 1 at stderr while serving, so stray prints from torch or sentence-transformers can no longer corrupt the JSON-RPC stream.
Added
tests/test_server_tools.pylists the tools through the 2.x handler and checks the unknown-tool path, so a schema or dispatch regression fails CI.