Clawswap
Enables cross-chain token bridging, sending, and swapping between Solana and Base, supporting USDC, USDT, and SOL with automated quote retrieval, payment handling, and settlement tracking.
@clawswap/mcp-server
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.
Related MCP server: AgentServices
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-serverThen 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-serverOr 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 claudeSupports 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 |
| string | yes | Human-readable amount, e.g. "100", "0.5" |
| string | yes | Token symbol: USDC, USDT, SOL, ETH, WETH |
| "solana" | "base" | yes | Source chain |
| "solana" | "base" | yes | Destination chain |
| string | no | Destination address (defaults to agent's own) |
| string | no | Destination token (defaults to same or USDC) |
| 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 |
| string | yes | The requestId from |
Environment Variables
Variable | Required | Description |
| For Solana→Base | Base58-encoded Solana private key |
| For Base→Solana | 0x-prefixed hex Base/EVM private key |
| No | Solana RPC (default: |
| No | Base RPC (default: |
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
Available Tools
3 toolsclawswap_bridgeA
Send, 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.
Inputs: amount (required), token (required), from (required), to (required), +3 more.
clawswap_quoteA
Get 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.
Inputs: amount (required), token (required), from (required), to (required), +2 more.
clawswap_statusA
Check the status of a previously initiated bridge using the requestId from clawswap_bridge.
Inputs: requestId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: clawswap_bridge executes transfers, clawswap_quote provides price estimates, and clawswap_status tracks transaction progress. There is no overlap or ambiguity in functionality, making tool selection straightforward for an agent.
All tools follow a consistent 'clawswap_' prefix with descriptive suffixes (bridge, quote, status), creating a predictable and readable pattern. This uniformity enhances clarity and usability across the tool set.
With 3 tools, the server is well-scoped for cross-chain bridging between Solana and Base. Each tool serves a distinct, essential function (execute, quote, status check), and there are no extraneous or missing tools for this focused domain.
The tool set provides complete coverage for the cross-chain bridging workflow: quoting (clawswap_quote), executing (clawswap_bridge), and monitoring (clawswap_status). This covers the full lifecycle from preview to completion without any obvious gaps or dead ends.
Maintenance
Related MCP Connectors
MCP server for X420's pay-per-call agent services (x402, USDC on Base, paid from your own wallet).
Multi-aggregator swap router for AI agents on Base. 10 bps fee. MCP-native, non-custodial.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceMCP server that allows AI agents to discover and pay for thousands of APIs (x402 on Solana/Base) using a single key, with automatic payment handling and a federated catalog of machine-payable endpoints.221MIT- AlicenseNot gradedqualityDmaintenanceMCP server providing 50+ crypto, market intelligence, and AI inference endpoints with x402 pay-per-request micropayments on Base.2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceAn MCP server for agentic commerce, enabling AI agents to discover services, make x402 payments with USDC across multiple chains, and manage crypto wallets and token swaps.598 npm1MIT
- AlicenseAqualityBmaintenanceMCP server that aggregates x402 crypto services as tools for AI agents, providing prices, sentiment, funding rates, and technical indicators with x402 pay-per-call on Base.61,535 npmMIT