Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.
Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.
Valid MCP server (2 strong, 4 medium validity signals). 4 known CVEs in dependencies (0 critical, 4 high severity) Package registry verified. Imported from the Official MCP Registry.
12 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: SOLANA_PRIVATE_KEY
Environment variable: BASE_PRIVATE_KEY
Environment variable: SOLANA_RPC_URL
Environment variable: BASE_RPC_URL
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-wartech9-clawswap": {
"env": {
"BASE_RPC_URL": "your-base-rpc-url-here",
"SOLANA_RPC_URL": "your-solana-rpc-url-here",
"BASE_PRIVATE_KEY": "your-base-private-key-here",
"SOLANA_PRIVATE_KEY": "your-solana-private-key-here"
},
"args": [
"-y",
"@clawswap/mcp-server"
],
"command": "npx"
}
}
}From the project's GitHub README.
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 | Description |
|---|---|---|---|
requestId | string | yes | The requestId from clawswap_bridge |
| 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.
MIT
Does what it says. Makes sending tokens between Solana and Base easy
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
by Taylorwilsdon · Productivity
Control Gmail, Calendar, Docs, Sheets, Drive, and more from your AI