Skip to main content
MCP server CX Codex

mcp-mercado-pago — Claude Code MCP server: features and setup

Connect an agent to Mercado Pago tools for payments, refunds, PIX, and subscriptions. The server needs a Mercado Pago access token to run.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-mercado-pago -e MERCADO_PAGO_ACCESS_TOKEN=<MERCADO_PAGO_ACCESS_TOKEN> -- npx -y @codespar/mcp-mercado-pago
Open on GitHub

What mcp-mercado-pago does

The server exposes tools for payments, Checkout Pro preferences, PIX, customers, balances, subscriptions, and merchant orders. Agents can also issue refunds, handle chargeback evidence, and create split payments. The README lists 30 tools.

In Claude Code, it runs through npx over stdio. HTTP transport is also available by setting MCP_HTTP and MCP_PORT. Supply MERCADO_PAGO_ACCESS_TOKEN when configuring the server; without a valid token, Mercado Pago requests cannot authenticate.

What it helps with

  • create a Mercado Pago payment or Checkout Pro preference
  • search payments with filters and inspect their details
  • issue a full or partial refund
  • create a PIX payment or recurring subscription
  • retrieve chargeback information

Example prompts for the agent

  • Create a Mercado Pago payment for this amount and currency.
  • Search payments using these filters and show their statuses.
  • Issue a partial refund for this payment.

How to install mcp-mercado-pago

Platform CLI

claude mcp add mcp-mercado-pago -e MERCADO_PAGO_ACCESS_TOKEN=<MERCADO_PAGO_ACCESS_TOKEN> -- npx -y @codespar/mcp-mercado-pago

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-mercado-pago

How do I install mcp-mercado-pago in Claude Code?

Run claude mcp add mcp-mercado-pago -e MERCADO_PAGO_ACCESS_TOKEN=<MERCADO_PAGO_ACCESS_TOKEN> -- npx -y @codespar/mcp-mercado-pago. Replace the placeholder with your Mercado Pago access token.

What does mcp-mercado-pago do?

It gives an agent access to Mercado Pago operations, including payment creation and search, refunds, PIX, subscriptions, and order lookup.

What does the server need to run?

Set MERCADO_PAGO_ACCESS_TOKEN to an access token from Mercado Pago. The server uses stdio, or HTTP when MCP_HTTP=true is set.

Similar MCP servers

Everything for Finance and business →

From the same set124

mcp-nfe-io MCP server for NFe.io fiscal tools. Issues Brazilian invoices (NF-e and NFS-e) and handles CNPJ and CEP lookups directly from your coding agent. CX Codex +1 ★ 274repo stars mcp-nequi Connects an AI agent to Nequi for push payments, QR payments, subscriptions, and merchant operations. It requires Nequi credentials. CX Codex +1 ★ 274repo stars mcp-moonpay Hands the agent MoonPay tools: quote and place buy or sell orders, check KYC status, and sign payment widget links. CX Codex +1 ★ 274repo stars mcp-midaz Connects your coding agent to a self-hosted Midaz ledger to inspect balances, create accounts, and post balanced double-entry transactions. CX Codex +1 ★ 274repo stars mcp-mercado-libre Wires Mercado Libre into your coding agent: product search, orders, shipments, buyer questions and reviews. Useful if you sell on the marketplace and work from chat. CX Codex +1 ★ 274repo stars mcp-mercado-bitcoin Connects AI coding assistants to the Mercado Bitcoin exchange for automated trading, orderbook tracking, and balance checks. Useful for Brazilian crypto workflows. CX Codex +1 ★ 274repo stars mcp-melhor-envio Connects an agent to Melhor Envio for carrier rates, shipment orders, labels, agencies, and tracking. It fits delivery workflows that need API access. CX Codex +1 ★ 274repo stars mcp-matera An MCP server for Matera, Brazil's core-banking infrastructure: issue Pix charges, resolve DICT keys, move money. The package is deprecated because api.matera.com no longer resolves. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor