list_categories
Retrieve all available blockchain endpoint categories to access data across 70+ networks including Ethereum, Solana, Cosmos, and Sui.
Instructions
List all available endpoint categories
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- MCP tool handler implementation for 'list_categories'. Retrieves categories via endpointManager and returns formatted JSON response.case 'list_categories': { const categories = endpointManager.getCategories(); return { content: [ { type: 'text', text: JSON.stringify(categories, null, 2), }, ], }; }
- src/handlers/endpoint-handlers.ts:68-75 (registration)Tool registration definition for 'list_categories', including name, description, and empty input schema (no parameters). Returned by registerEndpointHandlers for server registration.{ name: 'list_categories', description: 'List all available endpoint categories', inputSchema: { type: 'object', properties: {}, }, },
- Input schema validation for list_categories tool (accepts empty object).inputSchema: { type: 'object', properties: {}, },
- Helper method in EndpointManager that provides the list of categories from server configuration, called by the tool handler./** * Get all available categories */ getCategories(): string[] { return this.config.categories; }