mcp-server-cex-bn
by MCP-Mirror
This MCP Server provides a robust interface for Binance spot trading operations. It allows users to configure API credentials, execute trades, monitor balances, and manage orders.
Last updated: N/A
What is mcp-server-cex-bn?
This is an MCP server designed to interact with the Binance spot trading API. It provides tools to securely manage API keys, execute trades (LIMIT/MARKET), monitor account balances, track open orders, and cancel orders.
How to use mcp-server-cex-bn?
- Clone the repository. 2. Install dependencies using
pnpm install. 3. Configure your Binance API credentials in a.envfile. 4. Build the server withpnpm build. 5. Start the server withpnpm start. Use the provided tools (configure_api_keys,create_spot_order,cancel_order,get_balances,get_open_orders) to interact with the Binance API.
Key features of mcp-server-cex-bn
Secure API key storage
Spot trading operations (LIMIT/MARKET orders)
Account balance monitoring
Open order tracking and management
Order cancellation
Use cases of mcp-server-cex-bn
Automated trading strategies on Binance
Real-time portfolio monitoring
Programmatic order execution
Integration with other trading platforms
FAQ from mcp-server-cex-bn
How do I configure my Binance API keys?
How do I configure my Binance API keys?
Create a .env file in the root directory and set BINANCE_API_KEY and BINANCE_API_SECRET environment variables.
What order types are supported?
What order types are supported?
The server supports both LIMIT and MARKET orders for spot trading.
How do I handle rate limits?
How do I handle rate limits?
The server provides information on Binance API rate limits. Implement error handling to catch rate limit errors and retry requests.
What happens if I get an 'Insufficient balance' error?
What happens if I get an 'Insufficient balance' error?
Ensure you have sufficient funds in your Binance account to execute the trade. Check your balances using the get_balances tool.
How can I debug the server?
How can I debug the server?
Use the MCP Inspector by running pnpm inspector. This will provide a URL to access debugging tools in your browser.