Clawswap MCP Server
by wartech9io.github.WarTech9/clawswapv0.1.5
Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.
context tax
queued
security
queued
cold start
queued
freshness
Stale7mo ago
Install Clawswap MCP server
Install in Claude Code
claude mcp add clawswap -e SOLANA_PRIVATE_KEY='<solana-private-key>' -e BASE_PRIVATE_KEY='<base-private-key>' -- npx -y @clawswap/mcp-serverInstall in Cursor
{
"mcpServers": {
"clawswap": {
"command": "npx",
"args": [
"-y",
"@clawswap/mcp-server"
],
"env": {
"SOLANA_PRIVATE_KEY": "<solana-private-key>",
"BASE_PRIVATE_KEY": "<base-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"clawswap": {
"command": "npx",
"args": [
"-y",
"@clawswap/mcp-server"
],
"env": {
"SOLANA_PRIVATE_KEY": "<solana-private-key>",
"BASE_PRIVATE_KEY": "<base-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"clawswap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@clawswap/mcp-server"
],
"env": {
"SOLANA_PRIVATE_KEY": "<solana-private-key>",
"BASE_PRIVATE_KEY": "<base-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"clawswap": {
"command": "npx",
"args": [
"-y",
"@clawswap/mcp-server"
],
"env": {
"SOLANA_PRIVATE_KEY": "<solana-private-key>",
"BASE_PRIVATE_KEY": "<base-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SOLANA_PRIVATE_KEY | yes | yes | Base58-encoded Solana private key (required for Solana → Base bridges) |
| BASE_PRIVATE_KEY | — | yes | 0x-prefixed hex Base/EVM private key (required for Base → Solana bridges) |
| SOLANA_RPC_URL | — | — | Solana RPC endpoint URL |
| BASE_RPC_URL | — | — | Base RPC endpoint URL |
Freshness
Stale — last maintenance signal 7mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-02-27 · 7mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-02-27 · 7mo ago · official registry · v0.1.5
FAQ
›How do I install the Clawswap MCP server in Claude Code?
Run: claude mcp add clawswap -e SOLANA_PRIVATE_KEY='<solana-private-key>' -e BASE_PRIVATE_KEY='<base-private-key>' -- npx -y @clawswap/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Clawswap require an API key?
Yes. It expects SOLANA_PRIVATE_KEY, BASE_PRIVATE_KEY, of which 2 are secrets.
›Can I use Clawswap as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Clawswap in the official MCP registry?
Yes, as io.github.WarTech9/clawswap.