TO

termix-official/binance-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

97 stars 42 forks Качество 57 Тренд 15

termix-official/binance-mcp — это кандидат на сервер MCP, импортированный из https://github.com/termix-official/binance-mcp.

Обзор

termix-official/binance-mcp — это кандидат на сервер MCP, импортированный из https://github.com/termix-official/binance-mcp.

Обзор (машинный перевод)

Обзор

Binance MCP Server — это бэкенд-сервис, разработанный для взаимодействия с API Binance. Он обеспечивает бесшовное взаимодействие с биржей Binance, позволяя пользователям просматривать свой портфель, конвертировать токены и совершать сделки с минимальным влиянием на рынок. Сервер использует фреймворк Model Context Protocol (MCP) для обеспечения безопасных, структурированных и эффективных транзакций.

Ключевые функции:

  • Взаимодействие с API биржи Binance для получения информации о счетах и торговли
  • Экспозиция состава и оценки портфолио
  • Выполнение конверсий умных токенов с целью снижения влияния на рынок
  • Обработка рыночных ордеров и алгоритмических торговых стратегий
  • Получение торговых данных и информации о счетах в реальном времени
  • Реализация структурированных транзакций с использованием фреймворка Model Context Protocol
  • Обеспечить безопасную аутентификацию и управление ключами API для интеграции с Binance

Особенности

  • [x] Интеграция API Binance: Подключение к бирже Binance для информации о счетах и торговых операций
  • [x] Управление портфелем: Просмотр подробного состава портфеля, рыночной стоимости и процентного распределения
  • [x] Аналитика портфеля: Опциональное отслеживание исторической стоимости для мониторинга эффективности со временем

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на 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": [] } } }