Skip to main content
The Afriex MCP server exposes the Afriex Business API as tools for AI assistants. It implements the Model Context Protocol (MCP), letting clients like Claude Desktop, Claude Code, and Cursor interact with the Afriex platform programmatically.

How it works

The server exposes the core Business API endpoints as MCP tools, listed below. An AI assistant can create customers, send transactions, look up balances, and more, all via natural language. Some endpoints have no tool yet, including quotes, payment batches, customer updates and verification, transaction authorization, and the sandbox simulators. Call those over the REST API.

Authentication

You will need an Afriex Business API key from the dashboard. Connect your MCP client to https://mcp.afriex.com/mcp, then authenticate using one of two methods: Method 1: HTTP headers (recommended) Pass your API key directly in your MCP client config. The server captures these values and uses them for all subsequent Business API calls in the session: Method 2: authenticate tool After connecting, call the authenticate tool as your first action:
With production, the assistant acts on live data, and tools such as create_transaction move real money. Start in development, which is the MCP server’s name for the sandbox. Give the API key only the permissions you want the assistant to have.
See Connecting MCP Clients for client-specific setup instructions.

Available Tools (26)

Authentication

Customers

Transactions

Payment Methods

Checkout Sessions

Webhooks

Organization