MAX Exchange MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_API_KEY | No | Your MAX API access key (required for account management, trading, and other private features) | |
| MAX_API_SECRET | No | Your MAX API secret key (required for account management, trading, and other private features) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_marketsA | 取得 MAX 所有可用交易市場列表 |
| get_currenciesB | 取得 MAX 所有可用貨幣列表 |
| get_timestampA | 取得 MAX 伺服器目前時間(Unix 時間戳,秒) |
| get_tickerA | 取得單一市場即時行情(最新成交價、買賣一口價、24h 成交量等) :param market: 市場 ID,例如 'btcusdt'、'ethusdt' |
| get_tickersA | 取得多個市場即時行情,可一次查詢多個 :param markets: 逗號分隔的市場 ID,例如 'btcusdt,ethusdt';留空回傳全部 |
| get_depthA | 取得市場深度(掛單簿),顯示買賣雙方的掛單價格與數量 :param market: 市場 ID,例如 'btcusdt' :param limit: 回傳筆數,最多 300,預設 20 |
| get_public_tradesA | 取得市場最近公開成交記錄(無需登入) :param market: 市場 ID,例如 'btcusdt' :param limit: 回傳筆數,預設 30 |
| get_kA | 取得市場 K 線(蠟燭圖)資料 :param market: 市場 ID,例如 'btcusdt' :param period: K 線週期(分鐘),可選 1/5/15/30/60/120/240/360/720/1440,預設 1 :param limit: 回傳筆數,最多 10000,預設 30 |
| get_m_index_pricesB | 取得 M 錢包各幣種指數價格 |
| get_m_limitsA | 取得 M 錢包目前可用借貸額度上限 |
| get_m_interest_ratesB | 取得 M 錢包各幣種目前借貸利率 |
| get_user_infoA | 取得目前登入帳戶的用戶資訊(KYC 狀態、帳號 ID 等) |
| get_accountsB | 取得帳戶各幣種餘額 :param wallet_type: 錢包類型,'spot'(現貨)或 'm'(M 錢包),預設 'spot' :param currency: 只查特定幣種,例如 'btc';留空查全部 |
| get_deposit_addressA | 取得指定幣種的充值地址 :param currency_version: 幣種版本,例如 'eth'、'trc20usdt'、'erc20usdt' |
| get_withdraw_addressesB | 取得已綁定的提現地址列表 :param currency: 篩選特定幣種,例如 'btc';留空查全部 |
| get_m_ad_ratioA | 取得 M 錢包目前 AD 比率(資產 / 借貸),低於門檻會觸發清算 |
| submit_m_loanB | 向 M 錢包申請借貸 :param currency: 借貸幣種,例如 'usdt'、'btc' :param amount: 借貸金額(字串),例如 '1000' |
| get_m_loansB | 取得 M 錢包借貸歷史記錄 :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 |
| submit_m_transferA | 在現貨錢包與 M 錢包之間轉移資金 :param currency: 幣種,例如 'usdt' :param amount: 金額(字串),例如 '500' :param side: 方向,'in' = 轉入 M 錢包,'out' = 從 M 錢包轉出 |
| get_m_transfersB | 取得 M 錢包資金轉移記錄 :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 |
| submit_m_repaymentB | 向 M 錢包還款 :param currency: 還款幣種,例如 'usdt' :param amount: 還款金額(字串),例如 '1000' |
| get_m_repaymentsB | 取得 M 錢包還款歷史記錄 :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 |
| get_m_liquidationsB | 取得 M 錢包清算歷史記錄 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 |
| get_m_liquidationB | 取得單筆 M 錢包清算詳情 :param sn: 清算序號 |
| get_m_interestsB | 取得 M 錢包利息計費歷史記錄 :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 |
| submit_orderB | 提交買賣訂單 :param market: 市場 ID,例如 'btcusdt' :param side: 方向,'buy' 或 'sell' :param volume: 交易數量(字串),例如 '0.001' :param price: 限價(字串),市價單可省略 :param ord_type: 訂單類型,limit / market / stop_limit / stop_market / post_only / ioc_limit,預設 limit :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param stop_price: 止損觸發價,stop 系列訂單需填 :param client_oid: 自訂訂單 ID(最長 36 字元) |
| get_open_ordersA | 取得目前未成交的掛單列表 :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param market: 篩選市場,例如 'btcusdt';留空查全部 :param limit: 回傳筆數,最多 1000,預設 50 |
| get_closed_ordersA | 取得已關閉的訂單(已成交、已取消等) :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param market: 篩選市場;留空查全部 :param limit: 回傳筆數,最多 1000,預設 50 :param state: 狀態篩選,done / cancel / finalizing / failed;留空查全部 |
| get_orders_historyA | 依 ID 順序分頁取得訂單歷史(適合完整匯出) :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param market: 篩選市場;留空查全部 :param from_id: 從指定訂單 ID 開始(用於翻頁) :param limit: 回傳筆數,預設 50 |
| get_orderB | 查詢單筆訂單詳情 :param order_id: 訂單 ID(與 client_oid 擇一) :param client_oid: 自訂訂單 ID(與 order_id 擇一) |
| cancel_orderB | 取消單筆掛單 :param order_id: 訂單 ID(與 client_oid 擇一) :param client_oid: 自訂訂單 ID(與 order_id 擇一) |
| cancel_ordersB | 批次取消某市場的掛單 :param market: 市場 ID(必填),例如 'btcusdt' :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param side: 只取消特定方向,'buy' 或 'sell';留空取消雙向 |
| get_tradesB | 取得個人歷史成交記錄 :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param market: 篩選市場;留空查全部 :param limit: 回傳筆數,預設 50 |
| get_order_tradesB | 取得特定訂單的所有成交明細 :param order_id: 訂單 ID(與 client_oid 擇一) :param client_oid: 自訂訂單 ID(與 order_id 擇一) |
| submit_convertA | 執行幣種閃兌(即時換匯) :param from_currency: 賣出幣種,例如 'usdt' :param to_currency: 買入幣種,例如 'btc' :param from_amount: 賣出金額(與 to_amount 二擇一),例如 '1000' :param to_amount: 買入金額(與 from_amount 二擇一),例如 '0.01' |
| get_convertB | 查詢單筆閃兌詳情 :param uuid: 兌換單 UUID |
| get_convertsB | 取得閃兌歷史記錄 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 |
| submit_withdrawalA | 提交加密貨幣提現申請 :param withdraw_address_uuid: 提現地址 UUID(先用 get_withdraw_addresses 取得) :param amount: 提現金額(字串),例如 '100' |
| submit_twd_withdrawalB | 提交台幣(TWD)出金申請 :param amount: 出金金額(字串),例如 '10000' |
| get_withdrawalC | 查詢單筆提現詳情 :param uuid: 提現 UUID |
| get_withdrawalsB | 取得提現歷史記錄 :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 :param state: 狀態篩選;留空查全部 |
| get_depositB | 查詢單筆存款詳情 :param uuid: 存款 UUID |
| get_depositsB | 取得存款歷史記錄 :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 :param state: 狀態篩選;留空查全部 |
| get_internal_transfersB | 取得平台內部轉帳記錄(MAX 用戶間互轉) :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 :param side: 'in'(收款)或 'out'(付款);留空查全部 |
| get_rewardsA | 取得獎勵記錄(返傭、空投、利息獎勵等) :param reward_type: 獎勵類型篩選;留空查全部 :param currency: 篩選幣種;留空查全部 :param limit: 每頁筆數,預設 50 :param page: 頁碼,預設 1 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nicky512500/max-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server