
termix-official/binance-mcp 是从 https://github.com/termix-official/binance-mcp. 导入的 MCP 候选服务器
概览
termix-official/binance-mcp 是从 https://github.com/termix-official/binance-mcp. 导入的 MCP 候选服务器
概述(AI 翻译)
概述
币安MCP服务器是一个后端服务,旨在与币安API交互。它促进了与币安交易所的无缝交互,使用户能够查看其投资组合、转换代币并执行交易,且对市场影响最小。该服务器采用模型上下文协议(MCP)框架,确保交易安全、结构化且高效。
主要功能:
- 与币安交易所API交互,获取账户信息和交易
- 展示作品组合构成与估值
- 执行智能代币转换并缓解市场影响
- 处理市价单和算法交易策略
- 检索实时交易数据和账户信息
- 使用模型上下文协议框架实现结构化事务
- 为币安集成提供安全的认证和API密钥管理
特色
- [x] 币安API集成:连接币安交易所以获取账户信息和交易操作
- [x] 投资组合管理:查看详细的投资组合构成、市场价值及百分比配置
- [x] 投资组合分析:可选的历史价值跟踪,用于长期监控表现
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Binance MCP Server
Overview
Binance MCP Server is a backend service designed to interact with the Binance API. It facilitates seamless interaction with the Binance exchange, enabling users to view their portfolio, convert tokens, and execute trades with minimal market impact. The server utilizes the Model Context Protocol (MCP) framework to ensure secure, structured, and efficient transactions.
Key Functionalities:
- Interact with Binance exchange API for account information and trading
- Display portfolio composition and valuation
- Execute smart token conversions with market impact mitigation
- Process market orders and algorithmic trading strategies
- Retrieve real-time trading data and account information
- Implement structured transactions using the Model Context Protocol framework
- Provide secure authentication and API key management for Binance integration
Features
- [x] Binance API Integration: Connect to Binance exchange for account information and trading operations
- [x] Portfolio Management: View detailed portfolio composition, market value, and percentage allocation
- [x] Portfolio Analytics: Optional historical value tracking to monitor performance over time
- [x] Smart Token Conversion: Convert between tokens with intelligent order execution strategies
- [x] Market Impact Mitigation: Automatically use algorithmic trading for larger orders to prevent price slippage
- [x] Account Management: Retrieve detailed account information, balances, and trading history
- [x] Market Data Access: Access real-time order books and market data for informed trading decisions
- [x] Order Execution: Place spot market orders with flexible quantity specifications
- [ ] Algorithmic Trading Support: Implement Time-Weighted Average Price (TWAP) orders to minimize market impact
- [ ] Automated Trading: Execute trades programmatically based on predefined strategies
- [ ] Secure Authentication: Manage API keys and secure connections to Binance services
- [ ] Comprehensive Error Handling: Detailed error reporting for transaction failures and API issues
Requirements
Before setting up the Binance MCP Server, ensure you have the following installed:
- Node.js (v16 or later)
- npm or yarn
- Binance API key and secret (for Binance exchange integration)
- A valid Binance Smart Chain (BSC) wallet private key (for blockchain transactions)
Installation
Clone the repository and install dependencies:
git clone https://github.com/your-repo/binance-mcp-server.git
cd binance-mcp-server
npm install # or yarn install
Configuration
To configure the server, create a .env file in the root directory and specify the following variables:
# Binance API Configuration
BINANCE_API_KEY=your_binance_api_key_here
BINANCE_API_SECRET=your_binance_api_secret_here
Creating a Binance API Key
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"binance-mcp": {
"command": "node",
"args": [
"/Users/Username/Desktop/binance-mcp/build/index.js"
],
"env": {
"BINANCE_API_KEY": "BINANCE_API_KEY",
"BINANCE_API_SECRET": "BINANCE_API_SECRET"
},
"disabled": false,
"autoApprove": []
}
}
}