Skip to content

theYahia/moyasar-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moyasar-mcp

MCP server for Moyasar payment gateway (Saudi Arabia). Supports payments, invoices, refunds, and voids via Basic auth.

Tools (8)

Tool Description
create_payment Create a payment
get_payment Get payment details
list_payments List payments with filters
refund Refund a captured payment
create_invoice Create an invoice
get_invoice Get invoice details
list_invoices List invoices
void Void an authorized payment

Quick Start

{
  "mcpServers": {
    "moyasar": {
      "command": "npx",
      "args": ["-y", "@theyahia/moyasar-mcp"],
      "env": {
        "MOYASAR_SECRET_KEY": "<YOUR_SECRET_KEY>"
      }
    }
  }
}

Environment Variables

Variable Required Description
MOYASAR_SECRET_KEY Yes Secret API key from Moyasar dashboard

Demo Prompts

  • "Create a payment of 100 SAR for a subscription"
  • "Check payment pay_abc123 status"
  • "List all paid payments"
  • "Refund 50 SAR from payment pay_xyz789"
  • "Create an invoice for 500 SAR"

License

MIT

About

MCP server for Moyasar — payment gateway, invoices (Saudi Arabia)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors