Skip to main content
Glama

Pakistan Payments MCP — let AI agents accept payments in Pakistan

Use it in 60 seconds

Paste this into your MCP client config (Claude Desktop, Cursor, Windsurf, or any MCP-capable agent):

{
  "mcpServers": {
    "pakistan-payments": {
      "type": "http",
      "url": "https://mcp-pk.wishpool.app/mcp"
    }
  }
}

Nothing to install. Credentials, when you need them, travel as HTTP headers on each request and are never stored — see the threat model.

Or run it yourself

Would you rather not send production credentials to a server you do not control? Deploy this identical code to your own account and point your agent at your own URL:

Deploy with Vercel

git clone https://github.com/junter1989k-ai/pakistan-payments-mcp && cd pakistan-payments-mcp && npx vercel --prod

MIT-licensed. Self-hosting removes us from the picture entirely, at no cost and with no loss of function.


Live · MCP endpoint: https://mcp-pk.wishpool.app/mcp · Listed on the official MCP Registry as app.wishpool/pakistan-payments-mcp · Part of a 50-country family — hub: mcp.wishpool.app

A remote MCP server that lets any AI agent (Claude, ChatGPT, Cursor…) accept payments in Pakistan: cards and local payment methods on the Safepay hosted checkout — via Safepay's hosted checkout.

⚖️ Stateless translation layer: funds always flow buyer → Safepay → merchant directly. Never holds funds or stores credentials — no database at all.

Related MCP server: app.wishpool/saudi-arabia-payments-mcp

Quick start

MCP endpoint: https://mcp-pk.wishpool.app/mcp (Streamable HTTP, stateless JSON-RPC)

Header

Value

x-safepay-public-key

from getsafepay.com dashboard — also send x-safepay-mode: sandbox for test mode; default production

Tools

Tool

What it does

create_payment_link

Create a PKR hosted-checkout link.

query_payment_status

Pull-based status check; paid=true when PAID.

Develop

node test/serve.js      # local server (http://localhost:3260/mcp)
node test/e2e.js        # protocol + validation suite (probes real Safepay auth errors)

Zero runtime dependencies; Node ≥ 18. MIT license.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers