PayFast MCP
Click on "Deploy 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., "@PayFast MCP Check my current settlement balance"
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.
payfast-mcp
MCP server for PayFast payment gateway (South Africa).
Tools (8)
Tool | Description |
| Create a payment request |
| Query transaction status |
| Cancel a subscription |
| Update a subscription |
| Charge tokenized card (ad-hoc) |
| Refund a payment |
| Get settlement balance |
| Validate a webhook signature |
Related MCP server: paymongo-mcp
Quick Start
{
"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>"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | Merchant ID |
| Yes | Merchant key |
| Yes | API passphrase |
License
MIT
Available Tools
8 toolscancel_subscriptionC
Cancel a subscription
Inputs: token (required).
create_adhocC
Charge tokenized card (ad-hoc)
Inputs: token (required), amount (required), item_name (required).
create_paymentC
Create a payment request
Inputs: amount (required), item_name (required), email_address (required), return_url.
get_balanceC
Get settlement balance
Inputs: no named parameters.
query_transactionC
Query transaction status
Inputs: pf_payment_id (required).
refund_paymentC
Refund a payment
Inputs: pf_payment_id (required), amount.
update_subscriptionC
Update a subscription
Inputs: token (required), amount, frequency.
validate_signatureC
Validate a webhook signature
Inputs: payload (required), signature (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a clearly distinct purpose targeting specific payment operations: subscription management (cancel, update), payment processing (create, refund, query), balance checking, ad-hoc charging, and webhook validation. No ambiguity exists between tools as they cover non-overlapping actions on different resources.
All tools follow a consistent verb_noun pattern with clear action verbs (cancel, create, get, query, refund, update, validate) paired with specific nouns (subscription, payment, balance, transaction, signature). The naming is uniform and predictable throughout the set.
With 8 tools, the server is well-scoped for a payment processing domain. Each tool earns its place by covering essential operations like payment lifecycle, subscription management, balance inquiries, and security validation without being overly sparse or bloated.
The toolset provides complete coverage for core payment workflows: payment creation, status querying, refunds, subscription management (cancel/update), balance checks, ad-hoc charges, and webhook validation. No obvious gaps exist for the inferred payment processing domain, supporting full agent interaction.
Related MCP Connectors
Remote MCP for ifthenpay payments: Multibanco, MB WAY and Payshop.
Authenticated MCP access to WebMoney wallets, transactions, messages and invoices.
Self-facilitated x402/MCP payments for hosted endpoints, rail proofs, receipts, and agents.
MCP Server for agents to onboard, pay, and provision services autonomously with InFlow
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with the PayFast payment gateway to manage transactions, subscriptions, and refunds. It provides a suite of 13 tools with built-in human-in-the-loop safety confirmations for high-risk financial operations.1452 npm2MIT
- AlicenseAqualityCmaintenanceMCP server for PayMongo payment gateway (Philippines). Supports payment intents, sources, payments, refunds, and checkout sessions via Basic Auth.2422 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Paystack via MCP tools to get total transactions, create checkout links, and verify transactions.4MIT
- AlicenseAqualityDmaintenanceMCP server for MAIB e-commerce payments (Moldova). Supports payments, refunds, recurring billing, one-click payments, and transaction status via OAuth 2.0.813 npmMIT