@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).
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @clawswap/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
SOLANA_PRIVATE_KEY=<secret> BASE_PRIVATE_KEY=<secret> SOLANA_RPC_URL=<value> BASE_RPC_URL=<value> claude mcp add io.github.wartech9-clawswap -- npx -y @clawswap/mcp-server@0.1.5在終端機中執行。
{ "mcpServers": { "io.github.wartech9-clawswap": { "command": "npx", "args": [ "-y", "@clawswap/[email protected]" ], "env": { "SOLANA_PRIVATE_KEY": "<secret>", "BASE_PRIVATE_KEY": "<secret>", "SOLANA_RPC_URL": "<value>", "BASE_RPC_URL": "<value>" } } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
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).
Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.
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.
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.
You only need keys for the direction(s) you want to bridge. The server starts with whatever is configured.
MIT
Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.
{ "mcpServers": { "io.github.wartech9-clawswap": { "command": "npx", "args": [ "-y", "@clawswap/[email protected]" ], "env": { "SOLANA_PRIVATE_KEY": "<secret>", "BASE_PRIVATE_KEY": "<secret>", "SOLANA_RPC_URL": "<value>", "BASE_RPC_URL": "<value>" } } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
發布者列出了以下環境變數:SOLANA_PRIVATE_KEY, BASE_PRIVATE_KEY, SOLANA_RPC_URL, BASE_RPC_URL。
Clawswap 透過 stdio 在本機執行。
上次檢查時間:2026-11-09。 Cross-chain swaps between Solana and Base for AI agents paid for via via x402 micropayments.