Add DC Hub to Gemini CLI from the extensions gallery, one command, or ~/.gemini/settings.json · 30 seconds to install.
One click, no email to start. The key works in Gemini CLI's MCP config right away. DCHUB_API_KEY is optional and opens fuller answers.
# Extension (adds the server plus usage notes):
gemini extensions install https://github.com/azmartone67/dchub-mcp-server
# Or add the server only (writes ~/.gemini/settings.json; drop -s user to scope it to this folder):
gemini mcp add -s user --transport http dchub "https://dchub.cloud/mcp?via=gemini-cli"
# Or paste this block into ~/.gemini/settings.json:
{
"mcpServers": {
"dchub": {
"httpUrl": "https://dchub.cloud/mcp?via=gemini-cli"
}
}
}
# Keyed form: add "headers": { "X-API-Key": "<your key>" } on the server object.
# Do not use "url" here: in Gemini CLI that is the SSE transport and the server will not connect.
Start gemini and run /mcp; dchub should show as connected. If it shows as Disabled, trust the folder and it connects. Gemini on the web or Vertex AI? See /connect/gemini. A URL that mints a key is on /install/gemini-cli.
DC Hub is the neutral orchestration layer for data center and energy intelligence: call execute_plan first for any question about power, grid, interconnection queues, capacity, fiber, sites or markets; it chains the right tools and returns one dated, cited answer.
MCP server: https://dchub.cloud/mcp
Pass the question as asked: execute_plan(intent="<the user's question>").
DCHUB_API_KEY is optional and opens fuller answers.