Back to Plugins

Mercadopago

Mercado Pago full-product integration toolkit. One agent routes to four orchestration skills (mp-integrate wizard, mp-webhooks, mp-test-setup, mp-review) that pull every endpoint, payload, and snippet live from the official Mercado Pago MCP server. The MCP must always be connect…

developmentgoagent
By Mercado Pago Developer Experience
2010Updated 2 weeks agoPythonApache-2.0

Installation

/plugin install mercadopago@claude-plugins-official

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions

mercadopago-claude-marketplace

The official Claude Code plugin marketplace for Mercado Pago payment integrations.

Status: Beta License: Apache-2.0 Version: 4.1.0 Platform: Claude Code CI

[!WARNING] This project is under active development. APIs, skill structures, and plugin interfaces may change between versions. Use in production integrations at your own discretion. Feedback and contributions are welcome.

<div align="center">

Explore the Component Catalog

Browse Components

4 skills · 1 agent · 3 commands · 2 hooks — all browsable in a visual catalog.

Search, filter, and explore every component with detailed metadata and direct links to source code.

</div>

Overview

A Claude Code plugin that gives you an AI-powered integration assistant for the full Mercado Pago product suite. Ask questions, scaffold projects, review code, and get real-time API guidance — all from your terminal.

  • MCP-first architecture — one thin router agent delegates to 4 orchestration skills backed by the live Mercado Pago MCP server
  • 4 orchestration skills: mp-integrate, mp-webhooks, mp-test-setup, mp-review
  • 7 countries supported: Argentina, Brazil, Mexico, Chile, Colombia, Peru, Uruguay
  • Credential leak prevention — hook scans every file write for hardcoded tokens
  • OAuth-based auth — connect via /mp-connect, no keychain scripts needed
  • 3 slash commands/mp-integrate, /mp-review, /mp-connect

What's new in v4.1.0

A focused refinement of the v4.0.0 architecture. No breaking changes — same 4 skills, same MCP-first model.

  • Bricks gotchas restored: six experiential traps that v4.0.0 lost during the consolidation are back in mp-integrate's Gotchas Bank — ad-blockers blocking sdk.mercadopago.com, debit cards without installments, preferenceId placeholder failures, Status Screen needing payment_id (not order_id), React unmount() in useEffect cleanup, and back_urls same-origin requirement.
  • Implementation Report in /mp-review: every review now ends with a structured closure block — Verified / Needs attention / Blockers / Next steps / Scores + Verdict — so developers know if they can ship.
  • Orders API push reflected in reviews: mp-review now detects legacy /v1/payments usage and surfaces a forward-looking migration item in Needs attention (not a blocker — existing code works, but the Payments API is being deprecated). Checkout Pro is explicitly exempted since it has no Orders API equivalent.
  • Architecture-agnostic CI: validate.yml no longer hardcodes skill filenames. Future refactors that keep the basic plugin structure won't break the build.

Installation

1. Add the marketplace

/plugin marketplace add https://github.com/mercadopago/mercadopago-claude-marketplace.git

2. Install the plugin

/plugin install mercadopago@mercadopago-claude-marketplace

If you are developing this repository locally, you must run bash scripts/install-git-hooks.sh before making commits. This is required to activate the pre-commit hook. The validation command expects claude to be available on the machine.

3. Connect your account

Inside Claude Code, run:

/mp-connect

This starts the OAuth flow. No Access Token or keychain setup required — the MCP server handles authentication via OAuth.

For other IDEs (Cursor, VS Code, Windsurf), add https://mcp.mercadopago.com/mcp via your IDE's MCP settings panel. Run /mp-connect for IDE-specific snippets.

Skills

SkillWhat it does
mp-integrateWizard that scaffolds a complete integration for any product: Checkout Pro, Checkout API, Bricks, QR, Point, Subscriptions, Marketplace, Wallet Connect, Money Out, SmartApps
mp-webhooksReceiver pattern with HMAC-SHA256 validation; configures, simulates, and diagnoses webhooks
mp-test-setupCreates test users and loads funds. Clarifies the modern testing model (no TEST- prefix — both users use APP_USR-)
mp-reviewRuns the official quality checklist live + a fixed cross-cutting security floor

All product knowledge (endpoint URLs, request/response schemas, code snippets, payment status tables, country availability) is pulled live from the Mercado Pago MCP server. Nothing is hardcoded in the skills.

Commands

CommandPurpose
/mp-connectVerify or trigger the Mercado Pago MCP OAuth flow
/mp-integrate [product] [options]Scaffold a new integration via the wizard. Sub-modes: webhook, test-setup
/mp-review [scope]Review an integration. Scopes: security, webhooks, checkout, qr, subscriptions, marketplace, quality, full

Architecture

┌────────────────────────────────────────────────────────┐
│  mp-integration-expert  (router, ~120 lines)           │
│  - MCP-gate every interaction                          │
│  - country detection                                   │
│  - mode detection (Orders API vs legacy)               │
│  - delegates to one of four skills                     │
└──────────────────────────┬─────────────────────────────┘
                           │
        ┌──────────────────┼──────────────────┬──────────────────┐
        ▼                  ▼                  ▼                  ▼
   mp-integrate       mp-webhooks       mp-test-setup        mp-review
   (wizard)           (HMAC + MCP        (create_test_user   (quality_checklist
                       webhook tools)     + add_money)        + security floor)
        │                  │                  │                  │
        └──────────────────┴──────────────────┴──────────────────┘
                           │
                           ▼
              ┌───────────────────────────┐
              │  Mercado Pago MCP server  │
              │  (mcp.mercadopago.com)    │
              │                           │
              │  search_documentation     │
              │  quality_checklist        │
              │  quality_evaluation       │
              │  save_webhook             │
              │  simulate_webhook         │
              │  notifications_history…   │
              │  create_test_user         │
              │  add_money_test_user      │
              └───────────────────────────┘

The agent is a thin router (~120 lines) with no embedded product knowledge. Skills translate developer intent into MCP queries and assemble the response. The MCP is the single source of truth — all endpoints, payloads, code snippets, and quality criteria are pulled live. There is no offline mode.

Infrastructure

ComponentNamePurpose
Agentmp-integration-expertSingle router — detects country and mode, delegates to the right skill
Hookvalidate_mp_credentialsCredential scanner — blocks hardcoded MP tokens from reaching source files
Hookcheck-versionRuns on every prompt to verify plugin version compatibility
MCPmercadopagoLive Mercado Pago API access via OAuth (mcp.mercadopago.com)
CIvalidate.ymlJSON validation, Python syntax checks, skill integrity

Requirements

  • Claude Code CLI
  • Node.js 18+ (for the MCP server)
  • Python 3.8+ (for the credential scanning hook)

Contributing

Have a bug to report, a feature to suggest, or a question? Open an issue — that's the best way to contribute. See our Contributing Guidelines for details on how to write a good report or feature request.

Code of Conduct

This project is governed by our Code of Conduct. By participating, you are expected to uphold these standards and help maintain a welcoming and respectful environment for everyone.

Support

You may find technical documentation about Mercado Pago's products and services on the Developer's Website.

Technical Support is available within the Developer's Website Support Section.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

See the LICENSE file for the full license text, and NOTICE for attribution information.

Copyright

Copyright (c) 2026 Mercado Pago (MercadoLibre S.R.L.)

View source on GitHub