MCP server

Model Context Protocol server exposing Ax402 control-plane actions as agent tools for Cursor, Claude Desktop, and compatible hosts.

Build and run

pnpm --filter @axlabs/ax402-mcp-server build

AX402_API_KEY=ax402_live_... \
AX402_BASE_URL=http://api.localhost:8090 \
node ax402-sdk/tools/mcp-server/dist/index.js

Tools

  • ax402_list_apis
  • ax402_create_api
  • ax402_add_endpoint
  • ax402_import_openapi
  • ax402_add_domain
  • ax402_verify_domain
  • ax402_stats_overview
  • ax402_supported_networks
  • ax402_platform_config
  • ax402_pay_url

Cursor configuration

Point your MCP config at the built server binary. Set scoped API keys with at least apiManager permissions for create/update flows. Add AX402_EVM_PRIVATE_KEY to enable ax402_pay_url.

Related

See the agent workflows guide for scope presets, CLI recipes, and buyer setup alongside MCP.