Payfast MCP Server
by jpbesterio.github.jpbester/payfastv1.0.1
MCP server for PayFast — AI assistants interact with South Africa's payment gateway
context tax
queued
security
queued
cold start
queued
freshness
Stale8mo ago
Install Payfast MCP server
Install in Claude Code
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-mcpInstall in Cursor
{
"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>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"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>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"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>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| PAYFAST_MERCHANT_ID | yes | — | Your PayFast merchant ID |
| PAYFAST_MERCHANT_KEY | yes | yes | Your PayFast merchant key |
| PAYFAST_PASSPHRASE | yes | yes | Your PayFast API passphrase |
| PAYFAST_ENVIRONMENT | — | — | PayFast environment: 'sandbox' or 'production' (defaults to sandbox) |
Freshness
Stale — last maintenance signal 8mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-02-02 · 8mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-02-02 · 8mo ago · official registry · v1.0.1
FAQ
›How do I install the Payfast MCP server in Claude Code?
Run: 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. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Payfast require an API key?
Yes. It expects PAYFAST_MERCHANT_ID, PAYFAST_MERCHANT_KEY, PAYFAST_PASSPHRASE, of which 2 are secrets.
›Can I use Payfast as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Payfast in the official MCP registry?
Yes, as io.github.jpbester/payfast.