Skip to content
Cursor

payfast for Cursor

io.github.jpbester/payfast

MCP server for PayFast — AI assistants interact with South Africa's payment gateway

client:Cursor transport:stdio runtime:npm

Install payfast in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "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>",
        "PAYFAST_ENVIRONMENT": "<PAYFAST_ENVIRONMENT>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

payfast in other clients