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.

TDQS

A4.2/5.0

Scored across 7 tools

Disambiguation5/5

Each core tool targets a distinct resource and action: payment methods, payments, invoices, and refunds are clearly separated. The api_request escape hatch is explicitly scoped to endpoints not covered by the other tools, so it complements rather than overlaps with them.

Naming Consistency4/5

Six tools consistently follow the myfatoorah_verb_noun pattern, which is predictable and readable. The only deviation is myfatoorah_api_request, a noun-style escape hatch, which is a minor exception rather than a systemic inconsistency.

Tool Count5/5

Seven tools is well-scoped for a payment-focused server: it covers payment methods, payment creation/retrieval, invoice retrieval, refund creation/retrieval, plus one generic escape hatch. Every tool earns its place, and the count is neither bloated nor too thin.

Completeness4/5

The set covers the core payment workflow: create payment, check payment status, retrieve invoice, create refund, and check refund status. It lacks explicit cancel/update/list operations, but the api_request escape hatch covers documented endpoints not individually modeled, so agents are not left with a hard dead end.

Maintenance

ActivityMaintained
ResponsivenessNo issues