MyFatoorah MCP
MyFatoorah MCP
MyFatoorah API向けの、LLMフレンドリーなModel Context Protocolサーバーです。Claude、VS Code、Cursor、その他のMCPホストは、専用ツールを通じて、決済手段の検出、支払いリンクの作成、支払いの検証、請求書の確認、返金の管理を行うことができます。
これは独立したコミュニティプロジェクトであり、MyFatoorahの公式製品ではありません。本番アカウントを使用する前に、サンドボックスでテストしてください。
ホストのセットアップ手順、Inspectorでのテスト、エージェントプロンプト、支払い検証、返金、トラブルシューティングについては、使用ガイドを参照してください。
要件
Node.js 20以降
使用するツールに必要な権限のみを持つMyFatoorah APIトークン
Related MCP server: AgentPay
セットアップ
npm install
cp .env.example .env
npm run buildMCPホストの環境でMYFATOORAH_API_TOKENを設定してください。サーバーは.envを自動的には読み込みません。読み込むのはVS Codeのデバッグ構成です。
環境変数
変数 | 必須 | デフォルト | 説明 |
| はい(API呼び出し時) | — | Bearerトークン。エージェントプロンプトに絶対に公開しないでください。 |
| いいえ |
|
|
| いいえ | 環境URL | サポート対象のMyFatoorahデプロイメントまたはテストプロキシ用のHTTPS上書き設定 |
| いいえ |
| リクエストタイムアウト(1〜300000ミリ秒) |
クウェートの環境は、バーレーン、ヨルダン、オマーン共通のAPIオリジンもカバーします。複数国対応アカウントでは、国ごとに個別のトークンを使用します。
MCPホストを接続する
ホスト構成では絶対パスを使用してください。/absolute/path/to/myfatoorah-mcpとトークンのプレースホルダーは、ローカル環境に合わせて置き換えてください。
Claude Desktop
Claude DesktopのMCP構成にこのサーバーを追加します:
{
"mcpServers": {
"myfatoorah": {
"command": "node",
"args": ["/absolute/path/to/myfatoorah-mcp/dist/index.js"],
"env": {
"MYFATOORAH_API_TOKEN": "YOUR_TOKEN",
"MYFATOORAH_ENVIRONMENT": "test"
}
}
}
}構成を保存したら、Claude Desktopを再起動してください。
Claude Code
プロジェクトスコープの構成では.mcp.jsonを使用できます(トークンを含む場合はコミットしないでください):
{
"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
同梱の.vscode/mcp.jsonは、ビルド済みのサーバーを起動し、トークンを安全に入力するよう促します。一度ビルドしてから、MCPサーバービューを開き、myfatoorahを起動してください。トークンはリポジトリに保存されません。
Cursorおよび一般的なstdioホスト
Claude Desktopの例と同じcommand、args、envの値を使用してください。MCPプロトコルのメッセージはstdin/stdoutを使用し、サーバーの診断情報はstderrを使用する必要があります。
npmに公開した後は、ホストは代わりにnpx -y myfatoorah-mcpで起動することもできます。
ツール
ツール | 効果 | 目的 |
| 読み取り専用 | 有効な決済手段とその |
| データ作成 |
|
| 読み取り専用 | PaymentIdで正規の支払い詳細を取得します |
| 読み取り専用 | InvoiceIdまたは外部識別子で請求書を取得します |
| 破壊的 | 全額または一部の返金を作成します。 |
| 読み取り専用 | RefundIdで返金の詳細を取得します |
| 状況による | 相対 |
サーバーは以下も公開しています:
リソース
myfatoorah://configuration:環境、ベースURL、タイムアウト、トークンが設定されているかどうか。トークン自体は含まれません。プロンプト
create-payment-safely:再利用可能なガイド付き支払いリンクワークフロー。
成功したツールは、簡潔なテキスト要約と、MyFatoorahのレスポンスを含む機械可読なstructuredContentを返します。
安全な支払いワークフロー
myfatoorah://configurationを読み取り、テスト環境と本番環境を確認します。ゲートウェイを選択する場合は、
myfatoorah_get_payment_methodsを呼び出して、そのApiNameを使用します。金額、通貨、顧客、通知方法、コールバックURLを確認します。
myfatoorah_create_paymentを呼び出し、顧客にそのPaymentURLを渡します。コールバック後、返されたPaymentIdを指定して
myfatoorah_get_paymentを呼び出します。リダイレクトは支払いの証明にはなりません。請求書ステータスがPAID、取引ステータスがSUCCESSであることを確認してください。
返金は本番モードで資金を移動させます。confirm: trueを渡す前に、正確なPaymentIdと金額についてユーザーの明示的な承認を得てください。
開発
npm run format
npm run lint
npm run typecheck
npm test
npm run build
npm run inspectnpm run inspectは、コンパイル済みのstdioサーバーに対して公式のMCP Inspectorを起動します。VS Codeにはビルド/テストタスクとデバッグ構成も含まれています。
テストはすべてのMyFatoorahリクエストをモックします。ネットワーク呼び出しやトークンは必要ありません。
セキュリティ
最小権限のMyFatoorah APIキーを使用し、定期的にローテーションしてください。
認証情報はホスト環境またはシークレットマネージャーに保管し、ソース管理やモデルコンテキストには絶対に置かないでください。
汎用リクエストツールは、認証情報の外部流出を防ぐため、絶対URL、プロトコル相対URL、トラバーサル、
/v2/と/v3/以外のパスを拒否します。APIエラーとBearer値は、モデルに到達する前にマスクされます。
サポート対象の変更操作では冪等性キーを優先し、安定した注文識別子を使用してください。
このstdioプロセスを、認証なしのネットワークサービスとして公開しないでください。
直接のカード処理は、意図的に専用ツールとしてはモデル化されていません。PCI準拠が必要です。
APIスコープとリファレンス
専用ツールは、2026年8月時点でMyFatoorahが公開しているv3ルートを使用します:
GET /v3/payment-methodsPOST /v3/paymentsGET /v3/payments/{paymentId}GET /v3/invoices/{invoiceId}GET /v3/invoices/externalIdentifier/{externalIdentifier}POST /v3/refundsGET /v3/refunds/{refundId}
リファレンス:
ライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to interact with multiple payment providers (Stripe, Paystack) through a unified API. Supports payment initialization, verification, refunds, customer management, and invoicing without requiring knowledge of specific provider implementations.2
- AlicenseNot gradedqualityCmaintenanceMCP server for AgentPay — the payment gateway for autonomous AI agents. Fund a wallet once, give your agent the key, and it discovers, provisions, and pays for tool APIs on its own. One key, every tool.1121MIT
- FlicenseNot gradedqualityCmaintenanceProvides AI agents with 220+ tools for building websites, sending email, managing contacts, invoicing, databases, automation, and more through a single secure connection. Features hardware-bound authentication and works with Claude Desktop, Claude Code, Cursor, and other MCP-compatible clients.

fabler-x402-toolsofficial
AlicenseNot gradedqualityBmaintenanceEnables MCP clients to use paid tools for secret scanning, agent-config auditing, and OG image rendering, with payments handled over the x402 protocol on Base.MIT
Related MCP Connectors
Agent Commerce Protocol MCP — bridges Stripe ACP + Google AP2 + Coinbase x402 for agent payments
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Agent Commerce MCP — agent-native A2A storefront. Discovery, Stripe checkout, affiliate program.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kuwaitdevs/myfatoorah-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server