Skip to main content

MCP keys and approvals

A standard API key has full access to your account. It belongs on your own server. For AI tools such as Claude Code, Cursor or an AI app builder, create an MCP key instead. PalPluss enforces its limits on every request, so they hold no matter which tool uses the key.

Create an MCP key

In the console, open API Keys → Create new key, choose AI tools (MCP), then set:
  • Permissions. Only what you switch on works.
  • Payout limits, if the key may send payouts.
  • Approvals. Choose whether payouts and channel changes wait for you.
  • Expiry, and optionally allowed IP addresses.
You can change all of these later. Changes apply from the next request. An account can have up to 10 API keys, counting standard keys, MCP keys, revoked keys and connected apps. To add another once you reach the limit, delete a key you no longer use under API Keys. Deleting a key stops it working immediately.

Permissions

A request without the right permission returns 403 INSUFFICIENT_SCOPE. GET /api-key, GET /fees/estimate and GET /approvals need no permission.

Payout limits

  • Largest payout: the most a single payout can be.
  • Per day, total and payouts per day: counted per key over the Nairobi calendar day. Payouts waiting for approval count, so they can’t be used to go over the limit.
  • Only pay these numbers: optional. When set, payouts to any other number are refused.
A payout that would break a limit is refused before anything happens, with PAYOUT_ABOVE_KEY_LIMIT, PAYOUT_DAILY_TOTAL_REACHED, PAYOUT_DAILY_COUNT_REACHED or PAYOUT_RECIPIENT_NOT_ALLOWED.

Approvals

When approvals are on, a payout or channel change made with the key doesn’t happen right away. The API answers 202 Accepted:
The request appears in the console under Approvals, with the amount, the full recipient number and the key that asked. Then:
  • Approve: PalPluss runs the request straight away.
  • Reject: nothing happens. You can give a reason, which is returned to the app.
  • No decision within 15 minutes: the request expires and nothing happens.
Follow the outcome with GET /approvals/{id}. Its final status is EXECUTED (with the API response in result), REJECTED, EXPIRED or FAILED (with the reason in error). Send an Idempotency-Key header with payouts. Repeating a request with the same key returns the same approval rather than creating a second one, and an approved payout can never be paid twice.

Check a key from code

GET /api-key returns the calling key’s kind, mode, permissions, limits and today’s payout usage:

Connected apps (sign in with PalPluss)

Apps that support MCP sign-in can connect to PalPluss’ hosted MCP server at https://api.palpluss.com/mcp. You sign in to the console, choose the permissions and limits, and allow access. The app then appears under API Keys as a connected app. Change its settings there, or revoke it to disconnect the app immediately. See AI Tools (MCP).