Connect guide · API key (bearer header)
In short: Gemini CLI connects to Cubite with a scoped API key: create the key in Admin, then your site, then Integrations; add a cubite entry under mcpServers in your Gemini settings with httpUrl https://cubite.io/api/mcp/mcp and an Authorization: Bearer header; restart Gemini CLI. The same shape works for any HTTP MCP client that can send a bearer header.
In Cubite Admin, open your site, then Integrations, and create a key with only the scopes you need. The key is shown once; store it in a secret manager.
Put this entry in your Gemini settings file (settings.json in the .gemini folder of your home directory or project).
{
"mcpServers": {
"cubite": {
"httpUrl": "https://cubite.io/api/mcp/mcp",
"headers": {
"Authorization": "Bearer ck_your_key_here"
}
}
}
}jsonRestart Gemini CLI and list the MCP servers; the cubite server and its tools should appear. Ask for something concrete, such as listing courses.
https://cubite.io/api/mcp/mcp (streamable HTTP)Machine-readable copy: gemini.md. Questions: amir@cubite.io or book a walkthrough.
Send us a message and we'll get back to you shortly.