Monapay MCP
概览
作者提供的说明(英文原文)
MONA Pay for AI agents: create VietQR, check bank transfers, webhooks & HMAC. Vietnam bank API, VND
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i2 项中通过 2 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 113/周 · ★ 0
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 开发者工具
- 你需要填写:MONAPAY_CLIENT_ID, MONAPAY_CLIENT_SECRET
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:2 项中通过 2 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
MONAPAY_CLIENT_ID,MONAPAY_CLIENT_SECRET,MONAPAY_BASE_URL
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"monapay": {
"command": "npx",
"args": [
"-y",
"monapay-mcp",
"-y"
],
"env": {
"MONAPAY_CLIENT_ID": "your-value",
"MONAPAY_CLIENT_SECRET": "your-value",
"MONAPAY_BASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add monapay --env MONAPAY_CLIENT_ID=your-value --env MONAPAY_CLIENT_SECRET=your-value --env MONAPAY_BASE_URL=your-value -- npx -y monapay-mcp -y运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"monapay": {
"command": "npx",
"args": [
"-y",
"monapay-mcp",
"-y"
],
"env": {
"MONAPAY_CLIENT_ID": "your-value",
"MONAPAY_CLIENT_SECRET": "your-value",
"MONAPAY_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"monapay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"monapay-mcp",
"-y"
],
"env": {
"MONAPAY_CLIENT_ID": "your-value",
"MONAPAY_CLIENT_SECRET": "your-value",
"MONAPAY_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- MONA Pay API key client_id (create in dashboard my.monapay.vn).
- MONA Pay API key client_secret (shown once). Needed for write actions (create QR, webhooks).
MONAPAY_BASE_URLenvOptional API base URL (default production).
这些设置是根据作者在注册中心的条目生成的。如果 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月10日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 monapay.vn 验证(注册中心会核实域名所有权)
- ✓ 通过
仍在维护
代码最后更新于36天前
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5729 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5729 个服务器的 47% 更新
- 基础检查结果等于或优于此分类中其他 5729 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Monapay MCP 安全吗?
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:MONAPAY_CLIENT_ID, MONAPAY_CLIENT_SECRET
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于36天前,最新版本(0.6.2)于37天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:REA, Netdata, Front-End Checklist
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
monapay-mcp
An MCP server that lets AI coding agents such as Claude Code, Cursor and Codex (or any MCP client) work with MONA Pay while coding: link a bank account, create checkout links and VietQR codes, look up incoming transfers, configure and test webhooks, email and Zalo group notifications, and verify webhook signatures.
Published on npm as monapay-mcp and in the MCP Registry as vn.monapay/monapay-mcp.
Install
Requires Node.js 18 or later and a MONA Pay API key (client ID and client secret, created in the MONA Pay dashboard).
npx -y monapay-mcp # starts the server over stdio
Claude Code
claude mcp add monapay \
-e MONAPAY_CLIENT_ID=your_client_id \ -e MONAPAY_CLIENT_SECRET=your_client_secret \ -- npx -y monapay-mcp
Cursor (.cursor/mcp.json) and Claude Desktop (claude_desktop_config.json)
{
"mcpServers": { "monapay": { "command": "npx", "args": ["-y", "monapay-mcp"], "env": { "MONAPAY_CLIENT_ID": "client_id", "MONAPAY_CLIENT_SECRET": "client_secret" } } } }
Codex (~/.codex/config.toml)
[mcp_servers.monapay]
command = "npx" args = ["-y", "monapay-mcp"] env = { MONAPAY_CLIENT_ID = "client_id", MONAPAY_CLIENT_SECRET = "client_secret" }
Configuration
| Variable | Required | Meaning |
|---|---|---|
MONAPAY_CLIENT_ID | yes (recommended) | client_id of an API key created in the dashboard |
MONAPAY_CLIENT_SECRET | yes (recommended) | client_secret, shown once; used to obtain the OAuth token and authorize write actions |
MONAPAY_USERNAME | legacy | MONA Pay username, used only when client credentials are not set |
MONAPAY_PASSWORD | legacy | Password; does not work for accounts with 2FA enabled |
MONAPAY_BASE_URL | no | Defaults to https://api.monapay.vn |
Client credentials are recommended over username/password, because accounts with 2FA enabled cannot log in with a password.
Usage
Tools
| Tool | What it does |
|---|---|
monapay_quickstart | Entry point: checks account state (bank/VA linked, webhook configured) and returns the next steps |
monapay_whoami | Verifies the connection and returns the account name and plan |
monapay_me | Profile of the logged-in account |
monapay_link_bank_start · monapay_link_bank_verify_otp | Link an ACB account and create a virtual account (first OTP) |
monapay_notification_register · monapay_notification_verify_otp | Turn on incoming-transfer notifications (second OTP) |
monapay_list_bank_accounts · monapay_list_virtual_accounts | Linked bank accounts and their virtual accounts (VA) |
monapay_get_payment_profile · monapay_set_payment_profile | View or set the profile used by the hosted checkout page |
monapay_create_checkout · monapay_get_checkout · monapay_list_checkouts · monapay_cancel_checkout | Create, inspect, filter and cancel hosted checkout sessions |
monapay_create_qr · monapay_cancel_qr | Create or cancel a dynamic VietQR for an order |
monapay_list_transactions | Incoming transactions for a VA (up to 100 per page), for reconciliation |
monapay_get_transaction | Find one incoming transaction by transaction_code or ID within a VA |
monapay_get_transactions_summary | Incoming totals, transaction count and daily data for a date range |
monapay_sandbox_transaction | Create a fake incoming transaction; webhooks, Telegram, email and Zalo fire as for a real one. Without a VA, a sandbox VA is issued |
monapay_list_webhooks · monapay_create_webhook · monapay_update_webhook · monapay_delete_webhook | Webhook configs (NONE, API_KEY or HMAC_SHA256; HMAC recommended) |
monapay_test_webhook · monapay_webhook_logs · monapay_webhook_stats | Send a dummy webhook, per-delivery history, success rate / P95 |
monapay_list_email_configs · monapay_create_email_config · monapay_update_email_config · monapay_delete_email_config | Email notification configs with 1 to 10 recipients |
monapay_verify_email · monapay_resend_email_verification · monapay_test_email | Verify a recipient with a 6-digit code, resend the code, send a test email |
monapay_email_logs · monapay_email_stats | Delivery metadata, success rate / P95 and error groups |
monapay_list_email_suppressions · monapay_remove_email_suppression | View and remove suppressed addresses |
monapay_list_zalo_groups · monapay_create_zalo_group · monapay_update_zalo_group · monapay_delete_zalo_group | Zalo group notification configs |
monapay_test_zalo_group · monapay_zalo_group_logs | Send a test message and read Zalo group delivery history |
monapay_retry_transaction | Re-send the webhook or Telegram notification for a transaction |
monapay_generate_key | Generate a new client_secret |
monapay_rotate_key | Rotate the secret of the current key when it may be exposed |
monapay_verify_signature | Verify a webhook signature locally, with no network call |
monapay_generate_webhook_snippet | Webhook receiver code for PHP, Node or Python, with a sample payload |
Resources and prompt
monapay://docs/llms: machine-readable index of the MONA Pay docs.monapay://docs/{slug}: one docs page as Markdown, for examplemonapay://docs/webhooks/tich-hop-webhook.- Prompt
integrate-monapay(argumentslanguage,framework): a 6-step plan for the agent to integrate MONA Pay into the current project.
Example
"Integrate automatic bank transfer confirmation into this Laravel site with MONA Pay."
The agent calls monapay_whoami, gets receiver code with monapay_generate_webhook_snippet(language="php"), writes the endpoint into the project, registers it with monapay_create_webhook(auth_type="HMAC_SHA256", secret_key=...), fires monapay_test_webhook, reads monapay_webhook_logs to confirm the endpoint returns 200, then uses monapay_create_checkout for each order and waits for CHECKOUT_PAID.
Link a bank account with OTP
ACB sends each OTP to the account holder's registered phone. The agent must ask the user at steps 2 and 4 and never guess an OTP.
- Call
monapay_link_bank_startwith the ACB account number, phone number, customer type, VA prefix and identifier. It returnsacb_request_id, and ACB sends the first OTP. - Ask the user for the OTP and call
monapay_link_bank_verify_otp. It returnsvirtual_account_idand the VA number. - Call
monapay_notification_registerwithvirtual_account_id. ACB sends the second OTP. - Ask the user for the second OTP and call
monapay_notification_verify_otp. Incoming transfers are now forwarded to your configured webhooks.
If an OTP is wrong or expired, call the previous step again to get a new code.
Zalo group notifications
The group must contain the MONA bot (Gấu Mona), which is added by the MONA team. group_id is 10 to 25 digits and comes from MONA Account/PMS.
Call monapay_create_zalo_group with group_id, a friendly name and the events to receive: TRANSACTION_IN, CHECKOUT_PAID, WEBHOOK_FAILED, VA_CREATED. You can limit it to one virtual_account_id, send a test with monapay_test_zalo_group and check delivery with monapay_zalo_group_logs.
Zalo does not render Markdown, so message_template must be plain text. It supports {amount}, {description}, {virtual_account_number}, {transaction_code} and {transfer_date}; the {{amount}} form also works.
Key rotation
monapay_rotate_key uses the current secret to rotate the key that matches MONAPAY_CLIENT_ID. The old secret stops working immediately; update MONAPAY_CLIENT_SECRET in your MCP config and restart the client.
Webhook signature
X-Mona-Signature: sha256= , where hex = HMAC-SHA256(secret, " . "). Reject requests whose timestamp is more than 300 seconds off and compare in constant time. transaction_code stays the same across retries, so use it as the deduplication key.
Development
npm install
npm test # build + node --test
Calls a few read-only tools against a real account
MONAPAY_CLIENT_ID=... MONAPAY_CLIENT_SECRET=... MONAPAY_BASE_URL=https://api.monapay.vn npm run smoke
Agent guide: https://monapay.vn/ai-agent · Documentation: https://monapay.vn/docs
License
MIT
MONA Pay is part of MONA Cloud by The MONA Group.