Skip to main content
Connect your MCP client to the Afriex MCP server at https://mcp.afriex.com/mcp. There are two ways to provide your API key:
  • HTTP headers: pass your API key directly in the client config. The server stores these values for the session and uses them for all Business API calls. Recommended when your client supports custom headers.
  • authenticate tool: call the authenticate tool as your first action after connecting. Works with all clients.
The examples below connect to the sandbox, which the MCP server calls development. Change it to production only when you want the assistant to act on live data and move real money.
Your API key is a secret. Don’t put it in a config file that you commit to a repository. Each client below shows where to keep it instead.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):With HTTP headers (recommended):
With authenticate tool:
Restart Claude Desktop. The Afriex tools will appear in the tools menu. Then call the authenticate tool:
With HTTP headers (recommended):Add the server from your terminal. The key is stored in your local Claude Code config, not in the project:
To share the server with your team, add it to .mcp.json in your project root instead, and read the key from an environment variable so it never lands in the repository:
With authenticate tool:
Then call the authenticate tool:
With HTTP headers (recommended):Add to ~/.cursor/mcp.json, your global Cursor config. Avoid .cursor/mcp.json in your project root for this, because that file is usually committed with the project.
With authenticate tool:Go to Cursor Settings → MCP → Add new MCP Server, select Type: URL, and enter https://mcp.afriex.com/mcp.Or add it to .cursor/mcp.json in your project root. With no key in it, this file is safe to commit:
Then call the authenticate tool: