A self-hosted UPI & COD payment gateway with zero per-transaction platform fees, universal JavaScript checkout integration, dynamic QR payments, WhatsApp OTP authentication, and automated payment verification.
JavaScript
@youpi/mcp-server
Model Context Protocol (MCP) server for YOUPI PG V2, enabling AI coding assistants (Claude Desktop, Antigravity, Cursor, Cline) to directly interact with, audit, and simulate payment gateway operations.
Capabilities & Tools
| Tool Name | Description |
|---|---|
youpi_check_gateway_health |
Inspects HTTP operational readiness across ports (6100 Core, 7000 Checkout, 6001 Admin, 6002 SMS, 6003 Gmail). |
youpi_verify_webhook |
Verifies HMAC-SHA256 signature over raw request bytes and checks timestamp freshness. |
youpi_simulate_bank_notification |
Formats realistic Indian bank SMS templates (SBI, HDFC, ICICI, Axis, Kotak, PNB) and generates mock observer payloads. |
Configuration
Add to your MCP client configuration (claude_desktop_config.json or Antigravity mcp_config.json):
{
"mcpServers": {
"youpi-pg": {
"command": "node",
"args": ["packages/youpi-mcp/src/index.js"],
"env": {
"NODE_ENV": "development"
}
}
}
}
Running Standalone
node packages/youpi-mcp/src/index.js