
gagarinyury/mcp-bitget-trading
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP (Model Context Protocol) server for Bitget cryptocurrency exchange. Enables AI assistants to interact with Bitget API for spot & futures trading.
개요
MCP (Model Context Protocol) server for Bitget cryptocurrency exchange. Enables AI assistants to interact with Bitget API for spot & futures trading. Features real-time market data, order management, account balances, leverage control, and position tracking. Supports demo trading with paper trading mode. - - Get current market prices for any trading pair - - Complete ticker information with 24h statistics - - Market depth data with configurable depth levels - - OHLCV data for technical analysis - - Real-time account balances for all assets - - Monitor current futures positions - - Futures margin account details - - View and manage open orders - - Execute market and limit orders - - Cancel existing orders by ID - - Set leverage for futures positions (1-125x) - - Full support for paper trading mode - - Fully typed implementation - - Latest Bitget API integration - - Built-in protection against API limits - - Comprehensive error management - - Input validation for all parameters -...
README
원문 README의 일부입니다. 원문 보기.
🚀 MCP Bitget Trading Server
MCP (Model Context Protocol) server for Bitget cryptocurrency exchange. Enables AI assistants to interact with Bitget API for spot & futures trading. Features real-time market data, order management, account balances, leverage control, and position tracking. Supports demo trading with paper trading mode.
✨ Features
📊 Market Data
- Real-time Prices - Get current market prices for any trading pair
- Full Tickers - Complete ticker information with 24h statistics
- Order Book - Market depth data with configurable depth levels
- Historical Candles - OHLCV data for technical analysis
💰 Account Management
- Balance Information - Real-time account balances for all assets
- Position Tracking - Monitor current futures positions
- Margin Information - Futures margin account details
- Order Management - View and manage open orders
🎯 Trading Operations
- Place Orders - Execute market and limit orders
- Cancel Orders - Cancel existing orders by ID
- Leverage Control - Set leverage for futures positions (1-125x)
- Demo Trading - Full support for paper trading mode
⚡ Technical Features
- TypeScript - Fully typed implementation
- v2 API Support - Latest Bitget API integration
- Rate Limiting - Built-in protection against API limits
- Error Handling - Comprehensive error management
- Zod Validation - Input validation for all parameters
🛠️ Installation
Prerequisites
- Node.js 18+
- npm or yarn
- Bitget API credentials (for live/demo trading)
Quick Start
- Clone the repository
git clone https://github.com/gagarinyury/MCP-bitget-trading.git
cd MCP-bitget-trading
- Install dependencies
npm install
- Configure environment
cp .env.example .env
# Edit .env with your Bitget API credentials
- Build the project
npm run build
- Start the server
npm start
🔧 Configuration
Environment Variables
Create a .env file in the root directory:
# Bitget API Configuration
BITGET_API_KEY=your_api_key_here
BITGET_SECRET_KEY=your_secret_key_here
BITGET_PASSPHRASE=your_passphrase_here
# Environment settings
BITGET_SANDBOX=true # Set to true for demo trading
BITGET_BASE_URL=https://api.bitget.com
BITGET_WS_URL=wss://wspap.bitget.com/v2/ws/public
# Optional settings
LOG_LEVEL=info
RATE_LIMIT_REQUESTS_PER_SECOND=10
Claude Desktop Integration
Add to your Claude Desktop MCP settings (~/Library/Application Support/Claude/claude_desktop_config.json):
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"bitget-trading": {
"command": "node",
"args": ["/path/to/MCP-bitget-trading/dist/server.js"],
"env": {
"BITGET_API_KEY": "your_key",
"BITGET_SECRET_KEY": "your_secret",
"BITGET_PASSPHRASE": "your_passphrase",
"BITGET_SANDBOX": "true"
}
}
}
}