Connect Gemini CLI
Point Gemini CLI at Harbor's MCP server.
Gemini CLI speaks Model Context Protocol (MCP) over streamable HTTP. Pointing it at Harbor takes one config block.
You need to be logged in to Harbor first — see Sign up & install hrbr.
Paste the Harbor block
{
"mcpServers": {
"harbor": { "url": "https://mcp.tryharbor.ai/mcp" }
}
}If you already have other MCP servers configured, add the harbor entry
next to them under the same mcpServers object.
Restart Gemini CLI
The first time you invoke a Harbor tool from inside Gemini CLI, your browser
opens for OAuth 2.1 + PKCE. Consent, return to the editor, and the agent
now has inspect + exec against your workspace.
Tool budget
Gemini CLI sees only two tools from Harbor — inspect and exec. It doesn't
matter how many plugins your workspace has (5 or 500), the visible tool
budget stays the same. See
For Agents → Connecting for the
pattern.