Skip to main content

rmi-mcp-x402 Installation 🟡 Beta

Server side (host the marketplace)

git clone https://git.rugmunch.io/RugMunchMedia/rmi-mcp-x402.git
cd rmi-mcp-x402
cp .env.example .env # RMI_BACKEND_URL, FACILITATOR_URL, receiving wallet
docker compose up -d --build

Client side (use it from an agent)

Point any MCP-capable agent at the endpoint:

{
"mcpServers": {
"rmi": {
"url": "https://your-host/mcp"
}
}
}

Your agent needs an x402-capable wallet middleware (funded with USDC on Base or Solana) to satisfy payment challenges. Unauthenticated tool calls receive the x402 402 Payment Required response with payment instructions.