Skip to main content
Glama

Algorand MCP

by GoPlausible
index.ts1.17 kB
import { accountTools, handleAccountTools } from './account.js'; import { applicationTools, handleApplicationTools } from './application.js'; import { assetTools, handleAssetTools } from './asset.js'; import { transactionTools, handleTransactionTools } from './transaction.js'; import { ErrorCode, McpError } from '@modelcontextprotocol/sdk/types.js'; // Combine all algod tools export const algodTools = [ ...accountTools, ...applicationTools, ...assetTools, ...transactionTools ]; // Handle all algod API tools export async function handleAlgodTools(name: string, args: any): Promise<any> { // Account tools if (name.startsWith('api_algod_get_account_')) { return handleAccountTools(name, args); } // Application tools if (name.startsWith('api_algod_get_application_')) { return handleApplicationTools(name, args); } // Asset tools if (name.startsWith('api_algod_get_asset_')) { return handleAssetTools(name, args); } // Transaction tools if (name.startsWith('api_algod_get_')) { return handleTransactionTools(name, args); } throw new McpError( ErrorCode.MethodNotFound, `Unknown tool: ${name}` ); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GoPlausible/algorand-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server