Skip to main content
Glama

Base MCP Server

Official
by base
chains.ts408 B
import { base, baseSepolia } from 'viem/chains'; export const chainIdToChain = (chainId: string | number) => { if (String(chainId) === String(baseSepolia.id)) { return baseSepolia; } if (String(chainId) === String(base.id)) { return base; } return null; }; export const chainIdToCdpNetworkId: Record<number, string> = { [baseSepolia.id]: 'base-sepolia', [base.id]: 'base-mainnet', };

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/base/base-mcp'

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