Skip to main content
Glama
RodrigoFlorencio86

mcp-mercado-bitcoin

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MB_API_KEYYesClient ID (Chave de API) do Mercado Bitcoin
MB_DRY_RUNNoModo simulação (não executa operações reais)false
MB_API_SECRETYesClient Secret (Segredo da API) do Mercado Bitcoin
MB_AUTO_CONFIRMNoPular confirmação em operações perigosasfalse
MB_MAX_ORDER_BRLNoValor máximo por ordem (em BRL)
MB_OPERATION_MODENoModo de operação: readonly, trading ou fulltrading
MB_DAILY_LIMIT_BRLNoLimite diário de negociação (em BRL)

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
mb_statusA

Check the current configuration and health of the Mercado Bitcoin MCP server. Shows operation mode, security limits, authentication status and daily spending.

mb_get_orderbookA

Get the order book (asks and bids) for a trading pair on Mercado Bitcoin. Returns current buy and sell orders with prices and quantities.

mb_get_tradesA

Get recent executed trades for a trading pair. Useful for seeing market activity, recent prices and volumes.

mb_get_symbolsA

List available trading symbols/pairs on Mercado Bitcoin with metadata (min/max price, min/max volume, asset type).

Without a filter, returns only BRL pairs (most common) in pages of 200. Use 'symbols' for specific pairs or 'offset' to paginate through all available pairs. Mercado Bitcoin has 1900+ symbols including crypto, fan tokens, DeFi, and tokenized assets.

mb_get_tickersA

Get current price tickers for one or more trading pairs. Returns: last price, bid, ask, high, low, open, and 24h volume.

mb_get_candlesA

Get OHLCV candlestick data for charting and technical analysis. Resolutions: 1m, 15m, 1h, 3h, 1d, 1w, 1M.

mb_get_asset_feesA

Get deposit and withdrawal fees for a specific asset. Includes minimum amounts and confirmation requirements per network.

mb_get_asset_networksA

List available blockchain networks for a specific asset. Important for multi-network assets like USDT (Ethereum, Stellar, etc.).

mb_list_accountsA

List all your Mercado Bitcoin accounts (wallets). Returns account IDs, names, currency and type. You need the accountId for most other operations.

mb_get_balancesA

Get asset balances for an account. Shows available, on_hold (in open orders), and total for each asset. By default, only returns assets with balance > 0 (most common use case). Set hide_zero=false to include all 1900+ assets.

mb_get_tierB

Get the fee tier level of an account. Higher tiers have lower trading fees.

mb_get_trading_feesA

Get maker and taker fee rates for a specific market. Useful before placing orders to estimate costs.

mb_get_positionsA

List open positions with average entry price, quantity and side. Useful for portfolio analysis and P&L tracking.

mb_internal_transferA

Transfer an asset between your own Mercado Bitcoin accounts (sub-wallets). Requires confirmation. Call first with confirm=false to preview, then confirm=true to execute.

mb_place_orderA

Place a buy or sell order on Mercado Bitcoin. Supports market, limit, stoplimit and post-only orders.

IMPORTANT: This tool uses a two-step confirmation flow for safety.

  1. First call with confirm=false (default) → returns a preview of the order

  2. Show the preview to the user and ask for approval

  3. If approved, call again with confirm=true → executes the order

For market buy orders, you can use 'cost' (value in BRL, e.g. 'buy R$500 of BTC') instead of 'qty'. The MCP will automatically calculate the quantity based on the current market price.

Order types:

  • market: executes immediately at best available price

  • limit: executes at limitPrice or better

  • stoplimit: triggers a limit order when stopPrice is reached

  • post-only: limit order that is rejected if it would execute immediately (maker only)

mb_list_ordersA

List orders for a specific trading pair. Filter by status, side, date range. Returns order details including executions (fills).

mb_get_orderA

Get detailed information about a specific order, including all executions (fills), average price, fees and timestamps.

mb_cancel_orderA

Cancel a specific open order. Requires confirmation. Call with confirm=false first to preview, then confirm=true to execute.

mb_cancel_all_ordersA

Cancel ALL open orders on your account. Optionally filter by symbol. DANGEROUS: This cancels multiple orders at once. Requires confirmation. Call with confirm=false first to preview, then confirm=true to execute.

mb_list_all_ordersA

List orders across ALL trading pairs for an account. Useful for getting a complete picture of trading activity.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/RodrigoFlorencio86/mcp-mercado-bitcoin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server