Checkout Pro, Pix, boleto, card. Marketplace split. The LatAm-wide payments gateway that actually works across borders.
Mercado Pago gives your agent 30 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
create_payment β Create a new paymentget_payment β Get payment details by IDsearch_payments β Search payments with filters// Your agent calls a tool directly β no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_payment", { /* ... */ });$ npm install @codespar/mcp-mercado-pagoAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"mercado-pago": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-mercado-pago"
],
"env": {
"MERCADO_PAGO_ACCESS_TOKEN": "<your_mercado_pago_access_token>"
}
}
}
}After restart, your agent can call any of the 30 tools below β try create_payment first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
MERCADO_PAGO_ACCESS_TOKENAPI key/token for mercado-pago
Each tool is independent β your agent loads only what it needs to reduce context and response time.
create_paymentget_paymentsearch_paymentscreate_refundcreate_preferenceget_preferencecreate_customerlist_customersMCP is a protocol β any framework that speaks it can mount this server.