Skip to main content
Glama

Algorand MCP

by GoPlausible
index.ts712 B
import { McpError, ErrorCode, Tool } from '@modelcontextprotocol/sdk/types.js'; import { getBalanceTool, getBalanceToolSchema } from './get-balance.js'; // Define tool configurations export const exampleTools: Tool[] = [ { name: 'api_example_get_balance', description: 'Get account balance and assets', handler: getBalanceTool, inputSchema: getBalanceToolSchema } ]; // Handle example tools export async function handleExampleTools(name: string, args: any): Promise<any> { switch (name) { case 'api_example_get_balance': return getBalanceTool(args); default: throw new McpError( ErrorCode.MethodNotFound, `Unknown example 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