connectors_query
Pull live data from connected business sources like Shopify, Stripe, and Google Analytics using connector URIs for analysis and reporting.
Instructions
Pull live data from a connected source using connector:// URIs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Connector URI (e.g., connector://mcpanalytics_gsc/search_analytics?...) |
Implementation Reference
- src/index.js:105-118 (handler)The `CallToolRequestSchema` handler in `src/index.js` dynamically proxies all tool calls, including `connectors_query`, to the remote MCP server (`remoteClient.callTool`). The tools themselves are not implemented locally, but are fetched from the remote server's catalog at runtime.
server.setRequestHandler(CallToolRequestSchema, async (request) => { try { const result = await remoteClient.callTool({ name: request.params.name, arguments: request.params.arguments || {}, }); return result; } catch (err) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } });