Google AI Studio MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google AI Studio MCP ServerGenerate an image of a serene lake at sunset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Clone this repository:
git clone https://github.com/yourusername/google-ai-studio-mcp.git cd google-ai-studio-mcpInstall dependencies:
npm installBuild the server:
npm run buildCreate a
.envfile 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).
This server cannot be installed
Maintenance
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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