1. Conduid
  2. Blockchain
  3. io.github.WarTech9/clawswap
MCP server · Blockchain

io.github.WarTech9/clawswap

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

Unclaimed last commit 7 months ago blockchain
37Low

Scored 6 months ago · breakdown

About io.github.WarTech9/clawswap

io.github.WarTech9/clawswap is an MCP server published by WarTech9 in the Blockchain category: cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.

The repository has 2 stars and 1 forks, with the last commit 7 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Claude Code
claude mcp add io-github-wartech9-clawswap -- npx -y @clawswap/mcp-server
npx
npx -y @clawswap/mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (3)

clawswap_bridgeSend, transfer, swap, or bridge tokens cross-chain between Solana and Base. Handles quoting, payment, signing, and submission automatically. Use this to move USDC, USDT, SOL, ETH, or WETH between chains.

Parameters not published.

clawswap_quoteGet a price quote for a cross-chain transfer between Solana and Base. Shows estimated output amount, fees, and time. Free, no payment required. Use before bridging to preview costs.

Parameters not published.

clawswap_statusCheck the status of a previously initiated bridge using the requestId from clawswap_bridge.

Parameters not published.

Ask AI

✦

Ask AI about io.github.WarTech9/clawswap

Powered by Claude · Grounded in docs

I know everything about io.github.WarTech9/clawswap. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

@clawswap/mcp-server

npm version npm downloads

Send, swap, and bridge tokens cross-chain between Solana and Base — gasless, in one tool call. Built for AI agents using the Model Context Protocol (MCP).

What can it do?

Ask your AI agent any of these:

  • "Send 10 USDC from Solana to Base"
  • "How much would it cost to bridge 100 USDC to Base?"
  • "Transfer my SOL to Base as ETH"
  • "Swap 50 USDT from Base to Solana"
  • "Move my stablecoins cross-chain"

The server handles the entire flow: quote → payment → signing → submission → settlement.

Installation

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "clawswap": {
      "command": "npx",
      "args": ["-y", "@clawswap/mcp-server"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your-base58-solana-private-key",
        "BASE_PRIVATE_KEY": "0x-your-hex-base-private-key"
      }
    }
  }
}

Claude Code

claude mcp add clawswap -- npx -y @clawswap/mcp-server

Then set environment variables:

export SOLANA_PRIVATE_KEY="your-base58-solana-private-key"
export BASE_PRIVATE_KEY="0x-your-hex-base-private-key"

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "clawswap": {
      "command": "npx",
      "args": ["-y", "@clawswap/mcp-server"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your-base58-solana-private-key",
        "BASE_PRIVATE_KEY": "0x-your-hex-base-private-key"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "clawswap": {
      "command": "npx",
      "args": ["-y", "@clawswap/mcp-server"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your-base58-solana-private-key",
        "BASE_PRIVATE_KEY": "0x-your-hex-base-private-key"
      }
    }
  }
}

OpenAI Codex

codex mcp add clawswap -- npx -y @clawswap/mcp-server

Or add to ~/.codex/config.toml:

[mcp_servers.clawswap]
command = "npx"
args = ["-y", "@clawswap/mcp-server"]
env = { SOLANA_PRIVATE_KEY = "your-base58-solana-private-key", BASE_PRIVATE_KEY = "0x-your-hex-base-private-key" }

Antigravity

Add to ~/.gemini/antigravity/mcp_config.json:

{
  "mcpServers": {
    "clawswap": {
      "command": "npx",
      "args": ["-y", "@clawswap/mcp-server"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your-base58-solana-private-key",
        "BASE_PRIVATE_KEY": "0x-your-hex-base-private-key"
      }
    }
  }
}

Smithery

npx -y @smithery/cli install @clawswap/mcp-server --client claude

Supports multiple clients: claude, cursor, windsurf, cline, vscode, and more.

Tools

clawswap_bridge

Bridge tokens between Solana and Base. Handles the entire flow automatically.

Parameter Type Required Description
amount string yes Human-readable amount, e.g. "100", "0.5"
token string yes Token symbol: USDC, USDT, SOL, ETH, WETH
from "solana" | "base" yes Source chain
to "solana" | "base" yes Destination chain
recipient string no Destination address (defaults to agent's own)
destinationToken string no Destination token (defaults to same or USDC)
slippage number no Slippage tolerance 0-1 (default 0.01)

clawswap_quote

Preview a bridge quote without executing. Free, no payment required.

Same parameters as clawswap_bridge minus recipient.

clawswap_status

Check the status of a previously initiated bridge.

Parameter Type Required Description
requestId string yes The requestId from clawswap_bridge

Environment Variables

Variable Required Description
SOLANA_PRIVATE_KEY For Solana→Base Base58-encoded Solana private key
BASE_PRIVATE_KEY For Base→Solana 0x-prefixed hex Base/EVM private key
SOLANA_RPC_URL No Solana RPC (default: https://api.mainnet-beta.solana.com)
BASE_RPC_URL No Base RPC (default: https://mainnet.base.org)

You only need keys for the direction(s) you want to bridge. The server starts with whatever is configured.

Fees

  • Solana → Base: $0.50 USDC (paid automatically via x402 protocol, gas sponsored by ClawSwap)
  • Base → Solana: Free (agent pays ~$0.001 Base gas directly)

Supported Tokens

  • Solana: USDC, USDT, SOL
  • Base: USDC, USDT, ETH, WETH

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.WarTech9/clawswap

How do I install io.github.WarTech9/clawswap?

Run claude mcp add io-github-wartech9-clawswap -- npx -y @clawswap/mcp-server, then add the server to your MCP client's configuration.

Is io.github.WarTech9/clawswap safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.WarTech9/clawswap still maintained?

The last commit was 7 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.