MCP server for PayFast — AI assistants interact with South Africa's payment gateway
If you already use Payfast, the payfast mcp server is the piece that lets your assistant work with it directly. MCP server for PayFast — AI assistants interact with South Africa's payment gateway.
High-risk operations require human approval before execution.
payfast-mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
ping — Test API connectivitytransaction_fetch — Get transaction by IDtransaction_history — Query transaction historytransaction_charge — Charge a stored tokensubscription_fetch — Get subscription detailssubscription_pause — Pause a subscriptionsubscription_unpause — Resume a subscriptionsubscription_cancel — Cancel a subscriptionsubscription_update — Update subscription termssubscription_adhoc — Ad-hoc subscription chargerefund_create — Process a refundrefund_fetch — Get refund detailsConfiguration is passed through the environment: PAYFAST_MERCHANT_ID, PAYFAST_MERCHANT_KEY, PAYFAST_PASSPHRASE, PAYFAST_ENVIRONMENT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Plenty of payments and commerce servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Payfast's toolset — ping, transaction_fetch, transaction_history and 11 more — is a fair guide to whether it matches your workflow. It is maintained by jpbester; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| ping | Test API connectivity |
| transaction_fetch | Get transaction by ID |
| transaction_history | Query transaction history |
| transaction_charge | Charge a stored token |
| subscription_fetch | Get subscription details |
| subscription_pause | Pause a subscription |
| subscription_unpause | Resume a subscription |
| subscription_cancel | Cancel a subscription |
| subscription_update | Update subscription terms |
| subscription_adhoc | Ad-hoc subscription charge |
| refund_create | Process a refund |
| refund_fetch | Get refund details |
| creditcard_fetch | Query card transaction |
| Prerequisites | The Prerequisites tool exposed by this server. |
{
"mcpServers": {
"payfast": {
"command": "npx",
"args": ["-y", "payfast-mcp"],
"env": {
"PAYFAST_MERCHANT_ID": "your-merchant-id",
"PAYFAST_MERCHANT_KEY": "your-merchant-key",
"PAYFAST_PASSPHRASE": "your-passphrase",
"PAYFAST_ENVIRONMENT": "sandbox"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| PAYFAST_MERCHANT_ID | Configuration value read at startup. | Optional |
| PAYFAST_MERCHANT_KEY | Credential the server authenticates with. | Yes |
| PAYFAST_PASSPHRASE | Configuration value read at startup. | Optional |
| PAYFAST_ENVIRONMENT | Configuration value read at startup. | Optional |
Payments infrastructure meets AI — customers, invoices, subscriptions and current API docs from Stripe's server.
Build for Shopify with current APIs — the official Dev MCP server for schema-accurate storefront and admin code.
Give your AI assistant a supervised window into your Interactive Brokers account — balances, positions, live quotes and orders.
Invoices, payments and disputes through PayPal's official server — commerce operations by conversation.
Enables querying and listing Azure resources and costs directly from an MCP client.
Empowers LLMs with Bitcoin Lightning Network payment capabilities via the ZBD API.