Google AI Studio
Google AI Studio MCP Server - Powerful Gemini API integration for Model Context Protocol with multi-modal file processing, PDF-to-Markdown conversion, image analysis, and audio transcription capabilities. Supports all Gemini 2.5 models with comprehen
What is Google AI Studio?
Google AI Studio is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to google ai studio mcp server - powerful gemini api integration for model context protocol with multi-modal file processing, pdf-to-markdown conversion, image analysis, and audio transcription capabilit...
Google AI Studio MCP Server - Powerful Gemini API integration for Model Context Protocol with multi-modal file processing, PDF-to-Markdown conversion, image analysis, and audio transcription capabilities. Supports all Gemini 2.5 models with comprehen
This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Google AI Studio MCP Server - Powerful Gemini API integratio
Use Cases
Maintainer
Works with
Installation
NPM
npx -y aistudio-mcp-serverManual Installation
npx -y aistudio-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Google AI Studio
AI Studio MCP Server brings Google's Gemini API directly into your MCP-compatible AI assistant, exposing a powerful generate_content tool that supports multi-modal inputs including images, PDFs, audio files, and video. It supports all Gemini 2.5 models and is particularly useful for tasks like PDF-to-Markdown conversion, image analysis, audio transcription with speaker identification, and any generation task that benefits from Gemini's long context window and native file understanding capabilities.
Prerequisites
- Node.js 18+ installed for running npx
- A Google AI Studio API key (get one free at https://aistudio.google.com/app/apikey)
- GEMINI_API_KEY environment variable set to your API key
- An MCP-compatible client such as Claude Desktop, Cursor, or VS Code
Obtain a Gemini API key
Visit Google AI Studio at https://aistudio.google.com/app/apikey and create a free API key. Copy the key — you will need it in the next step.
Test the server locally
Run the server directly with npx to confirm it starts correctly with your API key before adding it to your client config.
GEMINI_API_KEY=your_api_key npx -y aistudio-mcp-serverAdd the server to your MCP client config
Add the aistudio-mcp-server to your Claude Desktop or other MCP client configuration, setting GEMINI_API_KEY and optionally GEMINI_MODEL to choose a specific Gemini model.
{
"mcpServers": {
"ai-studio": {
"command": "npx",
"args": ["-y", "aistudio-mcp-server"],
"env": {
"GEMINI_API_KEY": "your_api_key_here",
"GEMINI_MODEL": "gemini-2.5-flash"
}
}
}
}Restart your MCP client
Restart Claude Desktop or your chosen MCP client to load the new server configuration. The generate_content tool should appear in the available tools list.
Adjust model and limits if needed
Optionally tune performance with environment variables: set GEMINI_TEMPERATURE (0-2, default 0.2), GEMINI_MAX_OUTPUT_TOKENS (default 8192), GEMINI_MAX_FILES (default 10), and GEMINI_TIMEOUT in milliseconds (default 300000).
Google AI Studio Examples
Client configuration
Claude Desktop configuration for the AI Studio MCP server with Gemini 2.5 Flash and custom temperature.
{
"mcpServers": {
"ai-studio": {
"command": "npx",
"args": ["-y", "aistudio-mcp-server"],
"env": {
"GEMINI_API_KEY": "your_api_key_here",
"GEMINI_MODEL": "gemini-2.5-flash",
"GEMINI_TEMPERATURE": "0.2",
"GEMINI_MAX_OUTPUT_TOKENS": "8192"
}
}
}
}Prompts to try
Example prompts to use Gemini's multi-modal capabilities via the generate_content tool.
- "Use Gemini to convert this PDF to Markdown: /path/to/document.pdf"
- "Analyze this image and describe what you see: /path/to/photo.jpg"
- "Transcribe this audio file and identify the speakers: /path/to/meeting.mp3"
- "Summarize the key points from this video: /path/to/presentation.mp4"
- "Extract all tables from this PDF and format them as JSON"Troubleshooting Google AI Studio
Error: GEMINI_API_KEY is not set or invalid
Ensure the GEMINI_API_KEY environment variable is set in the mcpServers env block of your config. The key should start with 'AIza'. Get a free key at https://aistudio.google.com/app/apikey.
File processing fails or times out
Large files may exceed the default 300-second timeout. Increase GEMINI_TIMEOUT (in milliseconds) in your env config. Also check that GEMINI_MAX_FILES (default 10) and GEMINI_MAX_TOTAL_FILE_SIZE (default 50MB) limits are not exceeded.
generate_content returns truncated output
Increase GEMINI_MAX_OUTPUT_TOKENS beyond the default 8192 to allow longer responses. For very long documents, consider processing in sections.
Frequently Asked Questions about Google AI Studio
What is Google AI Studio?
Google AI Studio is a Model Context Protocol (MCP) server that google ai studio mcp server - powerful gemini api integration for model context protocol with multi-modal file processing, pdf-to-markdown conversion, image analysis, and audio transcription capabilities. supports all gemini 2.5 models with comprehen It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Google AI Studio?
Install via npm with the command: npx -y aistudio-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Google AI Studio?
Google AI Studio works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Google AI Studio free to use?
Yes, Google AI Studio is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Google AI Studio Alternatives — Similar Cloud Services Servers
Looking for alternatives to Google AI Studio? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Browse More Cloud Services MCP Servers
Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Google AI Studio in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Google AI Studio?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.