VietQR MCP Toolkit
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@VietQR MCP Toolkit Create a VietQR payment link for 500,000 VND to VCB account 9946611993, memo Invoice 123."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
VietQR MCP Toolkit (vietqr-mcp-toolkit)
Zero-dependency Python 3.10+ Model Context Protocol (MCP) Server & CLI for generating Vietnam Napas247 VietQR payment links and print-ready A4 HTML freelance/agency invoices directly from AI agents (Claude Desktop, Cursor, Windsurf, Antigravity) or terminal scripts.
Web Version (No Install Required): Free Live VietQR & 5 Solopreneur Tools
Full Automation & Commercial White-Label Suite: KiemTien247 Digital Store
Features / Tính năng nổi bật
0 External Dependencies: Pure Python 3.10+ standard library (
json,urllib,argparse,html). Runs instantly withpython vietqr_mcp.py.20+ Supported Napas247 Banks:
VCB,MB,TCB,ACB,CTG(VietinBank),BIDV,VPB,TPB,STB,HDB,VIB,SHB,MSB,OCB,SEAB,VBA, and more.MCP JSON-RPC 2.0 Stdio Server: Exposes 3 tools to AI coding assistants & agent workflows:
generate_vietqr_payment_url— Creates Napas247 VietQR image URL + Markdown checkout snippet.generate_freelance_invoice_html— Produces print-to-PDF A4 HTML invoices with auto-calculated totals and an embedded VietQR payment block.list_supported_vietnam_banks— Lists bank shorthands and 6-digit Napas BINs.
Related MCP server: app.wishpool/vietnam-payments-mcp
Quick Start (CLI & MCP)
1. Verify Locally (--self-test)
git clone https://github.com/tranhoangtu-it/vietqr-mcp-toolkit.git
cd vietqr-mcp-toolkit
python vietqr_mcp.py --self-test2. Run as CLI
# Generate a VietQR payment link
python vietqr_mcp.py qr --bank VCB --account 9946611993 --amount 484500 --memo "KT247 PRO"
# Generate a printable A4 HTML invoice with embedded VietQR
python vietqr_mcp.py invoice --client "Acme Studio" --items "[{\"description\":\"AI Workflow Setup\",\"qty\":1,\"unit_price_usd\":49}]" --bank VCB --account 9946611993 --out invoice.html3. Connect to Claude Desktop / Cursor / Windsurf (mcpServers)
Add this block to your MCP client configuration file:
{
"mcpServers": {
"vietqr-toolkit": {
"command": "python",
"args": ["/path/to/vietqr-mcp-toolkit/vietqr_mcp.py"]
}
}
}Commercial Pro License, Custom Setup & Sponsorship
The core CLI and MCP server are MIT-licensed. For founders, agencies, and solopreneurs who want ready-to-sell commercial systems:
Package | Price | Includes | Instant Access |
AI Solo Starter Vault | $19 | 50+ Mega-Prompts + 5 Web Tools Pack | |
Turnkey Passive Income OS (White-Label) | $49 | Complete Commercial License + 9-Archetype Storefront + Auto Email Funnel | |
Done-For-You 2-Hour Setup | $99 | 1-on-1 Installation, Custom Bank VietQR + Cloud Tunnel + Live Launch |
Sponsor via VietQR (Vietnam Napas247)
Bank: Vietcombank (
VCB)Account No:
9946611993(TRAN HOANG TU)Direct Coffee / Sponsor Link: https://img.vietqr.io/image/VCB-9946611993-compact2.png?addInfo=SPONSOR%20VIETQR%20MCP
Available Tools
3 toolsgenerate_freelance_invoice_htmlB
Generate a standalone print-ready A4 HTML freelance/agency invoice with auto-calculated totals and an embedded VietQR payment block.
Inputs: items_json (required), client_name (required), bank_id, account_no, +4 more.
generate_vietqr_payment_urlB
Generate an official Napas247 VietQR payment QR image URL and Markdown block for Vietnamese bank transfers.
Inputs: bank_id (required), account_no (required), memo, template, +2 more.
list_supported_vietnam_banksA
List supported Vietnam Napas247 VietQR bank codes, 6-digit BIN numbers, and full bank names.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools target clearly different outputs: a VietQR payment URL/Markdown block, an invoice HTML document, and a bank reference list. Although the invoice tool embeds a VietQR block, its purpose and output format are distinct enough that an agent can select correctly.
All tool names use consistent snake_case and follow a predictable verb-first pattern: generate_* and list_*. The naming clearly indicates both the action and the resource being produced or retrieved.
Three tools are well matched to this narrow VietQR/invoice domain. Each tool has a clear, non-redundant role, and there are no excessive or filler operations.
The surface covers the core workflows: bank discovery, VietQR payment URL generation, and invoice generation with an embedded payment block. Minor gaps exist around validation or verification of bank/account inputs and possibly richer invoice customization, but core usage is covered.
Maintenance
Related MCP Connectors
Vietnam payments for AI agents — MoMo wallet QR, ATM, cards. Zero-setup sandbox. Never holds funds.
Taiwan payments (ECPay 綠界 + NewebPay 藍新) & e-invoices for AI agents. Stateless, never holds funds.
Stripe payments for AI agents. Create links, verify, manage customers.
Exact IBAN, VAT, cron, regex answers; HTML/URL to hosted PDF or screenshot; agent memory; workflows.
Related MCP Servers
- AlicenseAqualityCmaintenanceAgentPay VN — an MCP server that lets your AI agent collect real (fiat) payments over VietQR467 PyPI1MIT
- AlicenseNot gradedqualityBmaintenanceLets AI agents accept Vietnam payments via MoMo wallet QR and cards with zero-setup demo; provides create payment link and query status tools.MIT

monapay-mcpofficial
AlicenseAqualityAmaintenanceEnables AI coding agents to integrate MONA Pay payments directly from the IDE, including creating VietQR codes, checking transactions, configuring and testing webhooks, verifying HMAC signatures, and generating webhook sample code.17113 npmMIT
monapay-mcpofficial
AlicenseBqualityCmaintenanceLets coding agents like Claude Code, Cursor, and Codex call MONA Pay directly while developing, so they can create VietQR codes and checkout links, look up incoming transactions, link bank accounts via OTP, and configure or test webhooks (plus email and Zalo notifications) without leaving the editor. It also verifies HMAC-SHA256 webhook signatures offline and generates ready-to-use webhook handler snippets and sandbox transactions for end-to-end payment testing.50113 npmMIT