{"_id":"@codespar/mcp-mercado-pago","_rev":"5-aa03de886017ce1be84bf474180e7cb7","name":"@codespar/mcp-mercado-pago","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"@codespar/mcp-mercado-pago","version":"0.1.0","keywords":["mercado-pago","payments","latam","pix","checkout","argentina","brazil","mcp"],"license":"MIT","_id":"@codespar/mcp-mercado-pago@0.1.0","maintainers":[{"name":"codespar-npm","email":"contact@codespar.dev"}],"bin":{"mcp-mercado-pago":"dist/index.js"},"dist":{"shasum":"f7b5ee44d30e6711f4525e4178d1a1aa94df180a","tarball":"https://registry.npmjs.org/@codespar/mcp-mercado-pago/-/mcp-mercado-pago-0.1.0.tgz","fileCount":4,"integrity":"sha512-qzKbkLrjhIeLnNVi+S2aHuPy+TjbAK2GfYYe8Gm69YPpN/cSMw50nx+beH4iF9YCa56tRKDNNoEUF9swO7r3DQ==","signatures":[{"sig":"MEQCIH4BqwZdZa7uD7ldkRGTLPFQx4p+7miotnTpKkp5pVSaAiB0MOzF/gleWR0WzCps8VvyoTODZ5dl+xkRJsKTpKaz+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19980},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"d6f0607828e051fb04b9a5e1069929dc2c06927f","mcpName":"io.github.codespar/mcp-mercado-pago","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"codespar-npm","email":"contact@codespar.dev"},"_npmVersion":"11.8.0","description":"MCP server for Mercado Pago — payments, checkout, PIX, refunds for LATAM","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-mercado-pago_0.1.0_1776008637149_0.4169779646513836","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@codespar/mcp-mercado-pago","version":"0.2.0","keywords":["mercado-pago","payments","latam","pix","checkout","argentina","brazil","mcp"],"license":"MIT","_id":"@codespar/mcp-mercado-pago@0.2.0","maintainers":[{"name":"codespar-npm","email":"contact@codespar.dev"}],"bin":{"mcp-mercado-pago":"dist/index.js"},"dist":{"shasum":"ed65dadb1f115077a859884aba427637acc31828","tarball":"https://registry.npmjs.org/@codespar/mcp-mercado-pago/-/mcp-mercado-pago-0.2.0.tgz","fileCount":4,"integrity":"sha512-lPIfHTPnjVikY4LWAcxSPoZPIq9leR3tOveapQOCJLOYSvpIsnaGJ8VqR88CVYeOHiXJpghEkpoLTbBQVm5quw==","signatures":[{"sig":"MEQCIBPvlG4LPW8x9bnCMqvN+33VT8/pLZoH8T89Zc1KGIPDAiA2BI7jcuK9VBkQyFAYS5o1UsYNVhChtDetmEiVyzHUpQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51172},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"b999d2a16b58ff41c781890e346d04a59801d6cb","mcpName":"io.github.codespar/mcp-mercado-pago","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"codespar-npm","email":"contact@codespar.dev"},"_npmVersion":"11.8.0","description":"MCP server for Mercado Pago — payments, checkout, PIX, refunds for LATAM","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-mercado-pago_0.2.0_1777039120394_0.23826996861652172","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@codespar/mcp-mercado-pago","version":"0.2.1","keywords":["mercado-pago","payments","latam","pix","checkout","argentina","brazil","mcp"],"license":"MIT","_id":"@codespar/mcp-mercado-pago@0.2.1","maintainers":[{"name":"codespar-npm","email":"contact@codespar.dev"}],"bin":{"mcp-mercado-pago":"dist/index.js"},"dist":{"shasum":"caa1d4125762738ba65ce17a708539ce8bab3fc2","tarball":"https://registry.npmjs.org/@codespar/mcp-mercado-pago/-/mcp-mercado-pago-0.2.1.tgz","fileCount":4,"integrity":"sha512-evlz11+ziBxxhnGwb292TA2/c6aORjyKErXZP4krQ9Rujsfqf7+nNbT9PtSFQxPcGdP66zxQq1sucizq4tm0GQ==","signatures":[{"sig":"MEUCIQD0mTH4jj2Xd7w0TM6X78BEQr8gzV+lABqmByyjAEMQrAIgfvOEjTwoMXZLKnMz6/5OCa1/jbSvlAm/5fYTyttV8so=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50864},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"0ab801a863239f0cb986bbda65abbaee3c621b44","mcpName":"io.github.codespar/mcp-mercado-pago","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"codespar-npm","email":"contact@codespar.dev"},"_npmVersion":"11.8.0","description":"MCP server for Mercado Pago — payments, checkout, PIX, refunds for LATAM","directories":{},"_nodeVersion":"25.5.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-mercado-pago_0.2.1_1777123221039_0.2560375014764755","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@codespar/mcp-mercado-pago","version":"0.2.2","description":"MCP server for Mercado Pago — payments, checkout, PIX, refunds for LATAM","type":"module","main":"dist/index.js","bin":{"mcp-mercado-pago":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.8.0"},"license":"MIT","keywords":["mercado-pago","payments","latam","pix","checkout","argentina","brazil","mcp"],"mcpName":"io.github.codespar/mcp-mercado-pago","_id":"@codespar/mcp-mercado-pago@0.2.2","gitHead":"e8f2ad023876683538fe7b66a2fc88ab8d8ef92f","types":"./dist/index.d.ts","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-PrIgxhRophYzXTcbJJLRa/DMoWonUQ6fDvbBHgjrrW0wYE3qsade5Mafq01C88oRd740CSHLk6wxJcPtraEkwA==","shasum":"c47ce76f98e24aaa2dad293c2df0d22d0bf317e2","tarball":"https://registry.npmjs.org/@codespar/mcp-mercado-pago/-/mcp-mercado-pago-0.2.2.tgz","fileCount":4,"unpackedSize":51863,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDYekN9HDZL2roT23ddMlLvhyf8WFoLJEw9bQBlJQ3QaQIgdJk10BYO6XdjvP66Ta63RfroeZMRo5kKLIkPWG8ALdA="}]},"_npmUser":{"name":"codespar-npm","email":"fabiano@codespar.dev"},"directories":{},"maintainers":[{"name":"codespar-npm","email":"fabiano@codespar.dev"},{"name":"dangazineu","email":"daniel.gazineu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-mercado-pago_0.2.2_1782153883753_0.35305440421126155"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-12T15:43:57.028Z","modified":"2026-06-22T18:44:44.085Z","0.1.0":"2026-04-12T15:43:57.293Z","0.2.0":"2026-04-24T13:58:40.533Z","0.2.1":"2026-04-25T13:20:21.190Z","0.2.2":"2026-06-22T18:44:43.917Z"},"license":"MIT","keywords":["mercado-pago","payments","latam","pix","checkout","argentina","brazil","mcp"],"description":"MCP server for Mercado Pago — payments, checkout, PIX, refunds for LATAM","maintainers":[{"name":"codespar-npm","email":"fabiano@codespar.dev"},{"name":"dangazineu","email":"daniel.gazineu@gmail.com"}],"readme":"# MCP Mercado Pago\n\nMCP server for the **Mercado Pago** payment gateway — the leading payment platform in Latin America.\n\n## Quick Start\n\n```bash\n# Set your access token\nexport MERCADO_PAGO_ACCESS_TOKEN=\"APP_USR-...\"\n\n# Run via stdio\nnpx tsx packages/payments/mercado-pago/src/index.ts\n\n# Run via HTTP\nnpx tsx packages/payments/mercado-pago/src/index.ts --http\n```\n\n## Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `MERCADO_PAGO_ACCESS_TOKEN` | Yes | Access token from Mercado Pago dashboard |\n| `MCP_HTTP` | No | Set to `\"true\"` to enable HTTP transport |\n| `MCP_PORT` | No | HTTP port (default: 3000) |\n\n## Tools (30)\n\n| Tool | Purpose |\n|---|---|\n| `create_payment` | Create a new payment |\n| `get_payment` | Get payment details by ID |\n| `search_payments` | Search payments with filters |\n| `create_refund` | Refund a payment (full or partial) |\n| `create_preference` | Create a checkout preference for Checkout Pro |\n| `get_preference` | Get checkout preference by ID |\n| `create_customer` | Create a customer |\n| `list_customers` | List customers |\n| `get_payment_methods` | List available payment methods |\n| `create_pix_payment` | Create a PIX payment |\n| `get_merchant_order` | Get merchant order by ID |\n| `get_balance` | Get account balance |\n| `create_subscription` | Create a recurring subscription (preapproval) |\n| `get_subscription` | Get subscription (preapproval) details by ID |\n| `cancel_subscription` | Cancel a subscription (preapproval) |\n| `create_card_token` | Tokenize a card for secure payments |\n| `get_payment_method_details` | Get details of a specific payment method by ID |\n| `create_store` | Create a store (physical location or POS group) |\n| `list_stores` | List stores |\n| `create_pos` | Create a point of sale (POS) linked to a store |\n| `update_subscription` | Update a subscription (preapproval) — amount, status, reason, card token, etc. |\n| `oauth_token_exchange` | Exchange an authorization code for a seller access token (marketplace onboarding). |\n| `create_advanced_payment` | Create a marketplace split payment with per-recipient disbursements (application_fee, money_release_days, c... |\n| `get_advanced_payment` | Get an advanced (split) payment by ID |\n| `get_chargeback` | Get chargeback details by ID |\n| `upload_chargeback_evidence` | Upload documentation/evidence for a chargeback dispute. |\n| `get_identification_types` | Get document/identification types available per country (CPF, CNPJ, DNI, RUT, etc.). |\n| `get_payment_methods_by_site` | List available payment methods for a specific Mercado Pago site (MLB=Brazil, MLA=Argentina, MLM=Mexico, MLC... |\n| `create_settlement_report` | Manually generate a settlement (account money) report for a date range. |\n| `search_merchant_orders` | Search merchant orders with filters (last 90 days). |\n\n## Auth\n\nUses **Bearer token** authentication. Obtain your access token from the [Mercado Pago Developers](https://www.mercadopago.com.br/developers) dashboard.\n\n## API Reference\n\n- [Mercado Pago API Docs](https://www.mercadopago.com.br/developers/en/reference)\n\n## Enterprise\n\nNeed governance, budget limits, and audit trails for agent payments? [CodeSpar Enterprise](https://codespar.dev/enterprise) adds policy engine, payment routing, and compliance templates on top of these MCP servers.\n\n## Authentication\n\nSet these environment variables before launching the server:\n\n- `MERCADO_PAGO_ACCESS_TOKEN` *(required, secret)* — API key/token for mercado-pago\n\nIssue credentials at the provider's developer portal: <https://www.mercadopago.com.br/developers>.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}