Genai MCP Server

[![NPM Downloads](https://img.shields.io/npm/dw/%40google%2Fgenai)](https://www.npmjs.com/package/@google/genai) [![Node

Remote serverstreamable-httpTypeScript

What is the Genai MCP Server?

NPM Downloads [![Node

What the server does

The Google Gen AI SDK is designed to work with Gemini 2.0+ features.

Credentials and setup notes

  1. Node.js version 20 or later

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 Genai MCP Server

{
  "mcpServers": {
    "genai": {
      "command": "npx",
      "args": ["-y", "@google/genai"],
      "env": {
        "GOOGLE_API_KEY": "your-value",
        "GOOGLE_GENAI_USE_ENTERPRISE": "your-value",
        "GOOGLE_CLOUD_PROJECT": "your-value",
        "GOOGLE_CLOUD_LOCATION": "your-value",
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  1. Node.js version 20 or later
VariableDescriptionRequired
GOOGLE_API_KEYCredential the server authenticates with.Yes
GOOGLE_GENAI_USE_ENTERPRISEConfiguration value read at startup.Optional
GOOGLE_CLOUD_PROJECTConfiguration value read at startup.Optional
GOOGLE_CLOUD_LOCATIONConfiguration value read at startup.Optional
GEMINI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Genai to Browser.”
  • “Use Genai to Streaming.”
  • “Use Genai to Content.”

Frequently asked questions

[![NPM Downloads](https://img.shields.io/npm/dw/%40google%2Fgenai)](https://www.npmjs.com/package/@google/genai) [![Node Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.