Skip to content
FunCoding

mcp-mercado-pago

Listed in the official MCP Registry

Mercado Pago — payments, checkout, PIX, refunds for LATAM

Star
278
Category
Finance
Version
v0.2.2
License
MIT
Last commit
Nov 13, 2026

@codespar/mcp-mercado-pago

MCP server for Mercado Pago, the leading payment platform in Latin America

npm License: MIT

Quick Start

Claude Desktop

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

{
  "mcpServers": {
    "mercado-pago": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-mercado-pago"],
      "env": {
        "MERCADO_PAGO_ACCESS_TOKEN": "APP_USR-..."
      }
    }
  }
}

Claude Code

claude mcp add mercado-pago -- npx @codespar/mcp-mercado-pago

CLI

# Set your access token
export MERCADO_PAGO_ACCESS_TOKEN="APP_USR-..."

# Run via stdio
npx -y @codespar/mcp-mercado-pago

# Run via HTTP
MCP_HTTP=true MCP_PORT=3000 npx -y @codespar/mcp-mercado-pago

Tools (30)

ToolPurpose
create_paymentCreate a new payment
get_paymentGet payment details by ID
search_paymentsSearch payments with filters
create_refundRefund a payment (full or partial)
create_preferenceCreate a checkout preference for Checkout Pro
get_preferenceGet checkout preference by ID
create_customerCreate a customer
list_customersList customers
get_payment_methodsList available payment methods
create_pix_paymentCreate a PIX payment
get_merchant_orderGet merchant order by ID
get_balanceGet account balance
create_subscriptionCreate a recurring subscription (preapproval)
get_subscriptionGet subscription (preapproval) details by ID
cancel_subscriptionCancel a subscription (preapproval)
create_card_tokenTokenize a card for secure payments
get_payment_method_detailsGet details of a specific payment method by ID
create_storeCreate a store (physical location or POS group)
list_storesList stores
create_posCreate a point of sale (POS) linked to a store
update_subscriptionUpdate a subscription (preapproval): amount, status, reason, card token, etc.
oauth_token_exchangeExchange an authorization code for a seller access token (marketplace onboarding).
create_advanced_paymentCreate a marketplace split payment with per-recipient disbursements (application_fee, money_release_days, c...
get_advanced_paymentGet an advanced (split) payment by ID
get_chargebackGet chargeback details by ID
upload_chargeback_evidenceUpload documentation/evidence for a chargeback dispute.
get_identification_typesGet document/identification types available per country (CPF, CNPJ, DNI, RUT, etc.).
get_payment_methods_by_siteList available payment methods for a specific Mercado Pago site (MLB=Brazil, MLA=Argentina, MLM=Mexico, MLC...
create_settlement_reportManually generate a settlement (account money) report for a date range.
search_merchant_ordersSearch merchant orders with filters (last 90 days).

Environment Variables

VariableRequiredDescription
MERCADO_PAGO_ACCESS_TOKENYesAccess token from Mercado Pago dashboard
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Authentication

Uses Bearer token authentication. Set this environment variable before launching the server:

  • MERCADO_PAGO_ACCESS_TOKEN (required, secret): access token for Mercado Pago

Issue credentials at the Mercado Pago Developers dashboard.

API Reference

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

Similar MCP servers

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k222 new stars in the last 7 days

Featured

CCXT

Connect to 100+ exchanges and prediction markets, fetch market data, manage orders and accounts.

CCccxt/ccxt45k68 new stars in the last 7 days

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k161 new stars in the last 7 days

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k33 new stars in the last 7 days

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k74 new stars in the last 7 days

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k13 new stars in the last 7 days