binance-mcp
Binance MCP Server
README
Binance MCP stdio server
<a href="https://glama.ai/mcp/servers/@valerioey/binance-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@valerioey/binance-mcp/badge" /> </a>
Server MCP minimale in Python che espone operazioni Binance via JSON-RPC 2.0 su stdin/stdout.
Setup
- Richiede Python 3.8+ senza dipendenze extra.
- Esporta le chiavi prima di avviare il server:
export BINANCE_API_KEY="...your key..." export BINANCE_API_SECRET="...your secret..."
Avvio
python3 binance_mcp_server.py
Il processo resta in ascolto su stdin e restituisce risposte su stdout (una per riga).
Metodi supportati
ping→ verifica con{"pong": true, "time": ...}get_account→ snapshot account firmatoget_open_orders→ ordini aperti, opzionalesymbolget_trades→ ultimi trade eseguiti persymbolplace_order→ invia ordine market/limit (o test setest: true)get_candles→ candele/klines pubbliche persymboleinterval
Funzioni esposte all'LLM (tools)
Il server espone i metodi sopra come strumenti MCP via JSON-RPC (stdio). Non ci sono ulteriori tool oltre ai metodi elencati.
Esempi di richieste
Invia un JSON per riga allo stdin del processo.
{"jsonrpc":"2.0","id":1,"method":"ping","params":{}}
{"jsonrpc":"2.0","id":2,"method":"get_account","params":{}}
{"jsonrpc":"2.0","id":3,"method":"get_open_orders","params":{"symbol":"BTCUSDT"}}
{"jsonrpc":"2.0","id":4,"method":"get_trades","params":{"symbol":"ETHUSDT","limit":20}}
{"jsonrpc":"2.0","id":5,"method":"place_order","params":{"symbol":"BNBUSDT","side":"BUY","type":"MARKET","quoteOrderQty":50,"test":true}}
{"jsonrpc":"2.0","id":6,"method":"get_candles","params":{"symbol":"BTCUSDT","interval":"1h","limit":10}}
Le risposte seguono il formato {"jsonrpc":"2.0","id":<id>,"result":...} oppure error in caso di problemi (errori Binance inclusi).
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.