NestDaddy

Clawswap

io.github.WarTech9/clawswap · v0.1.5

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

Connect Runs on your machine

Terminal
claude mcp add clawswap -e SOLANA_PRIVATE_KEY=<SOLANA_PRIVATE_KEY> -e BASE_PRIVATE_KEY=<BASE_PRIVATE_KEY> -e SOLANA_RPC_URL=<SOLANA_RPC_URL> -e BASE_RPC_URL=<BASE_RPC_URL> -- npx -y @clawswap/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "clawswap": {
      "command": "npx",
      "args": [
        "-y",
        "@clawswap/[email protected]"
      ],
      "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "clawswap": {
      "command": "npx",
      "args": [
        "-y",
        "@clawswap/[email protected]"
      ],
      "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "clawswap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@clawswap/[email protected]"
      ],
      "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>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
SOLANA_PRIVATE_KEY
Required, secret
Base58-encoded Solana private key (required for Solana → Base bridges)
BASE_PRIVATE_KEY
Optional, secret
0x-prefixed hex Base/EVM private key (required for Base → Solana bridges)
SOLANA_RPC_URL
Optional
Solana RPC endpoint URL
BASE_RPC_URL
Optional
Base RPC endpoint URL

Details

Package@clawswap/[email protected] (NPM, stdio)
First published27 Feb 2026
Last updated27 Feb 2026
Registry nameio.github.WarTech9/clawswap

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.