Connect Gemini CLI to Muse
Configure Gemini CLI's HTTP MCP connection to Muse4AI, and check your account's CLI eligibility before following this setup.
Setup guide — not yet testedOn this PC
1Create a Muse4AI key
Open Muse4AI › Settings › API & agent. Turn on the server and create an API key. Copy it now: the full key is shown only once. Keep Muse4AI running.
2Add Muse4AI to the agent
Open
~/.gemini/settings.json. Merge the example into any existing configuration instead of replacing other servers. Replacemsk_YOUR_KEYwith your key, save, and reload the agent's MCP tools.~/.gemini/settings.json { "mcpServers": { "muse4ai": { "httpUrl": "http://127.0.0.1:47821/mcp", "headers": { "Authorization": "Bearer msk_YOUR_KEY" } } } }3Check the connection
Ask the agent: "Use Muse4AI to check status". Allow the
muse_statustool call if prompted. Check that the reply reports Muse4AI status, rather than guessing.