Pakistan Payments MCP
README.md
<!-- mcp-name: app.wishpool/pakistan-payments-mcp -->
# Pakistan Payments MCP — let AI agents accept payments in Pakistan
<!-- install-cta -->
## Use it in 60 seconds
Paste this into your MCP client config (Claude Desktop, Cursor, Windsurf, or any MCP-capable agent):
```json
{
"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](https://mcp.wishpool.app/trust).
### 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:
[](https://vercel.com/new/clone?repository-url=https://github.com/junter1989k-ai/pakistan-payments-mcp)
```bash
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](https://registry.modelcontextprotocol.io/v0/servers?search=wishpool) as `app.wishpool/pakistan-payments-mcp` · Part of a 50-country family — hub: [mcp.wishpool.app](https://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.
## 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
```bash
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.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessSyncing