Aster Finance MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Aster Finance MCP Servershow me the current price of Bitcoin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Aster Finance MCP Server
This project is an MCP (Model Context Protocol) Server that provides a comprehensive set of tools to interact with the Aster Finance Futures API. It allows AI agents and other MCP-compatible clients to access market data, manage trades, and query account information on the Aster exchange.
Features
Full REST API Coverage: Implements all RESTful endpoints from the Aster Futures API documentation (excluding WebSocket streams).
Market Data: Access real-time and historical market data, including order books, trades, klines, and ticker information.
Account & Trading: Full trading capabilities, including placing/canceling orders, managing positions, and checking account balances.
Secure: Uses API keys stored securely as environment variables, never hardcoded.
Stdio Transport: Runs as a standard I/O process, making it easy to integrate with MCP hosts.
Related MCP server: AsterDex MCP Server
Installation & Configuration
This server is designed to be run by an MCP host environment.
Install Dependencies & Build:
You can use either
npmorpnpmto install the project dependencies and build the server.Using npm:
npm install npm run buildOr using pnpm:
pnpm install pnpm run buildConfigure the MCP Host: Add the following configuration to your MCP settings file (e.g.,
cline_mcp_settings.json). This tells the host how to launch the server and provides the necessary API credentials.{ "mcpServers": { "aster": { "command": "node", "args": [ "/path/to/your/aster-mcp-server/build/index.js" ], "env": { "ASTER_API_KEY": "YOUR_ASTER_API_KEY", "ASTER_API_SECRET": "YOUR_ASTER_SECRET_KEY" }, "disabled": false, "autoApprove": [] } } }Replace
/path/to/your/aster-mcp-serverwith the absolute path to this project directory, and fill in your actualASTER_API_KEYandASTER_API_SECRET.
Available Tools
The server exposes the following tools, categorized by function:
Market Data Endpoints
Tool Name | Description |
| Test connectivity to the Rest API. |
| Get the current server time. |
| Get current exchange trading rules and symbol info. |
| Get the order book for a symbol. |
| Get recent market trades. |
| Get older market historical trades. |
| Get compressed, aggregate market trades. |
| Get Kline/candlestick bars for a symbol. |
| Get Kline/candlestick bars for the index price. |
| Get Kline/candlestick bars for the mark price. |
| Get Mark Price and Funding Rate. |
| Get funding rate history. |
| Get funding rate configuration. |
| 24-hour rolling window price change statistics. |
| Get the latest price for a symbol or symbols. |
| Get the best price/qty on the order book. |
Account & Trade Endpoints
Tool Name | Description |
| Change user's position mode (Hedge vs. One-way). |
| Get user's current position mode. |
| Change user's Multi-Assets mode. |
| Get user's current Multi-Assets mode. |
| Send in a new order. |
| Place multiple orders at once. |
| Transfer assets between futures and spot accounts. |
| Check an order's status. |
| Cancel an active order. |
| Cancel all open orders on a symbol. |
| Cancel multiple orders. |
| Auto-cancel all open orders after a countdown. |
| Query a specific open order. |
| Get all open orders on a symbol. |
| Get all account orders (active, canceled, or filled). |
| Get futures account balance. |
| Get current account information. |
| Change initial leverage for a symbol. |
| Change margin type (ISOLATED/CROSSED). |
| Modify isolated position margin. |
| Get position margin change history. |
| Get current position information. |
| Get trades for a specific account and symbol. |
| Get income history. |
| Get notional and leverage brackets. |
| Get Position ADL Quantile Estimation. |
| Get user's force orders (liquidations/ADL). |
| Get user's commission rate for a symbol. |
Usage Example
Once the server is running, you can invoke its tools through your MCP client. For example, to get the current server time, you would make a callTool request like this:
{
"server_name": "aster",
"tool_name": "time",
"arguments": {}
}To get the order book for BTCUSDT:
{
"server_name": "aster",
"tool_name": "depth",
"arguments": {
"symbol": "BTCUSDT",
"limit": 10
}
}This MCP Server was proudly developed with the assistance of Questflow.
Available Tools
44 toolsaggTradesC
Get compressed, aggregate market trades.
Inputs: symbol (required), endTime, fromId, limit, +1 more.
cancelAllOpenOrdersB
Cancel all open orders on a symbol.
Inputs: symbol (required).
cancelBatchOrdersC
Cancel multiple orders.
Inputs: symbol (required), orderIdList, origClientOrderIdList.
cancelOrderC
Cancel an active order.
Inputs: symbol (required), orderId, origClientOrderId.
countdownCancelAllC
Auto-cancel all open orders.
Inputs: countdownTime (required), symbol (required).
depthC
Get the order book for a symbol.
Inputs: symbol (required), limit.
exchangeInfoB
Get current exchange trading rules and symbol information.
Inputs: no named parameters.
fundingInfoC
Get funding rate config.
Inputs: symbol.
fundingRateC
Get funding rate history.
Inputs: endTime, limit, startTime, symbol.
getAccountInfoB
Get current account information.
Inputs: no named parameters.
getAdlQuantileD
Get Position ADL Quantile Estimation.
Inputs: symbol.
getAllOpenOrdersC
Get all open orders on a symbol.
Inputs: symbol.
getAllOrdersC
Get all account orders; active, canceled, or filled.
Inputs: symbol (required), endTime, limit, orderId, +1 more.
getBalanceB
Get futures account balance.
Inputs: no named parameters.
getCommissionRateC
Get user's commission rate.
Inputs: symbol (required).
getForceOrdersC
Get user's force orders.
Inputs: autoCloseType, endTime, limit, startTime, +1 more.
getIncomeHistoryD
Get income history.
Inputs: endTime, incomeType, limit, startTime, +1 more.
getLeverageBracketsC
Get notional and leverage brackets.
Inputs: symbol.
getMultiAssetsModeB
Get user's Multi-Assets mode.
Inputs: no named parameters.
getPositionInfoC
Get current position information.
Inputs: symbol.
getPositionMarginHistoryC
Get position margin change history.
Inputs: symbol (required), endTime, limit, startTime, +1 more.
getPositionModeC
Get user's position mode.
Inputs: no named parameters.
getTradeListC
Get trades for a specific account and symbol.
Inputs: symbol (required), endTime, fromId, limit, +1 more.
historicalTradesC
Get older market historical trades.
Inputs: symbol (required), fromId, limit.
indexPriceKlinesC
Kline/candlestick bars for the index price of a pair.
Inputs: interval (required), pair (required), endTime, limit, +1 more.
klinesC
Get Kline/candlestick bars for a symbol.
Inputs: interval (required), symbol (required), endTime, limit, +1 more.
markPriceKlinesC
Kline/candlestick bars for the mark price of a symbol.
Inputs: interval (required), symbol (required), endTime, limit, +1 more.
modifyPositionMarginC
Modify isolated position margin.
Inputs: amount (required), symbol (required), type (required), positionSide.
pingB
Test connectivity to the Rest API.
Inputs: no named parameters.
placeBatchOrdersC
Place multiple orders.
Inputs: batchOrders (required).
placeOrderD
Send in a new order.
Inputs: side (required), symbol (required), type (required), positionSide, +4 more.
queryOpenOrderC
Query current open order.
Inputs: symbol (required), orderId, origClientOrderId.
queryOrderC
Check an order's status.
Inputs: symbol (required), orderId, origClientOrderId.
setLeverageC
Change user's initial leverage.
Inputs: leverage (required), symbol (required).
setMarginTypeC
Change margin type.
Inputs: marginType (required), symbol (required).
setMultiAssetsModeC
Change user's Multi-Assets mode.
Inputs: multiAssetsMargin (required).
setPositionModeC
Change user's position mode (Hedge Mode or One-way Mode).
Inputs: dualSidePosition (required).
ticker_24hrC
24 hour rolling window price change statistics.
Inputs: symbol.
ticker_bookTickerB
Best price/qty on the order book for a symbol or symbols.
Inputs: symbol.
ticker_priceC
Latest price for a symbol or symbols.
Inputs: symbol.
timeA
Get the current server time.
Inputs: no named parameters.
tradesC
Get recent market trades.
Inputs: symbol (required), limit.
transferAssetC
Transfer between futures and spot.
Inputs: amount (required), asset (required), clientTranId (required), kindType (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 44 tools
Most tools have distinct purposes, but some overlap exists. For example, 'getAllOpenOrders' and 'queryOpenOrder' could be confused, and 'ticker_24hr', 'ticker_bookTicker', and 'ticker_price' are all price-related but serve different functions. Descriptions help clarify, but the sheer number of tools increases the risk of misselection.
Naming conventions are mixed, with some tools using camelCase (e.g., 'getAccountInfo') and others using snake_case (e.g., 'ticker_24hr'). Verb styles vary, such as 'get', 'set', 'place', and 'modify', but they are generally readable. The inconsistency is noticeable but not chaotic.
With 44 tools, the count is too high for typical MCP server purposes, making it heavy and potentially overwhelming for agents. While the domain (finance/trading) is complex, the tool surface could benefit from consolidation or better scoping to reduce cognitive load.
The tool set provides comprehensive coverage for a trading platform, including order management, account info, market data, and configuration. It supports full CRUD/lifecycle operations (e.g., place, query, cancel orders) and covers various aspects like funding, leverage, and transfers, leaving no obvious gaps.
Maintenance
Related MCP Connectors
Free crypto-futures paper trading and live market data for AI agents. 29 tools; no key for data.
Live crypto + IDX stock market intelligence for AI agents — 19 tools, no API key.
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
OpenFinance gives any AI agent easy trading across every major market through one hosted MCP server. Trade crypto spot and perpetuals on Hyperliquid with market, limit and TWAP orders, leverage and margin control. Trade stocks, indices, commodities, forex and pre-IPO names as Hyperliquid HIP-3 perps. Trade Polymarket prediction markets with odds, order books, positions, PnL and trader leaderboards. Swap and bridge across 40+ EVM chains and Solana with Relay and Jupiter, find memecoins across 200+ chains, launch tokens on Robinhood Chain and Solana, and buy crypto with card, bank or UPI. Write actions are designed to ask for your confirmation first. Connect with OAuth (sign in to OpenFinance and approve) or an API key. Works with Claude, ChatGPT, Cursor, VS Code, Codex and any MCP client. No install. Home: https://openfinance.tech/agents · Docs: https://docs.openfinance.tech · GitHub: https://github.com/openfinance-tech/mcp
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Bitget cryptocurrency exchange for spot and futures trading. Supports real-time market data, order management, account balances, leverage control, and position tracking with demo trading capabilities.176MIT
- FlicenseNot gradedqualityDmaintenanceProvides access to AsterDex perpetual futures market data including real-time order books, candlestick charts, funding rates, and price statistics for cryptocurrency trading pairs.-

Aster MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceAn MCP server for Aster Futures and Spot APIs, enabling AI agents to query market data, place orders, and check positions and accounts securely.49MIT- AlicenseNot gradedqualityCmaintenanceA comprehensive MCP server for Aster DEX perpetual futures trading, enabling AI agents to access real-time market data, perform institutional-grade analysis, execute orders, and run automated trading strategies.1MIT