KM

kydlikebtc/mcp-server-bn

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

14 stars 8 forks 품질 45 트렌드 20

This MCP Server provides comprehensive integration with Binance's spot and futures trading operations.

개요

This MCP Server provides comprehensive integration with Binance's spot and futures trading operations. - Execute spot trading operations (LIMIT/MARKET orders) - Monitor account balances - Track and manage open orders - Cancel existing orders - Create various types of futures orders (LIMIT, MARKET, STOP, TAKE_PROFIT, etc.) - Manage leverage settings (1-125x) - Monitor futures positions and account information - Track funding rates - Support for both one-way and hedge mode positions - Advanced order types including trailing stops and reduce-only orders Securely store your Binance API credentials: Get detailed futures account information: - One-way Mode: Single position per symbol * Default mode, simpler position management * Total position size is the sum of all orders - Hedge Mode: Separate long and short positions * Allows holding both long and short positions simultaneously * Each position has independent margin requirements - Isolated Margin: Fixed margin per position * Risk...

README

원문 README의 일부입니다. 원문 보기.

mcp-server-cex-bn

This MCP Server provides comprehensive integration with Binance’s spot and futures trading operations.

中文说明

Features

Spot Trading Operations

  • Execute spot trading operations (LIMIT/MARKET orders)
  • Monitor account balances
  • Track and manage open orders
  • Cancel existing orders

Futures Trading Operations

  • Create various types of futures orders (LIMIT, MARKET, STOP, TAKE_PROFIT, etc.)
  • Manage leverage settings (1-125x)
  • Monitor futures positions and account information
  • Track funding rates
  • Support for both one-way and hedge mode positions
  • Advanced order types including trailing stops and reduce-only orders

Tools

API Configuration

configure_api_keys

Securely store your Binance API credentials:

await configureBinanceApiKeys({
  apiKey: 'your-api-key',
  apiSecret: 'your-api-secret'
});

Spot Trading Tools

create_spot_order

Create LIMIT or MARKET orders:

// LIMIT order
await createSpotOrder({
  symbol: 'BTCUSDT',
  side: 'BUY',
  type: 'LIMIT',
  quantity: '0.001',
  price: '40000'
});

// MARKET order
await createSpotOrder({
  symbol: 'BTCUSDT',
  side: 'BUY',
  type: 'MARKET',
  quantity: '0.001'
});
cancel_order

Cancel an existing order:

await cancelOrder({
  symbol: 'BTCUSDT',
  orderId: '12345678'
});
get_balances

Check your account balances:

const balances = await getBalances();
// Returns: { BTC: '0.1', USDT: '1000', ... }
get_open_orders

List all open orders:

const orders = await getOpenOrders({
  symbol: 'BTCUSDT' // Optional: specify symbol
});

Futures Trading Tools

create_futures_order

Create various types of futures orders:

// LIMIT order
await createFuturesOrder({
  symbol: 'BTCUSDT',
  side: 'BUY',
  type: 'LIMIT',
  quantity: '0.001',
  price: '40000',
  timeInForce: 'GTC'
});

// STOP MARKET order
await createFuturesOrder({
  symbol: 'BTCUSDT',
  side: 'SELL',
  type: 'STOP_MARKET',
  quantity: '0.001',
  stopPrice: '38000'
});

// TRAILING STOP order
await createFuturesOrder({
  symbol: 'BTCUSDT',
  side: 'SELL',
  type: 'TRAILING_STOP_MARKET',
  quantity: '0.001',
  callbackRate: '1.0' // 1% callback rate
});
set_futures_leverage

Adjust leverage for a trading pair:

await setFuturesLeverage({
  symbol: 'BTCUSDT',
  leverage: 10  // 1-125x
});
get_futures_positions

Get all open futures positions:

const positions = await getFuturesPositions();
get_futures_account

Get detailed futures account information:

const account = await getFuturesAccount();
get_funding_rate

Get funding rate for a futures symbol:

const fundingRate = await getFundingRate({
  symbol: 'BTCUSDT'
});
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install mcp-server-cex-bn --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →