Checking how the week went usually means opening the dashboard, filtering orders and adding things up. With the PayerNex MCP server, you can just ask your AI assistant:
How much did I sell in the last 7 days, and are any payments waiting for review?
The assistant calls PayerNex with your API key and answers from your real data.
What it can do
| Ask for | Tool it uses |
|---|---|
| "Show today's pending orders" | list_orders |
| "What happened with ORD-9F2C…?" | get_order |
| "Sales for the last 30 days by currency" | sales_summary |
| "Make a 25 USD payment link for Ali" | create_checkout |
| "Cancel that order" | cancel_order |
| "Refund half of this card payment" | create_refund |
MCP (Model Context Protocol) is an open standard that lets an assistant use tools. Claude Desktop, Claude Code, Cursor and others support it.
Set it up
- Install Node.js 18 or newer.
- Download payernex-mcp.js. It's a single file with no dependencies.
- Add it to your assistant. For Claude Desktop, open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"payernex": {
"command": "node",
"args": ["/full/path/to/payernex-mcp.js"],
"env": { "PAYERNEX_API_KEY": "YOUR_API_KEY" }
}
}
}
- Restart the assistant and ask a question.
With Claude Code it's one command:
claude mcp add payernex -e PAYERNEX_API_KEY=YOUR_API_KEY -- node /full/path/to/payernex-mcp.js
Stay in control
- The server runs on your computer and talks only to the PayerNex API, using your key.
- Start with a test key. It only sees and creates test orders.
- Cancelling and refunding are marked as destructive actions. Most assistants ask for your approval before they run a tool; keep that approval on for these two.
Developers can call the same data directly with the new GET /api/v1/orders endpoint.