> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nekt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mercado Pago as an MCP

> Let your AI agents use Mercado Pago in real time through the Nekt MCP Gateway.

Mercado Pago is a leading digital payment platform. Connect Mercado Pago as an MCP to let your AI agents read live payment statuses, generate settlement reports, and securely issue new charges or refunds directly from your workspace.

| | Available |
| :- | :- |
| **Nekt Express** | Yes |
| **GCP** | Yes |
| **AWS** | Yes |

## Adding Mercado Pago as an MCP

Before you start, make sure the [MCP Server](https://docs.nekt.com/mcp-server/setup.md) is set up. See [MCPs](https://docs.nekt.com/mcps/overview.md) for how MCPs work.

1. Go to **Activate → [MCPs](https://app.nekt.ai/mcps)**, click **New MCP** and choose **Mercado Pago**.
2. **Name your MCP** and describe what it is used for. The agent reads the description to choose between MCPs of the same provider.
3. **Setup access**. To connect with your API key:

   1. In Mercado Pago, navigate to **Your integrations**.
   2. Select your application and click **Production credentials**.
   3. Copy your **Access Token**.

   Provide the following configuration field:

   * **Access token**: Seller's production Access Token (starts with APP\_USR-), sent as a Bearer token. (Required)
4. **Select tools**. Pick the tools your agents can use. See [Available tools](#available-tools) below.
5. Click **Save**. On Growth and Custom plans, choose who can use it; see [Access levels](https://docs.nekt.com/mcps/overview.md#access-levels).

## Example prompts

* "What is the status of payment 987654321?"
* "Create a new Pix payment for 50.00 for payer email [client@example.com](mailto:client@example.com)."
* "Issue a full refund for payment 123456789."
* "Generate a settlement report for the period between May 1st and May 15th."
* "Search for all payments created in the last 30 days."

## Available tools

Choose which of these tools your agents can use in **Select tools**.

### Read tools

| Tool | Description | Parameters |
| :- | :- | :- |
| `get_payment` | Get one payment by id (GET /v1/payments/\{id}). Args: creds: Injected authentication credentials. payment\_id: Payment id (numeric, from search\_payments or create\_payment). Returns: The full payment, including: - `status`: pending \| approved \| authorized \| in\_process \| in\_mediatio… | `payment_id` (string, required) |
| `get_payment_refund` | Get one refund of a payment (GET /v1/payments/\{id}/refunds/\{refund\_id}). Args: creds: Injected authentication credentials. payment\_id: Payment id. refund\_id: Refund id (from list\_payment\_refunds or create\_payment\_refund). Returns: The refund: `id`, `payment_id`, `amount`, \`statu… | `refund_id` (string, required), `payment_id` (string, required) |
| `get_release_report_config` | Current releases report configuration (GET /v1/account/release\_report/config). Args: creds: Injected authentication credentials. Returns: The configuration as received: columns, file name prefix, timezone, report format and automatic generation schedule. This connector does not… | — |
| `get_release_report_file` | Download a releases report file as CSV text (GET /v1/account/release\_report/\{file\_name}). One row per money movement released to the account (DATE, SOURCE\_ID, EXTERNAL\_REFERENCE, RECORD\_TYPE, DESCRIPTION, NET\_CREDIT\_AMOUNT, NET\_DEBIT\_AMOUNT, GROSS\_AMOUNT, MP\_FEE\_AMOUNT, ...; the… | `file_name` (string, required), `max_chars` (integer) |
| `get_release_report_task` | Status of a releases report generation task (GET /v1/account/release\_report/task/\{task-id}). Args: creds: Injected authentication credentials. task\_id: Task id returned when the report was requested. Returns: The task: `status` (pending \| processing \| processed \| failed \| delete… | `task_id` (integer, required) |
| `get_settlement_report_config` | Current account money report configuration (GET /v1/account/settlement\_report/config). Args: creds: Injected authentication credentials. Returns: The configuration as received: columns, file name prefix, timezone, report format and automatic generation schedule. This connector d… | — |
| `get_settlement_report_file` | Download an account money report file as CSV text (GET /v1/account/settlement\_report/\{file\_name}). One row per transaction that moved the account balance (columns depend on the account's report configuration). XLSX files are refused: they are binary and cannot be returned as tex… | `file_name` (string, required), `max_chars` (integer) |
| `get_settlement_report_task` | Status of an account money report task (GET /v1/account/settlement\_report/task/\{task-id}). Args: creds: Injected authentication credentials. task\_id: Task id returned when the report was requested. Returns: The task: `status` (pending \| processing \| processed \| failed \| deleted)… | `task_id` (integer, required) |
| `list_payment_refunds` | List the refunds of a payment (GET /v1/payments/\{id}/refunds). Args: creds: Injected authentication credentials. payment\_id: Payment id. Returns: List of refunds, each with `id`, `payment_id`, `amount`, `status` (approved \| in\_process \| rejected \| cancelled \| authorized), \`date\_… | `payment_id` (string, required) |
| `search_payments` | Search the seller's payments (GET /v1/payments/search). Only the last 12 months are searchable. Every filter is optional; only the ones sent go in the query string. To get payments changed since a moment (the tap's incremental key), use range='date\_last\_updated' with begin\_date.… | `sort` (string), `limit` (integer), `range` (string), `offset` (integer), `pos_id` (string), `criteria` (string), `end_date` (string), `store_id` (string), `begin_date` (string), `external_reference` (string) |
| `search_release_reports` | Search generated releases reports (GET /v1/account/release\_report/search). Args: creds: Injected authentication credentials. id: Report id. file\_name: Exact file name (case sensitive). begin\_date: Start of the REPORTED period, ISO 8601 UTC ('2024-05-01T00:00:00Z'). end\_date: End… | `id` (integer), `limit` (integer), `range` (string), `format` (string), `offset` (integer), `end_date` (string), `file_name` (string), `begin_date` (string), `currency_id` (string), `created_from` (string), `range_end_date` (string), `range_begin_date` (string) |
| `search_settlement_reports` | Search generated account money (settlement) reports (GET /v1/account/settlement\_report/search). Args: creds: Injected authentication credentials. id: Report id. file\_name: Exact file name (case sensitive). begin\_date: Start of the REPORTED period, ISO 8601 UTC ('2024-05-01T00:00… | `id` (integer), `limit` (integer), `range` (string), `format` (string), `offset` (integer), `end_date` (string), `file_name` (string), `begin_date` (string), `currency_id` (string), `created_from` (string), `range_end_date` (string), `range_begin_date` (string) |

### Write tools

| Tool | Description | Parameters |
| :- | :- | :- |
| `cancel_payment` | Cancel a payment that was not completed (PUT /v1/payments/\{id} with status 'cancelled'). Only payments in status 'pending', 'in\_process' or 'authorized' can be cancelled; any other state is refused with error 2018. An approved payment is not cancelled — refund it with create\_pay… | `payment_id` (string, required) |
| `create_payment` | Create a payment (POST /v1/payments). In practice: a Pix or boleto charge. Card payments need `token`, which only exists on the seller's front end (card tokenization), so an assistant can rarely create one. Use payment\_method\_id 'pix' for Pix and the boleto id of the account (e.… | `payer` (any, required), `payment_method_id` (string, required), `transaction_amount` (number, required), `token` (string), `capture` (boolean), `metadata` (object), `issuer_id` (string), `binary_mode` (boolean), `description` (string), `installments` (integer), `additional_info` (object), `idempotency_key` (string), `notification_url` (string), `date_of_expiration` (string), `external_reference` (string), `statement_descriptor` (string) |
| `create_payment_refund` | Refund a payment, fully or partially (POST /v1/payments/\{id}/refunds). Without `amount` the WHOLE remaining amount is refunded; with `amount`, only that part. Confirm with the user which one before calling. What the response means: the refund object. Read its `status` — 'approve… | `payment_id` (string, required), `amount` (number), `idempotency_key` (string) |
| `create_release_report` | Ask Mercado Pago to generate a releases report for a period (POST /v1/account/release\_report). ASYNCHRONOUS: HTTP 202 means ACCEPTED, NOT READY. The report does not exist yet. Do not tell the user it is available. Verify: 1. If `response` carries a task id, poll get\_release\_repo… | `end_date` (string, required), `begin_date` (string, required) |
| `create_settlement_report` | Ask Mercado Pago to generate an account money report (POST /v1/account/settlement\_report). ASYNCHRONOUS: HTTP 202 means ACCEPTED, NOT READY. The report does not exist yet. Do not tell the user it is available. Verify: 1. If `response` carries a task id, poll get\_settlement\_repor… | `end_date` (string, required), `begin_date` (string, required) |
| `update_payment` | Capture or adjust a payment (PUT /v1/payments/\{id}). Only the fields sent are changed. Typical uses: capture an authorized card payment (capture=True, optionally with a lower transaction\_amount for a partial capture), or move the expiration of a pending charge. To cancel, use ca… | `payment_id` (string, required), `capture` (boolean), `date_of_expiration` (string), `transaction_amount` (number) |

## Troubleshooting

If your agent can no longer reach Mercado Pago, your access token may have expired or been revoked. The MCP will show that it needs to reconnect. Generate a new production Access Token in your Mercado Pago integration settings and update it by signing in again from the MCP's page. Ensure that your token has the correct permissions for the actions you want the agent to perform.

## Need help?

Contact our support team if you have trouble connecting Mercado Pago.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.