Skip to main content
Glama
kuwaitdevs

MyFatoorah MCP

by kuwaitdevs

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYFATOORAH_BASE_URLNoHTTPS override for a supported MyFatoorah deployment or test proxy.Environment URL
MYFATOORAH_API_TOKENYesMyFatoorah API bearer token. Required to call the API. Never expose it to an agent prompt.
MYFATOORAH_TIMEOUT_MSNoRequest timeout in milliseconds, from 1 to 300000.30000
MYFATOORAH_ENVIRONMENTNoMyFatoorah environment. One of: test, kuwait, uae, saudi_arabia, qatar, or egypt.test

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
myfatoorah_get_payment_methodsA

List payment methods enabled for this account. Read ApiName from the result and pass it as paymentMethod when creating a hosted payment.

myfatoorah_create_paymentA

Creates a payment/invoice using POST /v3/payments. In a live environment this creates a real payable invoice. Omit paymentMethod to show all enabled methods; use notificationOption for invoicing. The returned PaymentURL is where the customer pays.

myfatoorah_get_paymentA

Gets authoritative payment details by PaymentId using GET /v3/payments/{paymentId}. Treat payment as successful only when Invoice.Status is PAID and Transaction.Status is SUCCESS.

myfatoorah_get_invoiceA

Gets an invoice by exactly one lookup type. Invoice ID uses /v3/invoices/{value}; external identifier returns the most recent matching invoice and uses /v3/invoices/externalIdentifier/{value}.

myfatoorah_create_refundA

Creates a real full or partial refund using POST /v3/refunds. This moves money in live environments. Call only after the user explicitly approves the exact PaymentId and amount; confirm must be true.

myfatoorah_get_refundA

Gets a refund by RefundId using GET /v3/refunds/{refundId}. Refund statuses include Refunded, Canceled, and Pending.

myfatoorah_api_requestA

Escape hatch for documented MyFatoorah v2/v3 endpoints not covered by another tool. Accepts only safe relative /v2/ or /v3/ paths and GET, POST, or PUT. Absolute URLs are blocked so credentials cannot be sent elsewhere. POST/PUT require confirm=true.

Prompts

Interactive templates invoked by user choice

NameDescription
create-payment-safelyGuides an agent through safe payment-link creation and verification.

Resources

Contextual data attached and managed by the client

NameDescription
myfatoorah-configurationSafe runtime configuration. Never includes the API token.

Latest Blog Posts

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