Skip to main content
Glama
types.ts604 B
import { z } from 'zod'; export type SuiNetwork = 'mainnet' | 'testnet' | 'devnet' | 'localnet'; export type SuiFaucetNetwork = Extract<SuiNetwork, 'testnet' | 'devnet' | 'localnet'>; export const SUI_NETWORKS = ['mainnet', 'testnet', 'devnet', 'localnet'] as const; export const SUI_FAUCET_NETWORKS = ['testnet', 'devnet', 'localnet'] as const; export interface McpToolResponse { content: Array<{ type: 'text'; text?: string; }>; } export interface McpBaseTool<T = any> { name: string; description: string; paramsSchema: z.ZodSchema; cb: (args: T) => Promise<McpToolResponse>; }

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/0xdwong/sui-mcp'

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