Server data from the Official MCP Registry
MCP server for PayFast — AI assistants interact with South Africa's payment gateway
MCP server for PayFast — AI assistants interact with South Africa's payment gateway
Valid MCP server (1 strong, 1 medium validity signals). 4 known CVEs in dependencies (1 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.
5 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: PAYFAST_MERCHANT_ID
Environment variable: PAYFAST_MERCHANT_KEY
Environment variable: PAYFAST_PASSPHRASE
Environment variable: PAYFAST_ENVIRONMENT
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-jpbester-payfast": {
"env": {
"PAYFAST_PASSPHRASE": "your-payfast-passphrase-here",
"PAYFAST_ENVIRONMENT": "your-payfast-environment-here",
"PAYFAST_MERCHANT_ID": "your-payfast-merchant-id-here",
"PAYFAST_MERCHANT_KEY": "your-payfast-merchant-key-here"
},
"args": [
"-y",
"payfast-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
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 = "your-merchant-key"
PAYFAST_PASSPHRASE = "your-passphrase"
PAYFAST_ENVIRONMENT = "sandbox"
# Clone the repo
git clone https://github.com/jpbester/payfast-mcp.git
cd payfast-mcp
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Run with MCP Inspector
npm run inspect
MIT
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.