Skip to main content
Pretium ships a Model Context Protocol (MCP) server so AI tools can call payment capabilities as tools — not as a REST API you wire into your app. Connect it once in Cursor, Claude, or ChatGPT. Your agent can then register a Pretium agent, set spend limits, validate recipients, check balances, and send fiat or stablecoin payouts through normal chat. Hosted endpoint: https://mcp.pretium.africa/mcp
Open source: github.com/derrickbundi/pretium-mcp

What agents can do

Fiat agent payouts today: KES, UGX, NGN (mobile money, paybill, buy goods, bank transfer). Stablecoins: USDT/USDC on Celo, Base, BNB.

Prerequisites

  1. A Pretium partner account and API key (used by the MCP server as x-api-key).
  2. For agent tools: a partner secret key from the portal (used by register_agent).
  3. An ERC-20 settlement wallet configured in the partner portal (for agent stablecoin flows).
You do not call /mcp/agent/* HTTP routes from your product. The MCP server wraps those for the AI client.

Add in Cursor

  1. Open Cursor Settings → MCP (or edit ~/.cursor/mcp.json / project .cursor/mcp.json).
  2. Add the Pretium server:
For a local pretium-mcp instance:
  1. Restart Cursor (or reload MCP). You should see Pretium tools listed under the server.
  2. Ask the agent things like: “Register my Pretium agent and check the UGX balance.”
Also listed on cursor.directory for discovery.

Add in Claude

Claude Desktop

Edit your Claude Desktop MCP config (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
Restart Claude Desktop. Pretium tools appear in the MCP tools list for the conversation.

Claude Code / CLI

If your Claude build only supports stdio MCP, run pretium-mcp locally and point the client at its Streamable HTTP or SSE URL (see below).

Add in ChatGPT

  1. Open ChatGPT settings for Apps / Connectors (or Custom GPT actions that support MCP, depending on your plan).
  2. Add a new MCP connector with URL:
  1. Allow the Pretium tools you need (rates, validation, agent payouts).
  2. In chat, instruct the model to use Pretium for African payouts — for example: “Validate this Safaricom number, then pay 500 KES from my agent.”
If ChatGPT requires OAuth or a verified connector for remote MCP, use a self-hosted pretium-mcp behind your own auth, or contact hello@pretium.africa for partner MCP access.

Self-host (optional)

Do not expose a self-hosted MCP publicly without auth — it acts with your partner API key.

Typical chat workflows

Register and pay fiat
Stablecoin transfer
Off-ramp (crypto → fiat)
Approvals above auto-approve limits are handled in the partner portal.

Fiat payout field cheat sheet

REST Pretium vs MCP

Use the Pretium API reference when you are building a product integration. Use MCP when you want an AI assistant to operate Pretium for you.