Test Card Hub
What it does
Sandbox test cards, Playwright tests, real-card scanner and decline codes for LATAM gateways.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "test-card-hub": { "command": "npx", "args": [ "-y", "test-card-hub-mcp" ] } } }退出 Claude 再重新打开
试一试
用 Test Card Hub 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Test Card Hub,或回答中出现 Test Card Hub 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TEST_CARD_HUB_BACKUPOptional path to the backup JSON exported from the Test Card Hub Chrome extension, to expose your own environments.
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Test Card Hub
Test Card Hub 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Test Card Hub 的应用
- 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user test-card-hub -- npx -y test-card-hub-mcp在 Claude Code 中输入 /mcp
应能看到 Test Card Hub 在列表中并显示已连接
试一试
用 Test Card Hub 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Test Card Hub,或回答中出现 Test Card Hub 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TEST_CARD_HUB_BACKUPOptional path to the backup JSON exported from the Test Card Hub Chrome extension, to expose your own environments.
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Test Card Hub 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Test Card Hub,或回答中出现 Test Card Hub 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TEST_CARD_HUB_BACKUPOptional path to the backup JSON exported from the Test Card Hub Chrome extension, to expose your own environments.
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Test Card Hub 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Test Card Hub,或回答中出现 Test Card Hub 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
TEST_CARD_HUB_BACKUPOptional path to the backup JSON exported from the Test Card Hub Chrome extension, to expose your own environments.
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user test-card-hub -- npx -y test-card-hub-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"test-card-hub": {
"command": "npx",
"args": [
"-y",
"test-card-hub-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"test-card-hub": {
"command": "npx",
"args": [
"-y",
"test-card-hub-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"test-card-hub": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"test-card-hub-mcp"
]
}
}
}需要你填写的值
TEST_CARD_HUB_BACKUPenvOptional path to the backup JSON exported from the Test Card Hub Chrome extension, to expose your own environments.
说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 eyrockscript 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于昨天
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5869 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5869 个服务器的 92% 更新
- 基础检查结果等于或优于此分类中其他 5869 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Test Card Hub 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于昨天,最新版本(1.1.0)于3天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
test-card-hub-mcp
MCP server that gives AI agents the official sandbox test cards of Latin American and global payment gateways, so they can test a checkout end to end: approved, declined, insufficient funds and 3DS/review scenarios.
Companion to the Test Card Hub Chrome extension. Same data, same validation code.
Gateways: Stripe, Mercado Pago MX, Conekta, Openpay MX, NetPay MX, Clip, Kushki MX, PayU Latam MX, dLocal and Adyen. Every number is copied from the gateway's official documentation, with the URL and verification date (sources).
Test environments only. The server never generates card numbers and never calls a gateway.
Install
Claude Code:
claude mcp add test-card-hub -- pnpm dlx test-card-hub-mcp
Claude Desktop, Cursor and other clients (mcpServers config):
{
"mcpServers": { "test-card-hub": { "command": "pnpm", "args": ["dlx", "test-card-hub-mcp"] } } }
npx -y test-card-hub-mcp works too. Requires Node.js 20 or newer.
Desktop apps (Claude Desktop, Cursor) do not load your shell profile. If Node.js comes from nvm, fnm or asdf, the app cannot find node and the server fails with env: node: No such file or directory. Pass your Node.js bin directory in env.PATH (find it with dirname "$(which node)"):
{
"mcpServers": { "test-card-hub": { "command": "pnpm", "args": ["dlx", "test-card-hub-mcp"], "env": { "PATH": "/Users/you/.nvm/versions/node/v22.23.4/bin:/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin" } } } }
Tools
| Tool | What it does |
|---|---|
list_gateways | Gateways with docs URL, verification date, card count per outcome and the gateway hint (expiry, CVV, cardholder-name rules). |
find_test_cards | Cards filtered by gateway, outcome, brand, environment or source. Each card includes everything to type in the checkout: expiry, CVV, postal code, and the fields some sandboxes need, such as the NetPay customer email or the Mercado Pago, PayU and Adyen cardholder name. Max 50 per call; the response says how many matched. |
validate_card | Luhn, length, brand and whether the number is a known test number. Verdict possibly_real_card tells the agent to stop. |
list_environments | Your own environments from the extension, read from an exported backup file. |
generate_checkout_tests | Writes a Playwright test file (TypeScript) with one test per sandbox scenario of a gateway, with every field filled from the official rules. Map the fillCheckout and expectOutcome helpers to your checkout's selectors. The server returns the file; it writes nothing to disk. |
scan_for_real_cards | Scans text (code, fixtures, logs, seed data) for card numbers that may be real: Luhn-valid, a known brand, and not a published sandbox number. Findings are masked to first 6 + last 4 digits (last 4 only for numbers under 16 digits), with line and column. Numbers split across lines or separated by dots are not detected. Up to 200,000 characters per call. |
explain_decline | Explains a gateway decline or error code: the official meaning with its source URL, plus a suggested customer message (es/en) and merchant action. The suggestions are ours and labelled as such. Omit code to list a gateway's known codes. |
All tools are read-only. Descriptions accept lang: "es" for Spanish texts.
Where the data comes from
Card numbers come from each gateway's official test-card page. Field rules (expiry, CVV, cardholder name, email) and decline codes come from the official docs listed in src/data/gateway-research/ .json, each with its sources, verifiedAt date and gaps: what the docs did not state. Every scenario says where each value came from (fieldSources: gateway_docs, any_future_date or any_value). Decline categories (insufficient_funds, fraud_suspected, ...) are our classification; gateways do not publish them.
Known gaps on 2026-11-10: Kushki's docs are behind a password, so explain_decline has no Kushki codes and its field rules could not be re-verified. Gateways do not document which decline code each sandbox scenario returns, so generate_checkout_tests checks the outcome shown to the customer, not a specific code.
Prompt checkout_test_matrix (checkoutUrl, gateway): runs every outcome against your checkout with a browser tool such as Playwright MCP and returns a pass/fail table.
Use with Playwright MCP
claude mcp add playwright -- pnpm dlx @playwright/mcp@latest
claude mcp add test-card-hub -- pnpm dlx test-card-hub-mcp
Then ask: "Test the checkout at http://localhost:3000/pay with Conekta: approved, declined and insufficient funds."
Your own environments
- In the extension, open "Manage environments" and click "Export backup".
- Start the server with the file path:
claude mcp add test-card-hub -- pnpm dlx test-card-hub-mcp --backup /path/to/test-card-hub-backup.json
Or set TEST_CARD_HUB_BACKUP=/path/to/file.json. The file is re-read on every call, so a new export is picked up without restarting. The path comes only from server configuration, never from a tool argument.
Español
Servidor MCP con las tarjetas de prueba oficiales de pasarelas de pago (Stripe, Mercado Pago, Conekta, Openpay, NetPay, Clip, Kushki, PayU, dLocal, Adyen) para que un agente de IA pruebe un checkout de punta a punta. Instalación en Claude Code:
claude mcp add test-card-hub -- pnpm dlx test-card-hub-mcp
Usa lang: "es" para recibir descripciones y notas en español. Para tus propios ambientes, exporta el respaldo desde la extensión y pasa la ruta con --backup.
Development
pnpm install
pnpm --filter test-card-hub-mcp test:coverage
src/domain, src/data and src/ui/view-model.js of the extension are copied into mcp/core by scripts/sync-core.mjs before tests and before packing. Do not edit mcp/core.
Made by Cenzontle. MIT license.