payfast for VS Code
io.github.jpbester/payfast
MCP server for PayFast — AI assistants interact with South Africa's payment gateway
client:VS Code
transport:stdio
runtime:npm
Install payfast in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "payfast-merchant-id",
"description": "PAYFAST_MERCHANT_ID",
"password": true
},
{
"type": "promptString",
"id": "payfast-merchant-key",
"description": "PAYFAST_MERCHANT_KEY",
"password": true
},
{
"type": "promptString",
"id": "payfast-passphrase",
"description": "PAYFAST_PASSPHRASE",
"password": true
},
{
"type": "promptString",
"id": "payfast-environment",
"description": "PAYFAST_ENVIRONMENT",
"password": true
}
],
"servers": {
"payfast": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"payfast-mcp"
],
"env": {
"PAYFAST_MERCHANT_ID": "${input:payfast-merchant-id}",
"PAYFAST_MERCHANT_KEY": "${input:payfast-merchant-key}",
"PAYFAST_PASSPHRASE": "${input:payfast-passphrase}",
"PAYFAST_ENVIRONMENT": "${input:payfast-environment}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs