set_helius_api_key
Set a Helius API key at runtime to fix Solana RPC rate limits without restarting your MCP client.
Instructions
Set a Helius API key for Solana RPC reads at runtime — no restart required. The server constructs the canonical Helius mainnet URL (https://mainnet.helius-rpc.com/?api-key=<KEY>) internally and uses it for every subsequent Solana call until the process restarts. Takes precedence over SOLANA_RPC_URL env var and userConfig. Designed for the demo-mode flow where users want to fix Solana rate-limits without restarting their MCP client, but works in any mode. INPUT: bare API key only (UUID format, 8-4-4-4-12 hex). Pasting a URL is rejected to prevent prompt-injection redirects to malicious endpoints. WHERE TO GET ONE: https://dashboard.helius.dev/ — sign in (GitHub or email), copy the default API key auto-created on first login. Free tier covers personal-volume Solana reads + writes. PERSISTENCE: process memory only. To save across restarts, run vaultpilot-mcp-setup (after exiting demo mode if applicable) and pick "Solana RPC URL" — paste the same key there. AGENT BEHAVIOR: when the user pastes a key in chat ('here's my Helius key: '), call this tool immediately. NEVER echo the key back in any subsequent response — treat it as secret-shaped even though Helius keys can be regenerated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | Helius API key (UUID format: 8-4-4-4-12 hex chars). Get one for free at https://dashboard.helius.dev/. Pass the bare key — the server constructs the canonical Helius mainnet URL internally. Stored in process memory only — survives until the MCP server restarts. |