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.
- Open Minhas aplicações (My applications) and click Criar aplicação (Create application).
- Give it a name, such as Nekt MCP.
- Describe its use, for example: “Integration to read orders and answer buyer questions.”
- 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.
- 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:
3
Authorize the application
Open the URL below in your browser, replacing 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 Copy the value of
YOUR_CLIENT_ID with your APP ID and YOUR_REDIRECT_URI with the Redirect URI you registered in the first step:code parameter in the address bar: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 The response is a JSON object. Copy the value of its refresh token field (it starts with
code is not the refresh token yet. Exchange it for one with the request below, replacing the values with your own:TG-); this is the Refresh token you enter in Nekt.Adding Mercado Livre as an MCP
Before you start, make sure the MCP Server is set up. See MCPs for how MCPs work.- Go to Activate → MCPs, click New MCP and choose Mercado Livre.
- Name your MCP and describe what it is used for. The agent reads the description to choose between MCPs of the same provider.
- 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.
- Select tools. Pick the tools your agents can use. See Available tools below.
- 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.