Connect Gemini CLI
One gemini mcp add command, with an API key or by signing in.
Replace https://panel.example.com/mcp with your panel's MCP address.
API key
Make an API key and put it in your environment as MINIMUS_API_KEY. Then add the server to ~/.gemini/settings.json:
{
"mcpServers": {
"minimus": {
"httpUrl": "https://panel.example.com/mcp",
"headers": { "Authorization": "Bearer ${MINIMUS_API_KEY}" }
}
}
}Gemini CLI reads ${MINIMUS_API_KEY} from the environment when it starts, so the file never holds the key.
Sign in
gemini mcp add --transport http --scope user minimus https://panel.example.com/mcpStart Gemini CLI and type /mcp auth minimus. Your browser opens your panel's sign-in page: sign in, choose the scopes, and approve. Signing in needs a browser on the same computer.
Without --scope user, gemini mcp add saves the server for the current project only, in .gemini/settings.json.
Check it
In Gemini CLI, type /mcp: minimus should be listed with its tools.