loading…
Search for a command to run...
loading…
An MCP server for Aster Futures and Spot APIs, enabling AI agents to query market data, place orders, and check positions and accounts securely.
An MCP server for Aster Futures and Spot APIs, enabling AI agents to query market data, place orders, and check positions and accounts securely.
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.
~/.config/aster-mcp/)config / list / start / stop / status / test / backuppip install -e .
# or
pip install git+https://github.com/asterdex/aster-mcp.git
# 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
aster-mcp config.python -m aster_mcp.simple_server (use a Python environment where aster_mcp is installed).| 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.
aster-mcp/
├── aster_mcp/
│ ├── __init__.py
│ ├── config.py # Config & encryption
│ ├── client.py # Aster FAPI client (futures, HMAC)
│ ├── v3_client.py # Aster FAPI v3 client (EIP-712)
│ ├── spot_client.py # Aster SAPI client (spot)
│ ├── tools.py # MCP tool implementations
│ ├── simple_server.py
│ └── cli.py
├── docs/
│ └── Aster-MCP-External-Integration.md
├── tests/
├── pyproject.toml
├── requirements.txt
└── README.md
client.py, futures) and SAPI (spot_client.py, spot) clients./fapi/v1, /fapi/v2, etc./fapi/v3. Requires eth-account.https://fapi.asterdex.com; Spot base URL: https://sapi.asterdex.com (overridable per account in config).MIT
Run in your terminal:
claude mcp add aster-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.