Skip to content
Claude Code

WritersLogic AI Agents (x402) for Claude Code

io.github.writerslogic/ai-agents-mcp

Pay-per-call AI agents over x402. Settled in USDC on Base with a per-call spending cap.

client:Claude Code transport:stdio runtime:npm

Install WritersLogic AI Agents (x402) in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add ai-agents-mcp -e AGENT_PRIVATE_KEY=<AGENT_PRIVATE_KEY> -e MAX_USDC_PER_CALL=<MAX_USDC_PER_CALL> -e AGENTS_API_KEY=<AGENTS_API_KEY> -e AGENTS_BASE_URL=<AGENTS_BASE_URL> -e AGENTS_PROFILE=<AGENTS_PROFILE> -e AGENTS_PACKAGES=<AGENTS_PACKAGES> -- npx -y @writerslogic/ai-agents-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

WritersLogic AI Agents (x402) in other clients