Observed since 21 Oct, 09:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MCP server for the Monaco SDK
MCP server for the Monaco SDK — gives AI assistants access to the Monaco protocol on Sei.
Works in public-only mode with zero configuration. Add a private key to enable authenticated tools — scoped by a capability profile so that supplying a key does not blindly unlock the entire tool set.
| Variable | Required | Description |
|---|---|---|
MONACO_PRIVATE_KEY | No | Wallet private key (0x...) — enables authenticated tools |
MONACO_CLIENT_ID | With MONACO_PRIVATE_KEY | Monaco application client ID |
MONACO_NETWORK | With MONACO_PRIVATE_KEY | mainnet | development | staging | local. Must be explicit when a private key is set — the server refuses to default to mainnet for an authenticated session. Defaults to mainnet only for public-only mode. |
MONACO_CAPABILITY | No | read | market-maker | full. Authenticated default: read. See capability profiles. |
MONACO_TOOL_ALLOWLIST | No | Comma-separated tool names to enable on top of the profile (explicit per-tool opt-in, e.g. a single fund-movement tool). |
MONACO_TOOL_DENYLIST | No | Comma-separated tool names to disable. Wins over the profile and the allowlist. |
MONACO_RPC_URL | No | Sei RPC URL (defaults per network) |
MONACO_DELEGATED_OWNER_USER_ID | No | Run on behalf of a delegated owner account. The MONACO_PRIVATE_KEY wallet is the agent; on startup it authenticates as itself, then adopts an owner-scoped session so every tool call acts on the owner (the agent wallet stays the session's actor for policy enforcement; orders carry the owner's wallet). Requires MONACO_PRIVATE_KEY + MONACO_CLIENT_ID. See delegated owner mode. |
MONACO_CAPABILITY bounds which authenticated tools the server registers. A tool that
is not permitted by the active profile (and not named in MONACO_TOOL_ALLOWLIST) is
never registered — this is an authorization control, not an advisory tool
annotation.
| Profile | Tools enabled |
|---|---|
read | Authenticated read-only queries — profile, balances, orders, movements, fee tier, vault allowance. No state changes. Default when authenticated — supplying a key alone grants no write authority. |
market-maker | read + order placement / cancel / replace + the testnet faucet. Opt in to let an agent make markets. No fund movement. |
full | market-maker + fund movement and privilege mutations (vault approve/deposit/withdraw, transfer_rewards). Opt-in only. |
Order placement, cancel, replace, and close require MONACO_CAPABILITY=market-maker or
higher — the default read profile cannot mutate anything. Fund-movement and privilege
tools additionally require full; enable them with MONACO_CAPABILITY=full, or opt a
single tool in with MONACO_TOOL_ALLOWLIST (e.g. MONACO_TOOL_ALLOWLIST=vault_withdraw).
Grant full only when you intend an agent to move funds — especially on mainnet.
Set MONACO_DELEGATED_OWNER_USER_ID to act on behalf of a delegated owner account instead of
the configured wallet's own account. The wallet in MONACO_PRIVATE_KEY is the agent: on
startup it authenticates as itself, then adopts an owner-scoped delegated session
(loginAsDelegatedOwner). Every subsequent tool call — reads and trades — acts on the owner
account, with the agent wallet kept as the session's actor for policy enforcement. Orders placed
this way carry the owner's wallet, not the agent's, so order history does not record the agent.
The owner must have registered this agent wallet with an active delegation policy; the server
cannot self-assert ownership, and adoption fails if the agent is not authorized for that owner.
This is fail-closed: MONACO_DELEGATED_OWNER_USER_ID requires MONACO_PRIVATE_KEY and
MONACO_CLIENT_ID, a blank value is rejected, and if owner adoption fails the server does not
fall back to trading as the agent's own account. Fund-movement tools still require the full
capability, and delegated sessions cannot withdraw owner collateral. Raw delegated-session
creation is intentionally not exposed as a tool — owner adoption is a startup option, not an
autonomous agent action.
For public endpoints, set MONACO_NETWORK to one of the following documented values:
| Network | API URL | Default RPC URL |
|---|---|---|
mainnet (default) | https://apimonaco.xyz | https://evm-rpc.sei-apis.com |
staging | https://staging.apimonaco.xyz | https://evm-rpc-testnet.sei-apis.com |
Add the following to your MCP config:
~/.cursor/mcp.json~/.codeium/windsurf/mcp_config.json~/Library/Application Support/Claude/claude_desktop_config.json (macOS)Market data, orderbook, trades, and docs search — no wallet required.
{
"mcpServers": {
"monaco": {
"command": "npx",
"args": ["-y", "@0xmonaco/mcp-server"]
}
}
}
Authenticated read-only tools under the default read profile. MONACO_NETWORK is
required here — the server will not default an authenticated session to mainnet.
{
"mcpServers": {
"monaco": {
"command": "npx",
"args": ["-y", "@0xmonaco/mcp-server"],
"env": {
"MONACO_NETWORK": "staging",
"MONACO_PRIVATE_KEY": "0x...",
"MONACO_CLIENT_ID": "your-client-id"
}
}
}
}
Trading and fund movement stay off here. Add "MONACO_CAPABILITY": "market-maker"
to place / cancel / replace orders, or "MONACO_CAPABILITY": "full" to also enable
fund-movement tools (vault deposit/withdraw, transfer_rewards). A single fund-movement
tool can be opted in with "MONACO_TOOL_ALLOWLIST": "vault_withdraw" instead of full.
RPC URLs default automatically per network but can be overridden with MONACO_RPC_URL.
Public tools require no credentials. Authenticated tools require MONACO_PRIVATE_KEY,
MONACO_CLIENT_ID, and MONACO_NETWORK, and are further gated by the active
capability profile — the profile column shows the minimum
profile each tool needs.
| Tool | Profile | Description |
|---|---|---|
search_docs | Public | Search the Monaco documentation for protocol, SDK, trading, and development guides. |
| Tool | Profile | Description |
|---|---|---|
get_trading_pairs | Public | List trading pairs with optional filters (market type, base/quote token, active status). |
get_trading_pair_by_symbol | Public | Look up a trading pair by symbol (e.g. BTC/USDC). |
get_candlesticks | Public | Fetch OHLCV candlestick data for a trading pair. |
get_market_metadata | Public | Get tick size, minimum order size, and trading rules for a pair. |
get_screener | Public | Screen trading pairs with market stats (price, volume, change), filtered by market type, category, and active status. |
get_market_stats | Public | Get exchange-wide life-to-date cumulative volume and trade count across all markets. |
| Tool | Profile | Description |
|---|---|---|
get_perp_market_config | Public | Get a perpetual market's configuration (leverage limits, margin requirements, funding parameters). |
get_perp_market_summary | Public | Get a perpetual market's live summary (mark/index price, funding rate, open interest, 24h stats). |
get_mark_price | Public | Get the current mark price for a perpetual market. |
get_index_price | Public | Get the current index (oracle) price for a perpetual market. |
get_funding_state | Public | Get the current funding rate and next funding time for a perpetual market. |
get_open_interest | Public | Get the current one-sided LONG open interest (each contract counted once) for a perpetual market. |
get_funding_history | Public | List historical funding-rate records for a perpetual market. |
get_all_funding_history | Public | List historical funding-rate records across all perpetual markets. |
| Tool | Profile | Description |
|---|---|---|
get_orderbook | Public | Fetch a current orderbook snapshot with bids and asks. |
| Tool | Profile | Description |
|---|---|---|
get_trades | Public | Fetch historical trades for a trading pair. |
Order reads (get_orders, get_order) are available under read; the mutations below require market-maker or higher.
| Tool | Profile | Description |
|---|---|---|
place_limit_order | market-maker | Place a limit order with price, quantity, and time-in-force. The SDK supplies an idempotency key if omitted. Retain an explicit key to retry the same submission within 15 minutes of acceptance. Calling again without the original key is not idempotent; never retry an ambiguous failure with a new key. If the original key is unavailable, report the ambiguity. |
place_market_order | market-maker | Place a market order — executes immediately inside a mandatory 1,000 bps protective price band, so it may partially fill or be rejected. The SDK supplies an idempotency key if omitted. Retain an explicit key to retry the same submission within 15 minutes of acceptance. Calling again without the original key is not idempotent; never retry an ambiguous failure with a new key. If the original key is unavailable, report the ambiguity. |
replace_order | market-maker | Modify an existing order's price and/or quantity. Not idempotent — an ambiguous failure (timeout/network error/5xx with no order) cannot be resolved from inside MCP, which has no order-stream tool; never retry, and report the ambiguity instead. |
cancel_order | market-maker | Cancel a single order by ID. |
batch_cancel_orders | market-maker | Cancel multiple orders by ID (non-atomic — a failed leg does not stop the others). |
batch_cancel_all_orders | market-maker | Cancel all open orders, optionally filtered to a trading pair (unfiltered, it cancels your entire open-order book). |
batch_close_all_positions | market-maker | Close all open perpetual positions with market reduce-only orders (best-effort, optional pair-set and side filters). |
get_orders | read | List your orders with optional filters. |
get_order | read | Get details for a specific order by ID. |
Position reads are available under read; close_position requires market-maker, and margin add/reduce move collateral and require full.
| Tool | Profile | Description |
|---|---|---|
get_positions | read | List your perpetual positions with optional filters (margin account, trading pair, status). |
get_position | read | Get details for a specific perpetual position by ID. |
get_position_risk | read | Get liquidation price, margin ratio, and risk metrics for a perpetual position. |
get_position_history | read | List historical (closed/reduced) perpetual position records with optional filters. |
get_position_pnl_history | read | Get the PnL history time series for a perpetual position over an interval. |
close_position | market-maker | Close a perpetual position with a market, limit, or IOC reduce order. |
| Tool | Profile | Description |
|---|---|---|
get_portfolio_summary | read | Get your authoritative portfolio summary (equity, PnL, exposure) over a period. |
get_portfolio_performance | read | Get your portfolio performance time series over a period. |
get_portfolio_realized_pnl | read | Get your realized PnL breakdown over a period. |
get_portfolio_assets | read | Get your per-asset portfolio allocation and balances over a period. |
get_portfolio_margin | read | Get your portfolio margin overview (collateral, maintenance margin, health). |
Reads and risk simulations are available under read; collateral transfers move funds and require the full profile (or an explicit allowlist entry).
| Tool | Profile | Description |
|---|---|---|
get_margin_accounts | read | List your margin accounts with optional filters (state, trading pair). |
get_parent_margin_account_summary | read | Get your parent (cross) margin account summary. |
get_available_collateral | read | Get available (unlocked) collateral for allocating to margin accounts or risk buckets. |
get_parent_margin_account_movements | read | List collateral movements for your parent (cross) margin account. |
simulate_parent_margin_order_risk | read | Preview the risk impact of a prospective order against your parent (cross) margin account (read-only simulation). |
simulate_risk_bucket_order_risk | read | Preview the risk impact of a prospective order for a new or existing risk bucket (read-only simulation). |
transfer_collateral_to_parent_margin_account | full | Move collateral from spot into your parent (cross) margin account. |
transfer_collateral_from_parent_margin_account | full | Move collateral out of your parent (cross) margin account back to spot. |
transfer_collateral_to_risk_bucket | full | Allocate collateral into an isolated or cross risk bucket. |
transfer_collateral_to_sub_account | full | Move collateral from your default (parent) margin account into one of your margin sub-accounts. |
transfer_collateral_from_sub_account | full | Move collateral from one of your margin sub-accounts back to your default (parent) margin account. |
| Tool | Profile | Description |
|---|---|---|
get_profile | read | Fetch your core profile (address, username, account type, withdrawal status). |
get_balances | read | List token balances with pagination. |
get_balance_by_asset | read | Get balance for a specific asset. |
get_movements | read | Fetch transaction and movement history with optional filters. |
get_user_trades | read | List your own trade fills with optional filters and cursor pagination. |
get_funding_payments | read | List your perpetual funding payments with optional filters (trading pair, position, margin account). |
| Tool | Profile | Description |
|---|---|---|
simulate_fees | read | Simulate fees for an order before placing it. |
get_my_fee_tier | read | Get your current fee tier, rolling 14-day volumes, and a pair's fee schedule. |
Fund-movement tools require the full profile (or an explicit allowlist entry); the allowance and pending-withdrawal reads are available under read.
| Tool | Profile | Description |
|---|---|---|
vault_approve | full | Approve the vault contract to spend a token. |
vault_deposit | full | Deposit tokens into the vault (optional target: spot default, or margin to route into collateral). |
vault_withdraw | full | Withdraw tokens from the vault. |
vault_get_allowance | read | Check current token allowance for the vault. |
vault_needs_approval | read | Check whether an approval transaction is needed before depositing. |
get_pending_withdrawals | read | List your pending withdrawals still awaiting on-chain root confirmation. |
Testnet only — the faucet tools are never registered on mainnet.
| Tool | Profile | Description |
|---|---|---|
request_faucet | market-maker (non-mainnet) | Request test tokens for all trading pairs. |
get_faucet_info | read (non-mainnet) | Check remaining faucet quota, next-request time, and recent mint history. |
| Tool | Profile | Description |
|---|---|---|
get_trader_code_info | Public | Look up a trader code's details (no credentials required). |
check_trader_code_availability | Public | Public advisory check of whether a custom TraderCode handle is available (no credentials required). |
get_my_trader_code | read | Fetch your own trader code. |
set_trader_code | market-maker | Claim or edit your custom (vanity) TraderCode handle. |
clear_trader_code | market-maker | Clear your custom TraderCode handle, reverting to the wallet-derived default. |
get_rewards_balance | read | Fetch your TraderCodes rewards-bucket balances across reward tokens. |
transfer_rewards | full | Move your earned TraderCodes rewards from the rewards bucket into your own tradeable balance (ledger-only). |
The leaderboard, leader profiles and closed trades are public. Your own reads are available under read; registering as a leader and stopping a follow require market-maker; following (which moves the allocation into a copy account) and adding margin to a copy position (which moves copy account collateral into the position) require full.
| Tool | Profile | Description |
|---|---|---|
list_lead_traders | Public | Public copy trading leaderboard: lead traders ranked by ROI, PnL, followers, allocated AUM, marked AUM or win rate over a stats window (no credentials required). |
get_lead_trader | Public | Public profile, follow summary and stats of one lead trader, by custom TraderCode handle (no credentials required). |
list_lead_trader_closed_trades | Public | Public list of a lead trader's closed trades, newest first (no credentials required). |
list_lead_trader_open_positions | read | Open positions of a lead trader you currently follow (followers only). |
get_my_lead_trader | read | Fetch your own lead trader profile, follow summary and stats. |
list_my_followers | read | List your followers, as a lead trader. |
list_my_follows | read | List your copy trading follows and their settings. |
get_follow | read | Fetch one of your follows with its most recent skipped mirrors and its copy account's marked equity. |
preview_follow | read | Preview what following a lead trader with copyExisting would open: estimated margin and fees and how many positions would be copied (read-only). |
list_follow_leader_positions | read | Open positions of the lead trader one of your follows copies (live follows only). |
upsert_lead_trader | market-maker | Register as a lead trader, or edit your lead profile (profit share, bio, status, minimum allocation). |
upsert_follow | full | Follow a lead trader (moves the allocation into a new copy account) or edit one of your follows. |
stop_follow | market-maker | Stop one of your follows: the leader's fills stop being mirrored. |
close_follow_positions | market-maker | Close one follow's copy positions at market and keep the follow (it keeps mirroring). |
close_all_copy_positions | market-maker | Close the copy positions of all your follows at market and keep the follows. |
add_follow_position_margin | full | Add margin to one of your copy positions from the follow's copy account (lowers its leverage; your margin account is never touched; no reduction). Not idempotent — after a timeout, read the follow before retrying, or the amount may be added twice. |
| Tool | Profile | Description |
|---|---|---|
get_pulse | Public | Get the latest market-pulse news feed: AI-synthesized, per-asset headlines with sentiment tags. |
This inventory is generated from the tool manifest. Do not edit it by hand — edit
src/manifest.ts and run bun run mcp-docs:gen.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.88Registry latest | 20 Oct 2026 | 9 | |
| 1.0.87 | 19 Oct 2026 | 9 | |
| 1.0.86 | 18 Oct 2026 | 9 | |
| 1.0.85 | 17 Oct 2026 | 9 | |
| 1.0.83 | 15 Oct 2026 | 9 | |
| 1.0.82 | 14 Oct 2026 | 9 | |
| 1.0.81 | 13 Oct 2026 | 9 | |
| 1.0.80 | 10 Oct 2026 | 9 | |
| 1.0.77 | 9 Oct 2026 | 9 | |
| 1.0.76 | 7 Oct 2026 | 9 | |
| 1.0.74-develop.367860f | 7 Oct 2026 | 9 | |
| 1.0.75 | 6 Oct 2026 | 9 | |
| 1.0.74 | 4 Oct 2026 | 9 | |
| 1.0.73-develop.af0f5d0 | 3 Oct 2026 | 9 | |
| 1.0.73 | 1 Oct 2026 | 9 | |
| 1.0.72 | 1 Oct 2026 | 9 | |
| 1.0.70 | 30 Sept 2026 | 9 | |
| 1.0.69 | 29 Sept 2026 | 9 | |
| 1.0.67 | 25 Sept 2026 | 9 | |
| 1.0.66 | 24 Sept 2026 | 9 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 09:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b20443a77f230c597d8725cda4822f29ee089b286fb23af06454bf562d5f7774