WritersLogic AI Agents (x402) for Grok
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:Grok
transport:stdio
runtime:npm
Install WritersLogic AI Agents (x402) in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"ai-agents-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@writerslogic/ai-agents-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
"MAX_USDC_PER_CALL": "<MAX_USDC_PER_CALL>",
"AGENTS_API_KEY": "<AGENTS_API_KEY>",
"AGENTS_BASE_URL": "<AGENTS_BASE_URL>",
"AGENTS_PROFILE": "<AGENTS_PROFILE>",
"AGENTS_PACKAGES": "<AGENTS_PACKAGES>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs