AA

asterdex/aster-mcp

Developer tools

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

49 stars 16 forks 품질 48 트렌드 0

asterdex/aster-mcp는 https://github.com/asterdex/aster-mcp.]에서 수입된 MCP 서버 후보입니다

개요

asterdex/aster-mcp는 https://github.com/asterdex/aster-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Aster Futures and Spot API를 위한 모델 콘텍스 프로토콜 서버는 AI Agent(예: Cursor, Claude, LangChain)을 사용하여 마켓 데이터를 안전하게 쿼리하고, 주문하고, 포지션을 확인하고, 계정을 확인합니다.

특징

-Config & security: 멀티 계정, 로컬 Fernet-encrypted API 키 저장소 (~/.config/aster-mcp/) -Auth: HMAC (API Key/Secret) 및 V3 키 서명 (EIP-712, user/signer/private key; aster-finance-futures-api-v3)

  • MCP 도구:
  • Futures: 시장 데이터, 계정/위치, 장소/암호 주문, 레버리지 & 마진, 전송, 소득, 수수료율, 레버리지 브래킷
  • Spot: 시장 데이터, 계정, 장소/암호 주문, 거래, 거래 내역, 수수료율, 스폿-futures 전송
  • CLI: config / list / start] / stop] / status] / test] / backup]

설치

빠른 시작

Cursor 사용

  1. aster-mcp config를 가진 적어도 1개의 계정을 구성하십시오.
  2. Cursor의 MCP 설정에서 Aster MCP 추가; 명령 예:
  • python -m aster_mcp.simple_server ([T10]]가 설치된 파이썬 환경에서 사용).
  1. 채팅에서 자연 언어를 사용하십시오 (예 : "Aster BTC 가격"을 "Aster 주문"을 클릭하십시오).

도구 목록 (summary)

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

README

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

Aster MCP Server

An Model Context Protocol server for Aster Futures and Spot APIs, enabling AI agents (e.g. Cursor, Claude, LangChain) to securely query market data, place orders, and check positions and accounts.

Features

  • Config & security: Multi-account, local Fernet-encrypted API key storage (~/.config/aster-mcp/)
  • Auth: HMAC (API Key/Secret) and V3 key signing (EIP-712, user/signer/private_key; see aster-finance-futures-api-v3)
  • MCP tools:
    • Futures: Market data, account/positions, place/cancel orders, leverage & margin, transfers, income, commission rate, leverage bracket
    • Spot: Market data, account, place/cancel orders, trades, transaction history, commission rate, spot–futures transfer
  • CLI: config / list / start / stop / status / test / backup

Installation

pip install -e .
# or
pip install git+https://github.com/asterdex/aster-mcp.git

Quick start

# 1. Configure account (interactive, default HMAC)
aster-mcp config

# V3 key-signing account (EIP-712)
aster-mcp config --account-id main --auth-type v3

# 2. List accounts
aster-mcp list

# 3. Start MCP service (default stdio for Cursor/Claude)
aster-mcp start

# 4. Test connection
aster-mcp test main

Using with Cursor

  1. Configure at least one account with aster-mcp config.
  2. Add Aster MCP in Cursor’s MCP settings; command example:
    • python -m aster_mcp.simple_server (use a Python environment where aster_mcp is installed).
  3. Use natural language in chat (e.g. “get Aster BTC price”, “place an Aster order”).

Tool list (summary)

Category Futures tools Spot tools
Market get_ticker, get_order_book, get_klines, get_funding_rate, get_funding_info, get_exchange_info, ping get_spot_ticker, get_spot_price, get_spot_order_book, get_spot_klines, get_spot_exchange_info
Account get_balance, get_positions, get_account_info, get_account_v4 get_spot_account
Orders create_order, cancel_order, cancel_all_orders, get_order, get_open_orders, get_all_orders, get_my_trades create_spot_order, cancel_spot_order, cancel_spot_all_orders, get_spot_order, get_spot_open_orders, get_spot_all_orders, get_spot_my_trades
Other set_leverage, set_margin_mode, transfer_funds, get_income, get_commission_rate, get_leverage_bracket get_spot_transaction_history, get_spot_commission_rate, transfer_spot_futures
System get_server_info

Full parameters and integration details: Aster-MCP External Integration Guide.

Project structure

GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →