Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MyFatoorah MCP
Overview
Description from the maker (original English)
Safely connect AI agents to MyFatoorah payments, invoices, payment methods, and refunds.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Online shops & payments
- You need to fill in: MYFATOORAH_API_TOKEN
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
MYFATOORAH_API_TOKEN,MYFATOORAH_ENVIRONMENT,MYFATOORAH_TIMEOUT_MS
Values marked secret are keys to your account. Never share them or paste them into a chat.
You need
- npmNode.js installed (for the npx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"myfatoorah": {
"command": "npx",
"args": [
"-y",
"myfatoorah-mcp"
],
"env": {
"MYFATOORAH_API_TOKEN": "your-value",
"MYFATOORAH_ENVIRONMENT": "your-value",
"MYFATOORAH_TIMEOUT_MS": "your-value"
}
}
}
}Run this in your terminal
claude mcp add myfatoorah --env MYFATOORAH_API_TOKEN=your-value --env MYFATOORAH_ENVIRONMENT=your-value --env MYFATOORAH_TIMEOUT_MS=your-value -- npx -y myfatoorah-mcpFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"myfatoorah": {
"command": "npx",
"args": [
"-y",
"myfatoorah-mcp"
],
"env": {
"MYFATOORAH_API_TOKEN": "your-value",
"MYFATOORAH_ENVIRONMENT": "your-value",
"MYFATOORAH_TIMEOUT_MS": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"myfatoorah": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"myfatoorah-mcp"
],
"env": {
"MYFATOORAH_API_TOKEN": "your-value",
"MYFATOORAH_ENVIRONMENT": "your-value",
"MYFATOORAH_TIMEOUT_MS": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
- MyFatoorah test or live Bearer token with least-privilege API permissions.
MYFATOORAH_ENVIRONMENTenvAPI environment: test, kuwait, uae, saudi_arabia, qatar, or egypt. Defaults to test.MYFATOORAH_TIMEOUT_MSenvRequest timeout in milliseconds from 1 to 300000. Defaults to 30000.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account kuwaitdevs, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 2535 servers in this category
- Published to the registry more recently than 29% of the other 2535 servers in this category
- Basic checks equal to or better than 100% of the other 2535 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is MyFatoorah MCP safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: MYFATOORAH_API_TOKEN
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (0.1.0) reached the registry 2 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MyFatoorah MCP
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.
Requirements
- Node.js 20 or newer
- A MyFatoorah API token with only the permissions required by the tools you use
Setup
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.
Environment variables
| 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.
Connect an MCP host
Use an absolute path in host configurations. Replace /absolute/path/to/myfatoorah-mcp and the token placeholder locally.
Claude Desktop
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.
Claude Code
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" } } } }
VS Code / GitHub Copilot
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.
Cursor and generic stdio hosts
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.
Tools
| 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 |
myfatoorah_get_payment | Read-only | Gets authoritative payment details by PaymentId |
myfatoorah_get_invoice | Read-only | Gets an invoice by InvoiceId or external identifier |
myfatoorah_create_refund | Destructive | Creates a full or partial refund; requires confirm: true |
myfatoorah_get_refund | Read-only | Gets refund details by RefundId |
myfatoorah_api_request | Varies | Restricted escape hatch for relative /v2/ or /v3/ paths; mutations require confirmation |
The server also exposes:
- Resource
myfatoorah://configuration: environment, base URL, timeout, and whether a token is configured—never the token itself. - Prompt
create-payment-safely: a reusable guided payment-link workflow.
Successful tools return a concise text summary plus machine-readable structuredContent containing the MyFatoorah response.
Safe payment workflow
- Read
myfatoorah://configurationand confirm test versus live. - If selecting a gateway, call
myfatoorah_get_payment_methodsand use itsApiName. - Confirm amount, currency, customer, notification method, and callback URL.
- Call
myfatoorah_create_paymentand give the customer itsPaymentURL. - After callback, call
myfatoorah_get_paymentwith the returned PaymentId. A redirect is not proof of payment; require invoice statusPAIDand transaction statusSUCCESS.
Refunds move money in live mode. Obtain explicit user approval for the exact PaymentId and amount before passing confirm: true.
Development
npm run format
npm run lint npm run typecheck npm test npm run build npm run inspect
npm run inspect starts the official MCP Inspector against the compiled stdio server. VS Code also includes build/test tasks and a debug configuration.
Tests mock every MyFatoorah request; they do not make network calls or require a token.
Security
- Use a least-privilege MyFatoorah API key and rotate it regularly.
- Put credentials in the host environment or a secret manager, never source control or model context.
- The generic request tool rejects absolute URLs, protocol-relative URLs, traversal, and paths outside
/v2/and/v3/to prevent credential exfiltration. - API errors and Bearer values are redacted before reaching the model.
- Prefer idempotency keys for supported mutations and stable order identifiers.
- Do not expose this stdio process as an unauthenticated network service.
- Direct card handling is intentionally not modeled as a focused tool; it requires PCI compliance.
API scope and references
The focused tools use MyFatoorah's documented v3 routes as of August 2026:
GET /v3/payment-methodsPOST /v3/paymentsGET /v3/payments/{paymentId}GET /v3/invoices/{invoiceId}GET /v3/invoices/externalIdentifier/{externalIdentifier}POST /v3/refundsGET /v3/refunds/{refundId}
References:
License
MIT