Skip to main content
Glama
AdamikHQ

Adamik MCP Server

Official

getSupportedChains

Retrieve available blockchain network IDs for multi-chain operations in the Adamik MCP Server.

Instructions

Get a list of supported chain IDs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implements the getSupportedChains tool handler inline within the server.tool registration. Returns comma-separated list of supported chain IDs from the imported 'chains' array.
    server.tool("getSupportedChains", "Get a list of supported chain IDs", {}, async () => {
      const text = chains.join(",");
      return {
        content: [
          {
            type: "text",
            text,
          },
        ],
      };
    });
  • src/module.ts:223-233 (registration)
    Registers the getSupportedChains tool with name, description, input schema (empty), and inline handler function.
    server.tool("getSupportedChains", "Get a list of supported chain IDs", {}, async () => {
      const text = chains.join(",");
      return {
        content: [
          {
            type: "text",
            text,
          },
        ],
      };
    });
  • Defines the Zod schema for the GetSupportedChainsResponse type, specifying a record of chain details.
    export const GetSupportedChainsResponseSchema = z.object({
      chains: z.record(z.string(), ChainDetailSchema),
    });
    export type GetSupportedChainsResponse = z.infer<typeof GetSupportedChainsResponseSchema>;
  • Exports the array of supported chain IDs used by the getSupportedChains handler.
      "ethereum",
      "cosmoshub",
      "axelar",
      "dydx",
      "osmosis",
      "bitcoin",
      "babylon",
      "starknet",
      "aptos",
      "solana",
      "sepolia",
      "holesky",
      "optimism",
      "optimism-sepolia",
      "bsc",
      "base",
      "ton",
      "tron",
    ];

Latest Blog Posts

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/AdamikHQ/adamik-mcp-server'

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