Skip to content
Grok

clawswap for Grok

io.github.wartech9/clawswap

Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.

client:Grok transport:stdio runtime:npm

Install clawswap in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "clawswap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@clawswap/mcp-server"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>",
        "BASE_PRIVATE_KEY": "<BASE_PRIVATE_KEY>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
        "BASE_RPC_URL": "<BASE_RPC_URL>"
      }
    }
  }
}

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

clawswap in other clients