Gemini CLI logo

Gemini CLI

Generally Available

Ferentin registers Gemini CLI as a verified AI agent, enabling secure OAuth-based connections to MCP servers with enterprise identity governance, policy enforcement, and audit logging.

  • Assistant
  • AI Agent
  • CLI
Authentication
OAuth 2.0
Required scopes
4

How Gemini CLI works with Ferentin

  1. 1

    Register Gemini CLI

    Add Gemini CLI as an AI application in the Ferentin admin console.

  2. 2

    Sign in with your identity

    People authorize Gemini CLI with their enterprise identity, over OAuth.

  3. 3

    Every tool call governed

    Ferentin checks each MCP call against your policies and logs it.

What you get

  • MCP client

    Gemini CLI calls MCP servers, so it can reach your tools through Ferentin.

  • OAuth sign-in

    People authorize Gemini CLI with their own identity, using OAuth with PKCE.

  • Dynamic client registration

    Gemini CLI registers itself with Ferentin, so there is no client secret to hand out.

  • Chat

    Ask questions and get answers in a conversation.

  • Terminal agent

    An agent that works in your terminal, running commands and editing files.

Permissions requested

The OAuth 2.0 scopes Gemini CLI asks you to approve when you connect.

ScopeAccess
openidNot rated
profileNot rated
mcpNot rated
offline_accessNot rated

About Gemini CLI

Gemini CLI is Google's open-source AI agent for the terminal. It provides AI-assisted command-line workflows powered by Gemini models, with native MCP client support and dynamic client registration (DCR) capabilities.

Frequently asked about Gemini CLI

How does Gemini CLI work with Ferentin?
Ferentin registers Gemini CLI as an AI application. People sign in with their enterprise identity, and every MCP tool call Gemini CLI makes is checked against your Ferentin policies and logged.
How is Gemini CLI access secured?
Requests through the Gemini CLI integration are covered by OAuth 2.0 authentication, PKCE enforcement and audit logging. These controls are applied by Ferentin, not by Gemini CLI, so they hold across every connected agent.
What permissions does the Gemini CLI integration require?
The Gemini CLI integration requests 4 OAuth 2.0 scopes: openid; profile; mcp; offline_access
How do I connect Gemini CLI to Ferentin?
Open the Ferentin admin console and register Gemini CLI as an AI application. Then point Gemini CLI at your Ferentin MCP endpoint and sign in.
Is the Gemini CLI integration generally available?
Yes. The Gemini CLI integration is generally available on Ferentin, including the free tier.