Install in Your AI Client
Connect Hive to Windsurf
Add Hive to Windsurf and Codeium's Cascade agent can query live crypto data while you code.
Before you start
- Windsurf installed from codeium.com/windsurf.
- A free Hive API key from /dashboard/keys.
30-second setup
1. Open the MCP config file
Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json. Create the file if it doesn't exist.
2. Paste this config
{
"mcpServers": {
"hive": {
"command": "npx",
"args": ["-y", "hive-intelligence@latest"],
"env": {
"HIVE_API_KEY": "YOUR_HIVE_API_KEY"
}
}
}
}
Replace YOUR_HIVE_API_KEY with the key from /dashboard/keys.
3. Restart Windsurf
Quit Windsurf fully and reopen. Cascade will pick up the Hive MCP server on launch.
4. Verify it worked
Open Cascade (⌘L on macOS) and ask:
"Using the Hive MCP server, what is the current price of BTC and ETH?"
Cascade should call Hive's get_price tool and return live data.
What to ask in Windsurf
- "Write a Python script that pulls top DeFi yields from Hive and posts a daily summary to Slack."
- "Check this contract address for security issues before I deploy code that calls it: 0x..."
- "Build me a Next.js API route that returns the current BTC funding rate from every major exchange."
- "Given this wallet address, show me current holdings and 24h P&L — generate the fetch code."
Cascade mixes Hive tool calls with code generation — the agent picks the right tool per step.
Troubleshooting
Cascade doesn't list Hive. Confirm ~/.codeium/windsurf/mcp_config.json exists and is valid JSON. Restart Windsurf.
"npx: command not found". Install Node.js 18+ from nodejs.org, then restart Windsurf.
API key rejected. Verify at /dashboard/keys; keys are whitespace-sensitive.
Other clients
- Cursor — similar IDE, wider MCP ecosystem
- VS Code — for GitHub Copilot Chat users
- All clients — full list
Next steps
- Hive for AI Agents — what Cascade can build once connected
- Tools Reference — every tool Cascade can call