Benji Pays is now available in the Sherweb Marketplace
Claude · MCP server

Set up Claude with Benji Pays

You need a Benji Pays application programming interface (API) key and Claude. If you use the desktop app, install Node.js as well. This guide covers Claude Desktop and Claude Code. It uses the Benji Pays Model Context Protocol (MCP) server.

MCP server URL

https://developer.benjipays.com/mcp

Send your Benji Pays API key in the x-api-key header.

Before you start

  1. In the Benji Pays app, open API Access and create a key with the scopes you need (a read-only key is enough for questions).
  2. Copy it somewhere safe. You will paste it into your client’s config, not into a chat.

Keep your API key safe

Create a key with only the scopes you need. If you just want to ask accounts receivable (AR) questions, create a read-only key. You can create as many keys as you like, each with its own scopes. A company admin creates the key. You cannot edit an existing key (create a new one and delete the old). Keys expire after 1, 3, 6 or 12 months. Put the key in your AI tool’s config or an environment variable, never in a chat message. Delete it in the Benji Pays app at any time to cut off access.

Add the server in the desktop app

  1. Open Claude Desktop and go to Settings > Developer.
  2. Select Edit Config to open claude_desktop_config.json.
  3. Add the Benji Pays Model Context Protocol (MCP) server (macOS and Linux):
{
  "mcpServers": {
    "benjipays": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://developer.benjipays.com/mcp",
        "--header",
        "x-api-key: ${API_KEY}"
      ],
      "env": {
        "API_KEY": "YOUR_BENJI_PAYS_API_KEY"
      }
    }
  }
}

On Windows, Claude Desktop cannot start npx directly. Use this version:

{
  "mcpServers": {
    "benjipays": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "mcp-remote",
        "https://developer.benjipays.com/mcp",
        "--header",
        "x-api-key: ${API_KEY}"
      ],
      "env": {
        "API_KEY": "YOUR_BENJI_PAYS_API_KEY"
      }
    }
  }
}
  1. Save the file and restart Claude Desktop.
  2. Enable the connector in the conversation where you want to use it.

Add the server from the terminal

  1. In Claude Code, run this command (one line works in any shell, including PowerShell):
claude mcp add --transport http benjipays https://developer.benjipays.com/mcp --header "x-api-key: YOUR_BENJI_PAYS_API_KEY"
  1. Check that .claude.json now lists the benjipays server with the x-api-key header.

Test the connection

  • “List all available Benji Pays API endpoints”
  • “Search the Benji Pays API for anything related to invoices”
  • “Get me a list of all my customers”

Troubleshooting

ProblemFix
401 UnauthorizedThe key is missing, mistyped or deleted, or API access is not active for your organization. Check the x-api-key header and the key in API Access.
403 ForbiddenThe key does not have the scope for that action. Create a key that includes it.
Requests slow down or return 429You hit the API rate limit. See Rate limits.
spawn npx ENOENT on WindowsUse the cmd /c version of the Claude Desktop config.

Claude, Grok Build, Grok Bot, ChatGPT, Codex, Gemini and Antigravity are trademarks of their respective owners. Benji Pays is not affiliated with or endorsed by them.