Skip to main content
Glama

MCPilot

by Xiawpohr
tokenlist.ts905 B
import { FastMCP } from "fastmcp"; import { z } from "zod"; export function registerTokenlistTools(server: FastMCP): void { server.addTool({ name: "get-token-list-on-Zircuit", description: "Get a list of tokens on Zircuit mainnet", parameters: z.object({}), execute: async () => { return { content: [ { type: "text", text: "" } ] } }, }); server.addTool({ name: "get-token-list-on-garfield-testnet", description: "Get a list of tokens on Garfield testnet", parameters: z.object({}), execute: async () => { const tokens = [ { address: "", symbole: "", decimal: 18, }, ] return { content: [ { type: "text", text: JSON.stringify(tokens) } ] } }, }); };

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/Xiawpohr/mcpilot'

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