The query_component tool in the Neural Link MCP server fails to pass the returnProperties argument from the API request to the client-side service.
Root Cause:
In ai/mcp/server/neural-link/services/ComponentService.mjs, the queryComponent method destructs its arguments but omits returnProperties:
async queryComponent({selector, rootId, sessionId}) {
return await ConnectionService.call(sessionId, 'query_component', {selector, rootId});
}Impact:
The returnProperties feature (returning a lean response) is silently ignored, causing the tool to always return the full component serialization.
Fix:
Update the method signature and the ConnectionService.call arguments to include returnProperties.
The
query_componenttool in the Neural Link MCP server fails to pass thereturnPropertiesargument from the API request to the client-side service.Root Cause: In
ai/mcp/server/neural-link/services/ComponentService.mjs, thequeryComponentmethod destructs its arguments but omitsreturnProperties:async queryComponent({selector, rootId, sessionId}) { return await ConnectionService.call(sessionId, 'query_component', {selector, rootId}); }Impact: The
returnPropertiesfeature (returning a lean response) is silently ignored, causing the tool to always return the full component serialization.Fix: Update the method signature and the
ConnectionService.callarguments to includereturnProperties.