FOR AGENTS
MCP server
Cursor / Claude agent tools
@ax402/mcp-server exposes Ax402 control-plane actions as MCP tools for Cursor, Claude Desktop, and compatible hosts. API key auth only — no JWT support.
Install and run
npx @ax402/mcp-serverRequires Node.js 18+.
Set AX402_API_KEY (scoped ax402_live_... key from the Ax402 dashboard). Optional: AX402_BASE_URL (default https://api.ax402.io). For paying gateway URLs, set AX402_EVM_PRIVATE_KEY.
From source
git clone https://github.com/AxLabs/ax402-sdks.git
cd ax402-sdks && pnpm install
pnpm --filter @ax402/mcp-server build
AX402_API_KEY=ax402_live_... \
AX402_BASE_URL=https://api.ax402.io \
node tools/mcp-server/dist/index.jsCursor configuration
{
"mcpServers": {
"ax402": {
"command": "npx",
"args": ["-y", "@ax402/mcp-server"],
"env": {
"AX402_BASE_URL": "https://api.ax402.io",
"AX402_API_KEY": "ax402_live_...",
"AX402_EVM_PRIVATE_KEY": "0x..."
}
}
}
}Example config: cursor-mcp.json.example in the ax402-sdks repo.
Tools
ax402_list_apis— apis:readax402_get_api— apis:readax402_list_endpoints— endpoints:readax402_create_api— apis:write + verified emailax402_add_endpoint— endpoints:writeax402_import_openapi— openapi:readax402_add_domain— domains:writeax402_list_domains— domains:readax402_verify_domain— domains:writeax402_domain_suggest— domains:readax402_stats_overview— stats:readax402_stats_api— stats:readax402_settlements_list— settlements:readax402_settlements_export— settlements:readax402_billing_overview— billing:readax402_income_summary— income:readax402_apis_slug_check— apis:readax402_apis_probe_upstream— apis:readax402_scopes_list— JWT sessionax402_facilitator_stats— authenticatedax402_billing_catalog— public billing catalogax402_inspect_url— buyer (no wallet)ax402_supported_networks— authenticatedax402_platform_config— publicax402_pay_url— buyer (AX402_EVM_PRIVATE_KEY)
Scopes
Create keys with the apiManager preset for create/update flows. Add AX402_EVM_PRIVATE_KEY to enable in-process payment via ax402_pay_url.