Gemini MCP Server

Gemini CLI

Local serverstdio

What is the Gemini MCP Server?

Gemini CLI

The short version

Gemini CLI is an open-source AI agent that brings the power of Gemini directly into your terminal. It provides lightweight access to Gemini, giving you the most direct path from your prompt to our model.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
GOOGLE_CLOUD_PROJECTConfiguration value read at startup.Optional
GEMINI_API_KEYCredential the server authenticates with.Yes
GOOGLE_API_KEYCredential the server authenticates with.Yes
GOOGLE_GENAI_USE_VERTEXAIConfiguration value read at startup.Optional

Example prompts to try

  • “Use Gemini to Usage.”
  • “Use Gemini to Preview.”
  • “Use Gemini to Stable.”

Frequently asked questions

Gemini CLI Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.