Payfast runs on your own machine — the client starts it, so there is no endpoint to ping. 40 installs a week from npm. Last commit 2 Feb 2026.
MCP server for PayFast — AI assistants interact with South Africa's payment gateway
Today is the operative word: we check Payfast every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add payfast -e 'PAYFAST_MERCHANT_ID=<PAYFAST_MERCHANT_ID>' -e 'PAYFAST_MERCHANT_KEY=<PAYFAST_MERCHANT_KEY>' -e 'PAYFAST_PASSPHRASE=<PAYFAST_PASSPHRASE>' -- npx -y payfast-mcp
{
"mcpServers": {
"payfast": {
"command": "npx",
"args": [
"-y",
"payfast-mcp"
],
"env": {
"PAYFAST_MERCHANT_ID": "<PAYFAST_MERCHANT_ID>",
"PAYFAST_MERCHANT_KEY": "<PAYFAST_MERCHANT_KEY>",
"PAYFAST_PASSPHRASE": "<PAYFAST_PASSPHRASE>"
}
}
}
}
[mcp_servers.payfast]
command = "npx"
args = ["-y", "payfast-mcp"]
env = { PAYFAST_MERCHANT_ID = "<PAYFAST_MERCHANT_ID>", PAYFAST_MERCHANT_KEY = "<PAYFAST_MERCHANT_KEY>", PAYFAST_PASSPHRASE = "<PAYFAST_PASSPHRASE>" }
{
"mcpServers": {
"payfast": {
"command": "npx",
"args": [
"-y",
"payfast-mcp"
],
"env": {
"PAYFAST_MERCHANT_ID": "<PAYFAST_MERCHANT_ID>",
"PAYFAST_MERCHANT_KEY": "<PAYFAST_MERCHANT_KEY>",
"PAYFAST_PASSPHRASE": "<PAYFAST_PASSPHRASE>"
}
}
}
}
{
"servers": {
"payfast": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"payfast-mcp"
],
"env": {
"PAYFAST_MERCHANT_ID": "<PAYFAST_MERCHANT_ID>",
"PAYFAST_MERCHANT_KEY": "<PAYFAST_MERCHANT_KEY>",
"PAYFAST_PASSPHRASE": "<PAYFAST_PASSPHRASE>"
}
}
}
}
Put your own values in place of
<PAYFAST_MERCHANT_ID> (Your PayFast merchant ID), <PAYFAST_MERCHANT_KEY> (Your PayFast merchant key), <PAYFAST_PASSPHRASE> (Your PayFast API passphrase).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
PAYFAST_ENVIRONMENT (PayFast environment: 'sandbox' or 'production' (defaults to sandbox)).
MCP server for Spraay x402 Gateway. 60 tools for crypto payments, DeFi, and AI on Base.
Unofficial MCP server for FawryPay Pay-at-Fawry cash payments in Egypt. Not affiliated with Fawry.
Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
Comprehensive MCP server for the Robokassa payment gateway (18 tools, full API coverage).
Multi-tenant HTTP 402 infrastructure gateway and stdio MCP server for machine payments.
Read-only MCP server for the Easy Pay Direct (EPD) / NMI-family payment gateway Query API.
MCP server for Interswitch APIs: payments, transfers, Verve cards, airtime, and paycodes.
Answers built from our own checks of this server.