x402 MVP: zero-touch autonomous agent payments via MCP + USDC on Base
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http x402-exchange-autonomous-ai-inference https://x402-exchange--ryan-barrett.run.tools~/.codex/config.toml
[mcp_servers.x402-exchange-autonomous-ai-inference]
url = "https://x402-exchange--ryan-barrett.run.tools"
# codex mcp add x402-exchange-autonomous-ai-inference --url https://x402-exchange--ryan-barrett.run.tools~/.cursor/mcp.json
{
"mcpServers": {
"x402-exchange-autonomous-ai-inference": {
"url": "https://x402-exchange--ryan-barrett.run.tools"
}
}
}.vscode/mcp.json
{
"servers": {
"x402-exchange-autonomous-ai-inference": {
"type": "http",
"url": "https://x402-exchange--ryan-barrett.run.tools"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"x402-exchange-autonomous-ai-inference": {
"httpUrl": "https://x402-exchange--ryan-barrett.run.tools"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"x402-exchange-autonomous-ai-inference": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://x402-exchange--ryan-barrett.run.tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"x402-exchange-autonomous-ai-inference": {
"url": "https://x402-exchange--ryan-barrett.run.tools"
}
}
}