datasets_download
Generate a single-use token to securely download any dataset by its UUID.
Instructions
Generate a single-use download token for securely downloading datasets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Dataset UUID |
Implementation Reference
- src/index.js:52-52 (registration)Tool 'datasets_download' is registered in the STATIC_TOOLS catalog as a static tool definition with its name, description, and inputSchema (requiring 'uuid'). This is a proxy server — the actual handler logic is on the remote server.
{ name: "datasets_download", description: "Generate a single-use download token for securely downloading datasets.", inputSchema: { type: "object", properties: { uuid: { type: "string", description: "Dataset UUID" } }, required: ["uuid"] } }, - src/index.js:52-52 (schema)Input schema for datasets_download: type object with required 'uuid' (string) property for the dataset UUID.
{ name: "datasets_download", description: "Generate a single-use download token for securely downloading datasets.", inputSchema: { type: "object", properties: { uuid: { type: "string", description: "Dataset UUID" } }, required: ["uuid"] } }, - src/index.js:121-146 (handler)Generic CallToolRequestSchema handler that proxies all tool calls (including datasets_download) to the remote MCP server via remoteClient.callTool(). No local implementation exists.
server.setRequestHandler(CallToolRequestSchema, async (request) => { if (!remoteClient) { return { content: [ { type: "text", text: "MCP Analytics API key required. Set MCP_ANALYTICS_API_KEY in your environment.\nGet a free key at https://app.mcpanalytics.ai", }, ], isError: true, }; } 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, }; } });