Mercado Pago MCP Server - Mercado Pago MCP Server - Mercado Pago Developers

Mercado Pago MCP Server

Mercado Pago's Model Context Protocol (MCP) Server offers tools so that AI agents can interact with our APIs.

Using natural language, it is possible to simplify the integration process, use the available documentation to implement code improvements, and optimize its functionality.

Prerequisites

Before you start using the server, make sure you have your environment ready:

RequirementDescription
ClientTo connect to Mercado Pago's MCP Server, you need to choose a client from which to interact with the assistant. The solution is available for the main AI agents: Cursor (version 1 or higher), Windsurf, Cline, Claude Desktop and ChatGPT. In all cases, make sure you have the latest available version.
CredentialsCredentials are a set of unique access keys linked to your application that allows you to identify an integration in your account. Check the documentation for more information.

Connect to MCP Server

To connect to Mercado Pago MCP Server, you first need to establish a remote connection with the client that best suits your integration. Check the step-by-step guide below according to the client type.

To install our MCP in Cursor, you can click the button below or follow the steps manually.

Install MCP Server

Open the .cursor/mcp.json file and add the Mercado Pago server configuration. Check the Cursor documentation for more information.

Fill in the <authorization> field with your Access TokenAccess TokenPrivate key of the application created in Mercado Pago and used in the backend. You can access it through Your integrations > Application details > Tests > Test credentials or Production > Production credentials..

json

{
  "mcpServers": {
    "mercadopago-mcp-server-prod": {
      "url": "https://mcp.mercadopago.com/mcp",
      "headers": {
        "Authorization": "Bearer <ACCESS_TOKEN>"
      }
    }
  }
}

After completing these steps, Mercado Pago MCP Server will be ready to use. To verify if the integration was successful, access your client settings and confirm that the MCP is configured as available, as shown in the example below.

If when checking your Cursor settings you don't find an associated MCP Server, verify that you have inserted the code correctly and click the refresh icon.

This is an example of how the installed MCP Server should appear in Cursor:

MCP installed

Test the integration

To test the integration, you need to make a query with the assistant using any of the available tools.

For example, if you want to test the tool search-documentation, you just need to execute the prompt indicating what information you want to search for:

Search in Mercado Pago's documentation how to integrate Checkout Pro.

mcp-server