MCP server for PayFast — AI assistants interact with South Africa's payment gateway
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-jpbester-payfast": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for PayFast — AI assistants interact with South Africa's payment gateway
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol (MCP) server that provides AI assistants with direct access to the Spreedly payments API. Enables LLMs to manage gateways, process transactions, tokenize payment methods, and more, through structured, validated tool calls.
MCP server for InsightSentry financial data API - market data, options, screeners, and more
A Model Context Protocol server allows Clients to interact with Xero
MCP Security Weekly
Get CVE alerts and security updates for io.github.jpbester/payfast and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server for PayFast, South Africa's leading payment gateway. Enables AI assistants like Claude to securely interact with your PayFast merchant account.
| Tool | Description | Risk |
|---|---|---|
ping | Test API connectivity | Low |
transaction_fetch | Get transaction by ID | Low |
transaction_history | Query transaction history | Low |
transaction_charge | Charge a stored token | Medium |
subscription_fetch | Get subscription details | Low |
subscription_pause | Pause a subscription | High |
subscription_unpause | Resume a subscription | Medium |
subscription_cancel | Cancel a subscription | High |
subscription_update | Update subscription terms | High |
subscription_adhoc | Ad-hoc subscription charge | High |
refund_create | Process a refund | High |
refund_fetch | Get refund details | Low |
creditcard_fetch | Query card transaction | Low |
High-risk operations require human approval before execution.
npm install -g payfast-mcp
Or run directly with npx:
npx payfast-mcp
Set the following environment variables:
| Variable | Required | Description |
|---|---|---|
PAYFAST_MERCHANT_ID | Yes | Your PayFast Merchant ID |
PAYFAST_MERCHANT_KEY | Yes | Your PayFast Merchant Key |
PAYFAST_PASSPHRASE | Yes | Your PayFast API Passphrase |
PAYFAST_ENVIRONMENT | No | sandbox (default) or production |
You can also create a .env file in your working directory.
Add to your Claude Desktop config (claude_desktop_config.json):
{
"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"
}
}
}
}
Add to your Claude Code settings:
claude mcp add payfast \
-e PAYFAST_MERCHANT_ID=your-merchant-id \
-e PAYFAST_MERCHANT_KEY=your-merchant-key \
-e PAYFAST_PASSPHRASE=your-passphrase \
-e PAYFAST_ENVIRONMENT=sandbox \
-- npx -y payfast-mcp
Add to your Cursor MCP config (.cursor/mcp.json for project-level, or ~/.cursor/mcp.json for global):
{
"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"
}
}
}
}
Add via the Codex CLI:
codex mcp add payfast \
--env PAYFAST_MERCHANT_ID=your-merchant-id \
--env PAYFAST_MERCHANT_KEY=your-merchant-key \
--env PAYFAST_PASSPHRASE=your-passphrase \
--env PAYFAST_ENVIRONMENT=sandbox \
-- npx -y payfast-mcp
Or add directly to ~/.codex/config.toml:
[mcp_servers.payfast]
command = "npx"
args = ["-y", "payfast-mcp"]
[mcp_servers.payfast.env]
PAYFAST_MERCHANT_ID = "your-merchant-id"
PAYFAST_MERCHANT_KEY = "y
... [View full README on GitHub](https://github.com/jpbester/payfast-mcp#readme)