MCP.Market

AgentPay VN MCP server

by phuocdu·io.github.phuocdu/agentpay-vn·v1.1.0·1 stars

Let AI agents collect VietQR payments — generate a QR and auto-confirm settlement.

B72/100grade B
What users say
No reviews yet
Be the first
Safety scan
B72/100

not scanned yet

Adoption
New

1 stars34 downloads/wk

Reviews

Write one

Nobody has reviewed AgentPay VN yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

AgentPay VN tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How AgentPay VN compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
72/100
higher than 38% of 48,255 servers
GitHub stars
1
more than 65% of 28,688 servers
Downloads a week
34
more than 23% of 12,191 servers with a package

Release history: 2 versions in the registry since 2026-06-14, latest 2026-10-21, typically one every 129 days.

Install AgentPay VN in Claude Code, Cursor or VS Code

claude mcp add agentpay-vn -- uvx agentpay-vn
Add to Cursor

What the publisher says

From the AgentPay VN repository's README, as published. We do not edit it. Read it on GitHub

AgentPay VN

<!-- mcp-name: io.github.phuocdu/agentpay-vn -->

VietQR payment infrastructure for AI agents — collect money inside any conversation.

AgentPay VN lets AI agents (Claude, GPT, custom bots) generate payment QR codes, send them to users, and automatically confirm when the money arrives — all without ever holding or touching funds. Money flows directly from the payer's bank account into the merchant's account; AgentPay only reads the bank transaction feed to confirm settlement.

Status: Early access / self-hosted — running on the same swarm as Sổ Nợ AI.

How it works

AI Agent                   AgentPay API              Bank feed (SePay)
   |                            |                           |
   |-- create_payment_request ->|                           |
   |<- { qr_image_url, id } ----|                           |
   |                            |                           |
   |-- send QR to user -------->|                           |
   |                            |      user scans & pays    |
   |                            |<-- webhook (bank txn) ----|
   |                            |-- match AP* pay_code      |
   |                            |-- status → settled        |
   |<-- await_settlement done --|                           |
   |                            |                           |
   |-- deliver order / unlock ->|                           |
  1. Create — agent calls POST /v1/payment-requests → gets a VietQR image URL and a checkout page.
  2. Send — agent embeds the QR image or sends the checkout link to the user in chat.
  3. Await — agent calls await_settlement() (or the MCP tool) to poll until status = settled.
  4. Deliver — only after confirmed settlement does the agent release the goods/service.

AgentPay never holds money. The QR points directly at the merchant's bank account number. The platform only monitors the bank transaction feed to detect matching transfers.

Quick start

1. Install

pip install agentpay-vn

2. Set your API key

export AGENTPAY_API_KEY=ap_test_xxx   # sandbox key for testing

Get a key from the admin dashboard (self-hosted) or contact the platform operator.

3. Collect a payment (3 lines)

from agentpay.client import AsyncAgentPayClient, await_settlement
import asyncio

async def main():
    async with AsyncAgentPayClient("ap_test_xxx") as client:
        pr = await client.create_payment_request(amount=50_000, description="Order #1")
        print(pr["checkout_url"])          # send this link to your user
        result = await await_settlement(client, pr["id"], timeout=120)
        assert result["status"] == "settled"

asyncio.run(main())

See examples/quickstart.py for the full runnable version.

MCP server setup

AgentPay ships an MCP server so any MCP-compatible AI agent can call it as a tool — no extra code needed.

Claude Desktop / Claude Code

Add to claudedesktopconfig.json (or use examples/claudedesktopconfig.json):

{
  "mcpServers": {
    "agentpay": {
      "command": "python",
      "args": ["-m", "agentpay.mcp_server"],
      "env": {
        "AGENTPAY_API_KEY": "ap_test_xxx",
        "AGENTPAY_BASE_URL": "https://agentpay.servicesai.vn/v1"
      }
    }
  }
}

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

AgentPay VN: common questions

Is AgentPay VN MCP server safe?
Mostly: it is graded B (72/100). Read the AgentPay VN safety report
How do I install AgentPay VN?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does AgentPay VN need an API key?
Yes. The registry entry asks for AGENTPAY_API_KEY.
Is AgentPay VN maintained?
The last commit was 142 days ago (2026-06-15). The latest release is v1.1.0.
How does AgentPay VN compare with other MCP servers?
safety score 72/100 (higher than 38% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 34 (more than 23% of 12,191 servers with a package). Full comparison.