Skip to main content
Glama

payfast-mcp

MCP server for PayFast payment gateway (South Africa).

Tools (8)

Tool

Description

create_payment

Create a payment request

query_transaction

Query transaction status

cancel_subscription

Cancel a subscription

update_subscription

Update a subscription

create_adhoc

Charge tokenized card (ad-hoc)

refund_payment

Refund a payment

get_balance

Get settlement balance

validate_signature

Validate a webhook signature

Quick Start

{
  "mcpServers": {
    "payfast": {
      "command": "npx",
      "args": ["-y", "@theyahia/payfast-mcp"],
      "env": {
        "PAYFAST_MERCHANT_ID": "<YOUR_PAYFAST_MERCHANT_ID>",
        "PAYFAST_MERCHANT_KEY": "<YOUR_PAYFAST_MERCHANT_KEY>",
        "PAYFAST_PASSPHRASE": "<YOUR_PAYFAST_PASSPHRASE>"
      }
    }
  }
}

Environment Variables

Variable

Required

Description

PAYFAST_MERCHANT_ID

Yes

Merchant ID

PAYFAST_MERCHANT_KEY

Yes

Merchant key

PAYFAST_PASSPHRASE

Yes

API passphrase

License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/theYahia/payfast-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server