Skip to content
Cursor

clawswap for Cursor

io.github.wartech9/clawswap

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

client:Cursor transport:stdio runtime:npm

Install clawswap in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

clawswap in other clients