Skip to main content
Glama

bnbchain-mcp

Official
by bnb-chain
common.ts816 B
import type { Hex } from "viem" import { z } from "zod" // Get default private key from environment variables, use sample key if not set export const DEFAULT_PRIVATE_KEY = process.env.PRIVATE_KEY || "" // Common parameters export const networkParam = z .enum(["testnet", "mainnet"]) .optional() .default("testnet") .describe("Network name (e.g. 'testnet', 'mainnet'). Defaults to testnet.") export const privateKeyParam = z .string() .optional() .default(DEFAULT_PRIVATE_KEY) .describe( "Private key of the account in hex format. SECURITY: This is used only for transaction signing." ) export const bucketNameParam = z .string() .optional() .default("created-by-bnbchain-mcp") .describe( "The bucket name to use. If not provided, will use default 'created-by-bnbchain-mcp'" )

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/bnb-chain/bnbchain-mcp'

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