madeonsol_discovery
List all MadeOnSol API endpoints with prices and parameter documentation. Free access, no authentication required.
Instructions
List all available MadeOnSol API endpoints with prices and parameter docs. Free, no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:336-341 (handler)Handler for the madeonsol_discovery tool. Fetches all available MadeOnSol API endpoints with prices and parameter docs from /api/x402 and returns them as formatted JSON. No auth required.
async () => { const res = await fetch(new URL("/api/x402", BASE_URL).toString()); const data = await res.json(); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } ); - src/index.ts:331-335 (schema)Registration of the madeonsol_discovery tool with empty schema (no params), free/no-auth annotation, and read-only flag.
server.tool( "madeonsol_discovery", "List all available MadeOnSol API endpoints with prices and parameter docs. Free, no auth required.", {}, { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }, - src/index.ts:331-341 (registration)Full registration of the madeonsol_discovery tool using server.tool() on the McpServer. No input parameters, returns API endpoint listing.
server.tool( "madeonsol_discovery", "List all available MadeOnSol API endpoints with prices and parameter docs. Free, no auth required.", {}, { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }, async () => { const res = await fetch(new URL("/api/x402", BASE_URL).toString()); const data = await res.json(); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } );