Gemini MCP Server

State-of-the-art MCP server for Google Gemini API with all latest features

Local serverstdioTypeScript

What is the Gemini MCP Server?

State-of-the-art MCP server for Google Gemini API with all latest features

What it actually does

A powerful MCP (Model Context Protocol) server that brings Google's latest Gemini AI models to your favorite development environment. Access Gemini 2.5's thinking capabilities, vision analysis, embeddings, and more through a seamless integration.

  • 6 Powerful Tools — Text generation, image analysis, token counting, model listing, embeddings, and self-documenting help
  • Latest Gemini Models — Support for Gemini 2.5 series with thinking capabilities
  • Advanced Features — JSON mode, Google Search grounding, system instructions, conversation memory
  • Full MCP Protocol — Standard stdio communication for seamless integration with any MCP client
  • Self-Documenting — Built-in help system - no external docs needed
  • TypeScript & ESM — Modern, type-safe implementation

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.

How to install the Gemini MCP Server

{
  "mcpServers": {
    "gemini": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "github:aliargun/mcp-server-gemini"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GEMINI_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

State-of-the-art MCP server for Google Gemini API with all latest features Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.