vnpay-mcp
Click on "Install 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., "@vnpay-mcpCreate a VNPay payment URL for 100,000 VND"
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.
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 |
| Generate a VNPay payment URL |
| Query transaction status |
| Refund a transaction |
| Get supported bank list |
| Create a card token |
| Pay using stored token |
| Query token information |
| Verify IPN callback signature |
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 |
| Yes | Terminal code from VNPay |
| Yes | Hash secret for HMAC-SHA512 signing |
| 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
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