Quickstart
Add to MCP config:EVM_WALLET_PRIVATE_KEY - EVM private key without 0x. Enables signing/broadcast tools.
Local Installation Options
For read-only mode, omitEVM_WALLET_PRIVATE_KEY.
Option A: Node.js
Requires Node.js v18+.Option B: Docker
Pull the published image:Configuration
In case of local Node.js installation, copy the example config:EVM_WALLET_PRIVATE_KEY- EVM private key without0x. Enables signing/broadcast tools.RUBIC_API_BASE_URL- Rubic API base URL (defaulthttps://rubic-api-v2.rubic.exchange).TOKENS_API_BASE_URL- Rubic tokens API base URL (defaulthttps://api.rubic.exchange/api).MCP_TRANSPORT-stdio(default) orhttp.MCP_HOST/MCP_PORT- used in HTTP mode.API_TIMEOUT_MS/MCP_TOOL_TIMEOUT_MS- request and tool execution timeouts.
EVM_WALLET_PRIVATE_KEY, read-only and build tools work, but tools that sign transactions will return an error.
Connecting to MCP Clients
Quickstart section is enough for the most use cases. All of the instructions below are related to local installation options. All examples below use stdio mode. Replace/full/path/to with the actual path printed after npm run build.
Claude Code
claude mcp list
Claude Desktop
Add to claude_desktop_config.json:
Node.js:
.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
~/.codeium/windsurf/mcp_config.json:
.vscode/mcp.json:
~/.continue/config.json:
~/.config/zed/settings.json:
Other clients (generic stdio)
Use commandnode + args ["/full/path/to/dist/index.js"], or Docker command:
Hosted MCP
Use hosted read-only MCP endpoint:https://mcp-api-v2.rubic.exchange/mcp
Example generic MCP config: