Mcp Mercado Bitcoin

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.2更新於 Oct 24, 2026

MCP server for Mercado Bitcoin — Brazilian crypto exchange, trading, orderbook, withdrawals

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

針對 Mercado Bitcoin 交易所的在地 MCP 伺服器,讓助理讀取行情與帳戶餘額,並下單、取消訂單或發起提領。

可以做什麼
讀取行情:交易對的報價、訂單簿、成交、K 線、交易對、資產、網路與手續費。查看帳戶:餘額、保證金或合約持倉、入金與出金紀錄。管理訂單:建立買入或賣出訂單、列出並查詢訂單、取消單筆訂單或某交易對的全部掛單。移轉資金:建立提領請求並查詢提領詳情。
適用情境
適合讓助理監控 Mercado Bitcoin 行情、檢視餘額與訂單歷史,或透過對話下單、取消訂單與發起提領,而不必開啟交易所網頁。
執行需求
透過 npx 從 npm 套件在本機執行,需要 Node.js。需要 Mercado Bitcoin 帳戶,並以環境變數 MB_API_KEY 與 MB_API_SECRET 提供 API 憑證。需要連線至交易所網路;另提供沙箱環境供測試。
安裝前請注意
此伺服器可建立訂單、取消訂單與發起提領,會動用真實資金。它需要具備交易與提領權限的 API key 與 secret,應限制權限並妥善保管。README 另提到具備付款路由與預算控制功能的企業版,屬於另一項產品。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Mercado Bitcoin,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@codespar/mcp-mercado-bitcoin

MCP server for Mercado Bitcoin — Brazilian cryptocurrency exchange with trading, orders, and market data

[npm] [License: MIT]

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "mercado-bitcoin": {      "command": "npx",      "args": ["-y", "@codespar/mcp-mercado-bitcoin"],      "env": {        "MB_API_KEY": "your-key",        "MB_API_SECRET": "your-secret"      }    }  }}

Claude Code

bash
claude mcp add mercado-bitcoin -- npx @codespar/mcp-mercado-bitcoin

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "mercado-bitcoin": {      "command": "npx",      "args": ["-y", "@codespar/mcp-mercado-bitcoin"],      "env": {        "MB_API_KEY": "your-key",        "MB_API_SECRET": "your-secret"      }    }  }}

Tools (20)

ToolPurpose
get_tickerGet ticker data for a trading pair (price, volume, etc.)
list_orderbookGet order book (bids and asks) for a trading pair
create_orderCreate a buy or sell order
get_orderGet order details by ID
cancel_orderCancel an open order
list_ordersList orders with optional filters
get_balanceGet account balances for all assets
list_tradesList executed trades for a trading pair
get_candlesGet candlestick/OHLCV data for a trading pair
withdrawCreate a withdrawal request
cancel_all_ordersCancel all open orders for a symbol
list_account_tradesList authenticated account fills/trades for a symbol
list_depositsList deposits (crypto + fiat) for the authenticated account
list_withdrawalsList withdrawals (crypto + fiat) for the authenticated account
get_withdrawalGet withdrawal details by ID
list_symbolsList available trading symbols (pairs) on the exchange
list_assetsList supported assets/coins on the exchange
list_networksList supported blockchain networks for a given asset
get_feesQuery trading fees (maker/taker) for a symbol
list_positionsList open margin/futures positions (if applicable to the account)

Authentication

Mercado Bitcoin uses an API key and secret passed via request headers.

Sandbox / Testing

Mercado Bitcoin provides a sandbox via the dashboard for testing.

Get your credentials

  1. Go to Mercado Bitcoin
  2. Create an account
  3. Navigate to API settings to generate key and secret
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
MB_API_KEYYesAPI key from Mercado Bitcoin
MB_API_SECRETYesAPI secret from Mercado Bitcoin

Roadmap

v0.2 (planned)

  • get_account_info — Get account information and limits
  • list_currencies — List available cryptocurrencies
  • get_order_history — Get order history with filters
  • create_stop_order — Create a stop-limit order
  • get_fees — Get trading fees for an account

v0.3 (planned)

  • margin_trading — Margin trading operations
  • lending — Crypto lending operations

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

來源:packages/crypto/mercado-bitcoin/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分