FawryPay cash payments (unofficial)
v0.1.0Unofficial MCP server for FawryPay Pay-at-Fawry cash payments in Egypt.
Values you need
| Variable | What it is | |
|---|---|---|
FAWRY_MERCHANT_CODE | required | Your FawryPay merchant code |
FAWRY_SECURE_KEY | required secret | Your FawryPay secure key |
FAWRY_ENV | optional | mock (default), staging or production Default: mock |
MASR_PAY_ENABLE_DESTRUCTIVE_TOOLS | optional | true adds refund and cancel tools (merchant staff only). Default off. Default: false |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add masr-pay-mcp-unofficial -e 'FAWRY_MERCHANT_CODE=<FAWRY_MERCHANT_CODE>' -e 'FAWRY_SECURE_KEY=<FAWRY_SECURE_KEY>' -- uvx masr-pay-mcp-unofficial==0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"masr-pay-mcp-unofficial": {
"args": [
"masr-pay-mcp-unofficial==0.1.0"
],
"command": "uvx",
"env": {
"FAWRY_MERCHANT_CODE": "<FAWRY_MERCHANT_CODE>",
"FAWRY_SECURE_KEY": "<FAWRY_SECURE_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"masr-pay-mcp-unofficial": {
"args": [
"masr-pay-mcp-unofficial==0.1.0"
],
"command": "uvx",
"env": {
"FAWRY_MERCHANT_CODE": "<FAWRY_MERCHANT_CODE>",
"FAWRY_SECURE_KEY": "<FAWRY_SECURE_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "FAWRY_MERCHANT_CODE",
"id": "fawry-merchant-code",
"password": true,
"type": "promptString"
},
{
"description": "FAWRY_SECURE_KEY",
"id": "fawry-secure-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"masr-pay-mcp-unofficial": {
"args": [
"masr-pay-mcp-unofficial==0.1.0"
],
"command": "uvx",
"env": {
"FAWRY_MERCHANT_CODE": "${input:fawry-merchant-code}",
"FAWRY_SECURE_KEY": "${input:fawry-secure-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.masr-pay-mcp-unofficial]
command = "uvx"
args = ["masr-pay-mcp-unofficial==0.1.0"]
env = { "FAWRY_MERCHANT_CODE" = "<FAWRY_MERCHANT_CODE>", "FAWRY_SECURE_KEY" = "<FAWRY_SECURE_KEY>" }For AI agents
- Ask the user for: FAWRY_MERCHANT_CODE, FAWRY_SECURE_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: create_cash_payment, get_payment_status.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json