Skip to main content
Glama
akeelbuilds

Google AI Studio MCP Server

by akeelbuilds

Google AI Studio MCP Server

A universal, open-source Model Context Protocol (MCP) server that exposes the granular features of Google AI Studio (Gemini, Imagen, Veo) directly to your code editors and local LLM clients.

Features

  • Full Model Support: Use any Google AI Studio model (e.g., gemini-1.5-pro, gemini-exp).

  • Granular Imagen Controls: Control Aspect Ratio, Number of Images, Output Format, and Person Generation settings.

  • Veo Video Generation: Built-in support for Veo (requires approved API key).

  • Cross-Editor Compatibility: Works out of the box with VS Code, Cursor, Cloud Code, Claude Desktop, and local Ollama clients.

Related MCP server: NotebookLM MCP Server

Installation

Prerequisites

  • Node.js (v18+)

  • A Google AI Studio API Key

Setup

  1. Clone this repository:

    git clone https://github.com/yourusername/google-ai-studio-mcp.git
    cd google-ai-studio-mcp
  2. Install dependencies:

    npm install
  3. Build the server:

    npm run build
  4. Create a .env file in the root directory and add your API key:

    GEMINI_API_KEY=your_api_key_here

Configuration

Antigravity / Cloud Code

Add a new JSON schema file in your MCP config directory (e.g., ~/.gemini/antigravity/mcp/google-ai-studio/config.json):

{
  "mcpServers": {
    "google-ai-studio": {
      "command": "node",
      "args": ["C:/GitHub/google-ai-studio-mcp/dist/index.js"]
    }
  }
}

Cursor / VS Code

Add to your settings:

{
  "mcp.servers": {
    "google-ai-studio": {
      "command": "node",
      "args": ["/path/to/google-ai-studio-mcp/dist/index.js"]
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "google-ai-studio": {
      "command": "node",
      "args": ["/path/to/google-ai-studio-mcp/dist/index.js"]
    }
  }
}

Tools Exposed

  • googleaistudio_generate_content: Text generation with full parameter support (Temperature, System Instructions).

  • googleaistudio_generate_image: Image generation (Imagen 3) with Aspect Ratio and MIME Type controls.

  • googleaistudio_generate_video: Video generation (Veo).

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akeelbuilds/google-ai-studio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server