mcp-server
v1.1.26MCP server for the Monaco SDK
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_docs
Search the Monaco documentation for information about the protocol, SDK, trading, and development guides.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search query |
get_trading_pairs
Get a paginated list of trading pairs available on Monaco. Returns pair IDs, symbols, base/quote tokens, and status.
| Parameter | Type | Description |
|---|---|---|
baseToken | string | Filter by base token |
category | string | Filter by category (e.g. crypto, equities, commodities) |
isActive | boolean | Filter by active status |
marketType | string | Filter by market type |
page | number | Page number (starts from 1) |
pageSize | number | Number of items per page (max 100) |
quoteToken | string | Filter by quote token |
get_trading_pair_by_symbol
Look up a specific trading pair by its symbol (e.g. 'BTC/USDC'). Returns the pair's full details including its UUID.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Trading pair symbol (e.g. 'BTC/USDC') |
get_candlesticks
Get OHLCV candlestick data for a trading pair. Useful for charting and price analysis.
| Parameter | Type | Description |
|---|---|---|
interval * | string | Candlestick interval |
tradingPairId * | string | Trading pair UUID |
endTime | number | End time as Unix timestamp (seconds) |
limit | number | Max number of candlesticks to return |
startTime | number | Start time as Unix timestamp (seconds) |
get_market_metadata
Get metadata for a specific trading pair including tick size, min order size, and trading rules.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
get_screener
Screen trading pairs with market stats (price, volume, change), filtered by market type, category, and active status.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category (e.g. crypto, equities, commodities) |
isActive | boolean | Filter by active status |
marketType | string | Filter by market type |
page | number | Page number (1-based) |
pageSize | number | Items per page |
get_market_stats
Get exchange-wide life-to-date cumulative volume and trade count across all markets.
get_trader_metrics
Get public current long/short account counts, account shares and ratio, plus active-trader counts for a margin pair. Accounts are classified by net position across open risk buckets. No account IDs are returned; position splits are suppressed when either side has fewer than five accounts, and all three counts in an activity window are null if any cohort is below five users. Activity counts include system user IDs on liquidation and ADL fills. The response may be reused for up to 30 seconds per pair; ratios and shares are rounded to six decimal places.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Margin trading pair UUID |
get_trade_flow
Get UTC-aligned taker buy/sell quote-notional buckets and cumulative volume delta for a margin pair, including liquidation and ADL fills. The range is [startTime, endTime), is limited to 90 days and 2,048 buckets, and empty buckets are omitted. Times are Unix milliseconds; notional stays in the pair's quote asset and ratios are rounded to six decimal places.
| Parameter | Type | Description |
|---|---|---|
endTime * | integer | Exclusive end time as Unix milliseconds |
interval * | string | UTC-aligned bucket interval; use 4h or 1d for ranges longer than about 85 days |
startTime * | integer | Inclusive start time as Unix milliseconds |
tradingPairId * | string | Margin trading pair UUID |
list_liquidation_events
List public per-fill liquidation rows for one pair. Each row includes the public wallet and markNotional computed from that row's event-time mark in the pair's quote asset. startTime is inclusive, endTime exclusive; eventCount on the separate metrics tool counts stored rows.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
endTime | integer | Exclusive upper bound as Unix milliseconds |
pageSize | integer | Page size from 1 through 1000; defaults to 50 |
pageToken | string | Opaque cursor returned by the previous page |
startTime | integer | Inclusive lower bound as Unix milliseconds |
get_liquidation_metrics
Get UTC-aligned long and short liquidation totals for a pair. eventCount counts persisted event rows; markNotional sums each row's position size times its captured event-time mark in the quote asset. The half-open range is limited to 90 days and 2,048 buckets; empty buckets are omitted.
| Parameter | Type | Description |
|---|---|---|
endTime * | integer | Exclusive range end as Unix milliseconds |
interval * | string | UTC-aligned bucket interval; use 4h or 1d for ranges longer than about 85 days |
startTime * | integer | Inclusive range start as Unix milliseconds |
tradingPairId * | string | Trading pair UUID |
get_perp_market_config
Get a perpetual market's configuration (leverage limits, margin requirements, funding parameters).
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
get_perp_market_summary
Get a perpetual market's live summary (mark/index price, funding rate, open interest, 24h stats).
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
get_mark_price
Get the current mark price for a perpetual market.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
get_index_price
Get the current index (oracle) price for a perpetual market.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
get_funding_state
Get the current funding rate and next funding time for a perpetual market.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
get_open_interest
Get the current one-sided LONG open interest (each contract counted once) for a perpetual market.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
get_funding_history
List historical funding-rate records for a perpetual market. Cursor paged; an empty nextPageToken means the end.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
endTime | string | End time as a Unix millisecond-epoch timestamp string (e.g. "1717200000000"); ISO 8601 is rejected by the API |
orderBy | string | Sort order by time |
pageSize | integer | Items per page (default 50, max 1000) |
pageToken | string | Cursor from a previous response's nextPageToken; omit for the first page |
startTime | string | Start time as a Unix millisecond-epoch timestamp string (e.g. "1717200000000"); ISO 8601 is rejected by the API |
get_all_funding_history
List historical funding-rate records across all perpetual markets. Cursor paged; an empty nextPageToken means the end.
| Parameter | Type | Description |
|---|---|---|
endTime | string | End time as a Unix millisecond-epoch timestamp string (e.g. "1717200000000"); ISO 8601 is rejected by the API |
orderBy | string | Sort order by time |
pageSize | integer | Items per page (default 50, max 1000) |
pageToken | string | Cursor from a previous response's nextPageToken; omit for the first page |
startTime | string | Start time as a Unix millisecond-epoch timestamp string (e.g. "1717200000000"); ISO 8601 is rejected by the API |
get_orderbook
Get the current orderbook snapshot for a trading pair. Shows bids, asks, best bid/ask, and volumes.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
denomination | string | Quantity denomination: BASE or QUOTE |
depth | number | Number of price levels per side (max 1000, default 10). Every snapshot carries bookSeq |
magnitude | number | Price grouping magnitude (e.g. 0.01, 0.1, 1, 10, 100) |
tradingMode | string | Trading mode (default: SPOT) |
get_trades
Get one page of historical trades for a trading pair, sorted by execution time (newest first). Cursor paged: omit pageToken to start, then pass the previous response's nextPageToken until it comes back empty.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID |
pageSize | number | Max number of records to return (default: 25, max: 1000) |
pageToken | string | Cursor from a previous response's nextPageToken; omit to start at the most recent trade |
get_trader_code_info
Public lookup of a TraderCode (wallet address or 'Monaco - <address>' form). Returns the resolved normalized code when it belongs to a known wallet, or a 404 error if not found. Use this to validate a referral code before sign-up.
| Parameter | Type | Description |
|---|---|---|
code * | string | The TraderCode to look up — a wallet address (0x-prefixed) or the 'Monaco - <address>' display form. |
check_trader_code_availability
Public advisory check of whether a custom TraderCode handle is available. Returns `available` and, when unavailable, a `reason` (one of taken, too_short, too_long, reserved, invalid_char, looks_like_address). Advisory only — the authoritative gate is the atomic claim in set_trader_code, so a positive result is not a reservation.
| Parameter | Type | Description |
|---|---|---|
code * | string | The custom handle to check for availability. |
list_lead_traders
Public copy trading leaderboard (no credentials required): lead traders ranked highest first by a metric over a stats window, each with profile, follow summary (follower count, allocated AUM and marked AUM equity) and stats (PnL, ROI %, max drawdown %, win rate %, closed trades). Leaders are identified by wallet and custom TraderCode handle; use the handle with the other copy trading tools. Cursor paged: pass the previous response's nextPageToken with the SAME sort and window; an empty nextPageToken means the end.
| Parameter | Type | Description |
|---|---|---|
pageSize | integer | Leaders per page (default 20, max 100) |
pageToken | string | Cursor from a previous response's nextPageToken; omit for the first page |
sort | string | Metric to rank by, highest first (default roi); aum ranks by the marked equity of live follows' copy accounts |
window | string | Stats window (default 30d) |
get_lead_trader
Public lookup of one copy trading lead trader by custom TraderCode handle (no credentials required): profile (status, profit share in bps, bio, minimum allocation), follow summary, and stats for the 7d, 30d, 90d and all windows. 404 for an unknown or suspended leader.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The leader's custom TraderCode handle |
list_lead_trader_closed_trades
Public list of a copy trading lead trader's closed trades (no credentials required): the leader's reducing executions (partial and full closes, liquidations, auto-deleveraging), newest first, with size, entry and exit price, gross and net realized PnL, and realized ROE. Cursor paged; an empty nextPageToken means the end.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The leader's custom TraderCode handle |
pageSize | integer | Trades per page (default 20, max 100) |
pageToken | string | Cursor from a previous response's nextPageToken; omit for the first page |
get_fee_schedule
Get a trading pair's Monaco fee tier schedule (no credentials required): each tier's weighted 14-day volume threshold and maker/taker fee in basis points, ordered by tier level. A negative maker fee is a rebate.
| Parameter | Type | Description |
|---|---|---|
tradingPairId * | string | Trading pair UUID whose fee schedule to return |
get_pulse
Get the latest market-pulse news feed: AI-synthesized, per-asset headlines with sentiment tags.