Repository navigation
Checking what a Haystack MCPToolset citation actually proves #13894
bbrainfuckk
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I maintain Qorx, a local source lookup CLI and stdio MCP server. AI assisted with the test script and this write-up. I wanted a model-free check of three separate questions: did Haystack call the tool, did the index find evidence, and did the cited lines contain the definition?
I ran Haystack 3.5.0,
mcp-haystack2.1.2 and MCP Python SDK 2.3.0 on Windows. I started the portable Qorx daemon on a spare loopback port with a separateQORX_HOME, setQORX_GATEWAYto that port, and indexed Pallets itsdangerous 2.2.0 at a pinned commit. Here is the Haystack call, withqorx_exeset to the portable executable andqorx_envcontaining the daemon's matchingQORX_HOME,QORX_BINDandQORX_GATEWAY:For a direct call outside an Agent,
warm_up()mattered. With the default lazy connection, readingtoolset.toolsbefore warm-up returned a placeholder that rejected thequestionargument. After warm-up, the tool returned two real ranges:src/itsdangerous/encoding.py:1-54andtests/test_itsdangerous/test_encoding.py:1-37. Parsing the pinned files with Python'sastfound the exact definition at encoding.py:28, and none in the test range. Addingdefto the query still returned a second range without that definition. A deliberately absent symbol returnedcoverage: "not_found"and empty evidence withisError: false.For a locator that feeds a later pipeline step, I'd gate on the inner coverage and check the exact symbol within the returned range before treating it as a declaration. The MCP envelope records whether the call completed. It can't decide what the lines prove.
All reactions