theYahia/zarinpal-mcp
MCP server for Zarinpal — payment gateway, invoicing (Iran)
Platform-specific configuration:
{
"mcpServers": {
"zarinpal-mcp": {
"command": "npx",
"args": [
"-y",
"zarinpal-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
MCP server for Zarinpal payment gateway (Iran). Supports payment creation, verification, refunds, sandbox mode, and transaction listing. Uses Merchant ID authentication in request body.
| Tool | Description | |------|-------------| | create_payment | Create a payment request | | verify_payment | Verify a completed payment | | get_unverified | List unverified payments | | list_transactions | List payment transactions | | refund | Refund a payment | | create_sandbox_payment | Create a sandbox test payment | | get_fees | Calculate fees for an amount | | get_authority_status | Check payment status by authority |
{
"mcpServers": {
"zarinpal": {
"command": "npx",
"args": ["-y", "@theyahia/zarinpal-mcp"],
"env": {
"ZARINPAL_MERCHANT_ID": "<YOUR_MERCHANT_ID>"
}
}
}
}| Variable | Required | Description | |----------|----------|-------------| | ZARINPAL_MERCHANT_ID | Yes | Merchant ID from Zarinpal dashboard |
MIT
Loading reviews...