mp-test-cards

mp-test-cards is a command for Claude Code from mercadopago/mercadopago-claude-marketplace. It costs 14 tokens per session (1,570 once invoked), scanned A, original, Apache-2.0.

A command that returns Mercado Pago test card numbers for a selected country. Mercado Pago is an online payments service, and test cards are fake payment details used in development.

In plain words
What is it for?
Use it to choose a supported country and retrieve the corresponding offline test-card details.
Why use it?
It provides safe sample card data for payment integration testing without using real customer or bank information.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the mercadopago plugin — 4 skills, 4 commands, 1 agent, 2 hooks, 1 MCP server shipped together

Good fit Use it to choose a supported country and retrieve the corresponding offline test-card details.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add mercadopago/mercadopago-claude-marketplace
Claude Code
/plugin install mercadopago

Made for: Claude Code.

Or install mercadopago, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 1 agent, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mp-test-cards

README.md
[![agentmods](https://agentmods.dev/badge/commands/mercadopago/mercadopago-claude-marketplace/mp-test-cards/github.svg)](https://agentmods.dev/commands/mercadopago/mercadopago-claude-marketplace/mp-test-cards)
Your own site
<a href="https://agentmods.dev/commands/mercadopago/mercadopago-claude-marketplace/mp-test-cards"><img src="https://agentmods.dev/badge/commands/mercadopago/mercadopago-claude-marketplace/mp-test-cards/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mp-test-cards

Your own site · 80×15
<a href="https://agentmods.dev/commands/mercadopago/mercadopago-claude-marketplace/mp-test-cards"><img src="https://agentmods.dev/badge/commands/mercadopago/mercadopago-claude-marketplace/mp-test-cards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,570 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.01570
Opus 5 $0.00007 $0.00785
Sonnet 5 $0.00003 $0.00314
Haiku 4.5 $0.00001 $0.00157

Measured 13d ago against content hash 677277f8abfb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

mp-test-cards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mercadopago/commands/mp-test-cards.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/mp-test-cards

Returns test card numbers for Mercado Pago. No MCP authentication required — data is served from the bundled references/products.md.

Step 0 — Read the bundled source

Use ${CLAUDE_PLUGIN_ROOT}/skills/mp-integrate/references/products.md. Claude Code resolves ${CLAUDE_PLUGIN_ROOT} to the active plugin version. Never copy .mcp.json, scan an installation cache, or load another marketplace copy. This command remains fully offline.

Step 1 — Resolve country

  1. If $ARGUMENTS contains a country code (AR, BR, MX, CO, CL, UY, PE) → use it directly.
  2. Otherwise, read .mp-integrate-progress.md in the project root. Use country: field if present.
  3. Otherwise, ask once via AskUserQuestion:
    • header="Country"
    • Options: "AR — Argentina" / "BR — Brazil" / "MX — Mexico" / "CO — Colombia" + Other (for CL, UY, PE)

Step 2 — Return test cards

Read ${CLAUDE_PLUGIN_ROOT}/skills/mp-integrate/references/products.md with the Read tool. Do not search a cache or another marketplace. If Claude Code cannot resolve the active root, use the bundled fallback table in Step 2b instead of loading a different plugin copy.

If no file is found by any method, skip to the fallback in Step 2b.

Step 2b — Fallback (file not found)

If products.md cannot be located, output the test cards inline from the table below. Do not call any MCP tool. Do not call search_documentation.

Hardcoded fallback data is embedded in this command only for this scenario — it is not the source of truth.

AR (MLA) — Expiry: 11/30 · CVV: 123 (Amex: 1234)

Card number Brand Type
5031 7557 3453 0604 Mastercard Credit
4509 9535 6623 3704 Visa Credit
3711 803032 57522 Amex Credit
5287 3383 1025 3304 Mastercard Debit
4002 7686 9439 5619 Visa Debit

BR (MLB) — Expiry: 11/30 · CVV: 123 (Amex: 1234)

Card number Brand Type
5031 4332 1540 6351 Mastercard Credit
4235 6477 2802 5682 Visa Credit
3753 651535 56885 Amex Credit
5067 2680 5566 8045 Elo Credit

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 134 lines · 14 tokens per session scan A 677277f8abfb

Subscribe to this mod's changes

mp-test-cards is a command published in the GitHub repository mercadopago/mercadopago-claude-marketplace (26 stars, last pushed 9d ago), licensed Apache-2.0. It adds 14 tokens to every session and 1,570 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.