Safely connect AI agents to MyFatoorah payments, invoices, payment methods, and refunds.
MCPpedia last refreshed this data
io.github.kuwaitdevs/myfatoorah-mcp is an MCP server that safely connect AI agents to MyFatoorah payments, invoices, payment methods, and refunds. Its tool list has not been published yet over stdio and http, requires no API key, and scores 79/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"myfatoorah": {
"env": {
"MYFATOORAH_API_TOKEN": "YOUR_TOKEN",
"MYFATOORAH_ENVIRONMENT": "test"
},
"args": [
"/absolute/path/to/myfatoorah-mcp/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Safely connect AI agents to MyFatoorah payments, invoices, payment methods, and refunds.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'myfatoorah-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked myfatoorah-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in finance
OKX trading MCP server — connect AI agents to spot, swap, futures, options & grid bots via the Model Context Protocol.
Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
Unofficial read-only deweloperuch.pl data: new-build asking prices, RCN transactions, GUS and NBP
Free Indian data and AI: pincode, IFSC, GSTIN, holidays, GST invoice, OCR, calculators, translation.
MCP Security Weekly
Get CVE alerts and security updates for io.github.kuwaitdevs/myfatoorah-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An LLM-friendly Model Context Protocol server for the MyFatoorah API. It lets Claude, VS Code, Cursor, and other MCP hosts discover payment methods, create payment links, verify payments, inspect invoices, and manage refunds through focused tools.
This is an independent community project, not an official MyFatoorah product. Test in the sandbox before using a live account.
For step-by-step host setup, Inspector testing, agent prompts, payment verification, refunds, and troubleshooting, see the usage guide.
npm install
cp .env.example .env
npm run build
Set MYFATOORAH_API_TOKEN in the MCP host's environment. The server does not automatically load .env; the VS Code debug configuration does.
| Variable | Required | Default | Description |
|---|---|---|---|
MYFATOORAH_API_TOKEN | Yes, when calling the API | — | Bearer token. Never expose it to an agent prompt. |
MYFATOORAH_ENVIRONMENT | No | test | test, kuwait, uae, saudi_arabia, qatar, or egypt |
MYFATOORAH_BASE_URL | No | Environment URL | HTTPS override for a supported MyFatoorah deployment or test proxy |
MYFATOORAH_TIMEOUT_MS | No | 30000 | Request timeout from 1 to 300000 ms |
Kuwait also covers the shared Bahrain, Jordan, and Oman API origin. Multi-country accounts use a separate token for each country.
Use an absolute path in host configurations. Replace /absolute/path/to/myfatoorah-mcp and the token placeholder locally.
Add this server to Claude Desktop's MCP configuration:
{
"mcpServers": {
"myfatoorah": {
"command": "node",
"args": ["/absolute/path/to/myfatoorah-mcp/dist/index.js"],
"env": {
"MYFATOORAH_API_TOKEN": "YOUR_TOKEN",
"MYFATOORAH_ENVIRONMENT": "test"
}
}
}
}
Restart Claude Desktop after saving the configuration.
Project-scoped configuration can use .mcp.json (keep it uncommitted if it contains a token):
{
"mcpServers": {
"myfatoorah": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/myfatoorah-mcp/dist/index.js"],
"env": {
"MYFATOORAH_API_TOKEN": "YOUR_TOKEN",
"MYFATOORAH_ENVIRONMENT": "test"
}
}
}
}
The included .vscode/mcp.json launches the built server and securely prompts for a token. Build once, open the MCP servers view, then start myfatoorah. The token is not stored in the repository.
Use the same command, args, and env values as the Claude Desktop example. MCP protocol messages use stdin/stdout; server diagnostics must use stderr.
After publishing to npm, hosts can instead launch it with npx -y myfatoorah-mcp.
| Tool | Effect | Purpose |
|---|---|---|
myfatoorah_get_payment_methods | Read-only | Lists enabled methods and their ApiName values |
myfatoorah_create_payment | Creates data | Creates a hosted checkout or invoice link with `POST /v3/payments |