Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-wartech9-clawswap": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / finance
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
An open-source AI agent that brings the power of Gemini directly into your terminal.
Just a Better Chatbot. Powered by Agent & MCP & Workflows.
MCP Security Weekly
Get CVE alerts and security updates for io.github.WarTech9/clawswap and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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).
Ask your AI agent any of these:
The server handles the entire flow: quote → payment → signing → submission → settlement.
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 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"
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"
}
}
}
}
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"
}
}
}
}
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" }
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"
}
}
}
}
npx -y @smithery/cli install @clawswap/mcp-server --client claude
Supports multiple clients: claude, cursor, windsurf, cline, vscode, and more.
clawswap_bridgeBridge 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_quotePreview a bridge quote without executing. Free, no payment required.
Same parameters as clawswap_bridge minus recipient.
clawswap_statusCheck the status of a previously initiated bridge.
| Parameter | Type | Required