theYahia/payfast-mcp
MCP server for PayFast — payment gateway, subscriptions (South Africa)
Platform-specific configuration:
{
"mcpServers": {
"payfast-mcp": {
"command": "npx",
"args": [
"-y",
"payfast-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
MCP server for PayFast payment gateway (South Africa).
| Tool | Description | |---|---| | create_payment | Create a payment request | | query_transaction | Query transaction status | | cancel_subscription | Cancel a subscription | | update_subscription | Update a subscription | | create_adhoc | Charge tokenized card (ad-hoc) | | refund_payment | Refund a payment | | get_balance | Get settlement balance | | validate_signature | Validate a webhook signature |
{
"mcpServers": {
"payfast": {
"command": "npx",
"args": ["-y", "@theyahia/payfast-mcp"],
"env": {
"PAYFAST_MERCHANT_ID": "<YOUR_PAYFAST_MERCHANT_ID>",
"PAYFAST_MERCHANT_KEY": "<YOUR_PAYFAST_MERCHANT_KEY>",
"PAYFAST_PASSPHRASE": "<YOUR_PAYFAST_PASSPHRASE>"
}
}
}
}| Variable | Required | Description | |---|---|---| | PAYFAST_MERCHANT_ID | Yes | Merchant ID | | PAYFAST_MERCHANT_KEY | Yes | Merchant key | | PAYFAST_PASSPHRASE | Yes | API passphrase |
MIT
Loading reviews...