io.github.WarTech9/clawswap
Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.
- Repository
- github.com/WarTech9/clawswap-mcp
- Version
- 0.1.5
- Author
- WarTech9 (namespace verified by the registry)
- Source
- Official MCP registry (updated Feb 27, 2026)
How to install it
Variables to fill in: SOLANA_PRIVATE_KEY, BASE_PRIVATE_KEY, SOLANA_RPC_URL, BASE_RPC_URL.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add clawswap -e SOLANA_PRIVATE_KEY=YOUR_SOLANA_PRIVATE_KEY -e BASE_PRIVATE_KEY=YOUR_BASE_PRIVATE_KEY -e SOLANA_RPC_URL=YOUR_SOLANA_RPC_URL -e BASE_RPC_URL=YOUR_BASE_RPC_URL -- npx -y @clawswap/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"clawswap": {
"command": "npx",
"args": [
"-y",
"@clawswap/[email protected]"
],
"env": {
"SOLANA_PRIVATE_KEY": "YOUR_SOLANA_PRIVATE_KEY",
"BASE_PRIVATE_KEY": "YOUR_BASE_PRIVATE_KEY",
"SOLANA_RPC_URL": "YOUR_SOLANA_RPC_URL",
"BASE_RPC_URL": "YOUR_BASE_RPC_URL"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"clawswap": {
"command": "npx",
"args": [
"-y",
"@clawswap/[email protected]"
],
"env": {
"SOLANA_PRIVATE_KEY": "YOUR_SOLANA_PRIVATE_KEY",
"BASE_PRIVATE_KEY": "YOUR_BASE_PRIVATE_KEY",
"SOLANA_RPC_URL": "YOUR_SOLANA_RPC_URL",
"BASE_RPC_URL": "YOUR_BASE_RPC_URL"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"clawswap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@clawswap/[email protected]"
],
"env": {
"SOLANA_PRIVATE_KEY": "YOUR_SOLANA_PRIVATE_KEY",
"BASE_PRIVATE_KEY": "YOUR_BASE_PRIVATE_KEY",
"SOLANA_RPC_URL": "YOUR_SOLANA_RPC_URL",
"BASE_RPC_URL": "YOUR_BASE_RPC_URL"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.wartech9/clawswap)HTML
<a href="https://lagora.dev/en/entry/io.github.wartech9/clawswap"><img src="https://lagora.dev/badge/io.github.wartech9/clawswap.svg?lang=en" alt="io.github.WarTech9/clawswap on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.