← All posts

Ask your AI assistant about your sales with the PayerNex MCP server

PayerNex Team · · 1 min read

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 forTool 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

  1. Install Node.js 18 or newer.
  2. Download payernex-mcp.js. It's a single file with no dependencies.
  3. 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" }
    }
  }
}
  1. 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.

Start accepting payments with PayerNex

Connect your own Binance, bank, crypto wallet or card gateway. The money goes straight to you.

Create a free account Read the docs