Skip to main content
Glama
theYahia

vnpay-mcp

by theYahia

vnpay-mcp

MCP server for VNPay payment gateway (Vietnam). Supports payment URL generation, transaction queries, refunds, tokenized payments, and IPN verification with HMAC-SHA512 signing.

Tools (8)

Tool

Description

create_payment_url

Generate a VNPay payment URL

query_transaction

Query transaction status

refund

Refund a transaction

get_bank_list

Get supported bank list

create_token

Create a card token

pay_with_token

Pay using stored token

query_token

Query token information

verify_ipn

Verify IPN callback signature

Related MCP server: jazzcash-mcp

Quick Start

{
  "mcpServers": {
    "vnpay": {
      "command": "npx",
      "args": ["-y", "@theyahia/vnpay-mcp"],
      "env": {
        "VNPAY_TMN_CODE": "<YOUR_TMN_CODE>",
        "VNPAY_HASH_SECRET": "<YOUR_HASH_SECRET>"
      }
    }
  }
}

Environment Variables

Variable

Required

Description

VNPAY_TMN_CODE

Yes

Terminal code from VNPay

VNPAY_HASH_SECRET

Yes

Hash secret for HMAC-SHA512 signing

VNPAY_PRODUCTION

No

Set to "true" for production

Demo Prompts

  • "Create a VNPay payment URL for 100,000 VND"

  • "Query transaction status for order vnp-123"

  • "Get list of supported Vietnamese banks"

  • "Verify this IPN callback: vnp_TxnRef=..."

License

MIT

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    MCP server for PayMongo payment gateway (Philippines). Supports payment intents, sources, payments, refunds, and checkout sessions via Basic Auth.
    24
    20
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for JazzCash mobile wallet and payments (Pakistan). Supports wallet payments, mobile account payments, vouchers, refunds, and balance inquiries.
    5
    18
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for MAIB e-commerce payments (Moldova). Supports payments, refunds, recurring billing, one-click payments, and transaction status via OAuth 2.0.
    8
    13
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    MCP server for Payme payment system (Uzbekistan). Supports transactions, statements, payment links, and balance queries via JSON-RPC 2.0.
    8
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP Server for agents to onboard, pay, and provision services autonomously with InFlow

  • MCP server for Vonage API documentation, code snippets, tutorials, and troubleshooting.

  • MCP server for verifying EUDI/Talao wallet data via OIDC4VP (pull) for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/theYahia/vnpay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server