Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port when using MCP_TRANSPORT=http (default 8080)8080
MCP_TRANSPORTNostdio (default) or httpstdio
BINANCE_API_KEYNoRequired for account/trade tools (public tools work without)
BINANCE_BASE_URLNoDefaults to https://api.binance.com (override for testnet)https://api.binance.com
BINANCE_API_SECRETNoRequired for account/trade tools
BINANCE_RECV_WINDOWNoRecvWindow in ms (default 5000)5000
BINANCE_TRADE_ENABLEDNoSet to false to disable trade tools entirelyfalse

Tools

Functions exposed to the LLM to take actions

NameDescription
binance.market.price

Get the latest price for a symbol (e.g. BTCUSDT).

binance.market.klines

Get historical klines/candles for a symbol and interval.

binance.market.exchangeInfo

Get exchange information including filters per symbol.

binance.account.balances

Get account balances (requires API key & secret).

binance.account.openOrders

List open orders for a symbol.

binance.trade.placeOrder

Place a spot order. Example: {symbol:'BTCUSDT', side:'BUY', type:'MARKET', quoteOrderQty:'50'}

binance.trade.cancelOrder

Cancel a spot order by symbol and orderId.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Valerio357/binance-mcp'

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