demo-mercadopago
MCP server from mercadolibre/demo-mercadopago-mcp-server
claude mcp add --transport stdio mercadolibre-demo-mercadopago-mcp-server node /path/to/demo-mercadopago-mcp-server/build/index.js \ --env DEBUG="true" \ --env CLIENT_ID="your-mercadopago-client-id" \ --env CLIENT_SECRET="your-mercadopago-client-secret"
How to use
This MCP server exposes tools to help you integrate Mercado Pago into your applications. The repository identifies a primary tool called search_documentation, which lets you query Mercado Pago’s developer documentation by language (es, pt), term, and country site (MLA, MLB, MLM, MPE, etc.). You can invoke this tool by configuring your MCP client to call the mercadopago server and selecting the search_documentation tool with the required parameters. The tool returns structured search results with links to relevant Mercado Pago guides and documentation to accelerate integration work. In your IDE or MCP client, you enable debugging if needed to see the request/response payloads and verify that environment credentials are being used correctly.
How to install
Prerequisites:
- Node.js installed on your machine
- npm installed (enabled via Node.js)
- Mercado Pago API credentials (CLIENT_ID and CLIENT_SECRET)
Installation steps:
-
Clone the repository git clone https://github.com/mercadolibre/demo-mercadopago-mcp-server.git cd demo-mercadopago-mcp-server
-
Install dependencies npm install
-
Obtain Mercado Pago API credentials
- CLIENT_ID: Your Mercado Pago application ID
- CLIENT_SECRET: Your Mercado Pago secret key
- You can also set DEBUG=true in the environment to enable verbose logging
-
Run or configure the MCP server in your IDE
-
For IDEs like Claude Desktop or Windsurf, configure the server with:
{ "mcpServers": { "mercadopago": { "command": "node", "args": ["/path/to/demo-mercadopago-mcp-server/build/index.js"], "env": { "CLIENT_ID": "your-mercadopago-client-id", "CLIENT_SECRET": "your-mercadopago-client-secret", "DEBUG": "true" // Optional: Enable debug logging } } } }
-
-
Start the server locally (example)
- Ensure environment variables are set, then run the Node.js entrypoint if you prefer direct execution: node build/index.js
Additional notes
Tips and common issues:
- Ensure your Mercado Pago credentials are kept secret; do not commit them to source control.
- If you encounter connection or authentication errors, verify that CLIENT_ID and CLIENT_SECRET are correctly set in the environment where the server runs.
- The DEBUG environment variable is optional but helpful during setup to get verbose logs.
- Build artifacts are expected under build/index.js; if you modify source, re-run npm run build if your setup requires it.
- The MCP server configuration assumes a single mercadopago server entry named mercadopago; you can adjust the server name in the mcp_config accordingly.
- When using with IDEs, ensure the path in args points to the actual built entry point in your environment.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.