Skip to main content
Mercado Livre is a leading e-commerce platform in Latin America. Through Nekt, your AI agent can manage your seller account by listing orders, retrieving order details, viewing buyer questions, and answering them directly.

Creating a Mercado Livre application

The MCP connects through your own Mercado Livre application. Create it once to get the Client ID, Client secret, and Refresh token you will enter in Nekt.
1

Create the application

Go to the Mercado Livre DevCenter and sign in with the seller account that owns the listings and orders you want your agents to access.
  1. Open Minhas aplicações (My applications) and click Criar aplicação (Create application).
  2. Give it a name, such as Nekt MCP.
  3. Describe its use, for example: “Integration to read orders and answer buyer questions.”
  4. Set the permissions: grant read and write access for orders and questions, and enable offline access. Without offline access, Mercado Livre does not issue a refresh token.
  5. Register a Redirect URI. This is an address you choose, not one provided by Nekt or Mercado Livre: any HTTPS URL you control works, such as your company’s website (for example, https://yourcompany.com). The page doesn’t need to do anything. Mercado Livre only appends the authorization code to it, and you copy the code from your browser’s address bar. Nekt doesn’t use this address.
Use exactly the same Redirect URI, character for character, in the authorization URL and the token request below. Mercado Livre rejects the request if they differ, including a missing or extra trailing slash.
2

Get the Client ID and Client secret

Open the application’s settings in Minhas aplicações and copy its credentials:
Keep the Client secret safe and never share it publicly.
3

Authorize the application

Open the URL below in your browser, replacing YOUR_CLIENT_ID with your APP ID and YOUR_REDIRECT_URI with the Redirect URI you registered in the first step:
Sign in with the seller account you want to connect and authorize the application. Mercado Livre then redirects you to your Redirect URI with a code parameter in the address bar:
Copy the value of code. It is single-use and expires within a few minutes, so move on to the next step right away.
4

Get the refresh token

The code is not the refresh token yet. Exchange it for one with the request below, replacing the values with your own:
The response is a JSON object. Copy the value of its refresh token field (it starts with TG-); this is the Refresh token you enter in Nekt.
Mercado Livre rotates refresh tokens: each time a token is renewed, a new one is issued and the previous one stops working. Once you paste the refresh token in Nekt, don’t use it anywhere else, or the MCP will lose access.

Adding Mercado Livre as an MCP

Before you start, make sure the MCP Server is set up. See MCPs for how MCPs work.
  1. Go to Activate → MCPs, click New MCP and choose Mercado Livre.
  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. Enter the credentials from Creating a Mercado Livre application:
    • Client ID: Required. Your application’s APP ID.
    • Client secret: Required. Your application’s Secret Key.
    • Refresh token: Required. The refresh token from the Get the refresh token step.
  4. Select tools. Pick the tools your agents can use. See Available tools below.
  5. Click Save. On Growth and Custom plans, choose who can use it; see Access levels.

Example prompts

  • “Show me the latest orders from my Mercado Livre seller account.”
  • “Get the full details for order number 123456789.”
  • “Are there any unanswered questions on my active listings?”
  • “Reply to question 987654321 with: ‘Yes, this product comes with a 1-year warranty.’”

Available tools

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

Read tools

Write tools

Troubleshooting

  • Expired or revoked access: If your refresh token expires or is revoked, the MCP will show that it needs to reconnect. Go to the MCP’s page and update your credentials to sign in again and restore access.
  • Permission errors: Ensure the Mercado Livre application associated with your credentials has the correct scopes granted to read orders and answer questions on behalf of your seller account.
  • Rate limits: If you process a high volume of orders or questions, the agent might encounter Mercado Livre API rate limits. Ask the agent to narrow down requests, such as checking a specific order instead of a large list.

Need help?

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