Google AI Studio MCP Server
@eternnoir
About Google AI Studio MCP Server
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 comprehensive file format support.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"aistudio": {
"command": "npx",
"args": [
"-y",
"aistudio-mcp-server"
],
"env": {
"GEMINI_API_KEY": "your_api_key_here",
"GEMINI_MODEL": "gemini-2.5-flash",
"GEMINI_TIMEOUT": "600000",
"GEMINI_MAX_OUTPUT_TOKENS": "16384",
"GEMINI_MAX_FILES": "10",
"GEMINI_MAX_TOTAL_FILE_SIZE": "50",
"GEMINI_TEMPERATURE": "0.2"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Google AI Studio MCP Server?
It is a Model Context Protocol (MCP) server that integrates with Google AI Studio and the Gemini API, enabling content generation with support for files, conversation history, and system prompts.
How to use Google AI Studio MCP Server?
Set the GEMINI_API_KEY environment variable, then run the server via npx -y aistudio-mcp-server or install globally and run aistudio-mcp-server. Add it to any MCP client configuration using the provided JSON template.
Key features of Google AI Studio MCP Server
- Integrates with Google AI Studio / Gemini API
- Supports multiple file types (images, PDFs, audio, video, documents)
- Customizable generation parameters (model, temperature, tokens)
- Configurable timeout, file limits, and maximum file size
- System prompts and conversation history support
- PDF to Markdown conversion and image analysis
Use cases of Google AI Studio MCP Server
- Convert PDF documents to structured Markdown
- Analyze images, charts, and screenshots with detailed descriptions
- Transcribe audio files and summarize meetings or interviews
- Compare multiple documents and images in one request
- Generate content with customized system prompts and parameters
FAQ from Google AI Studio MCP Server
What are the prerequisites?
Node.js 20.0.0 or higher and a Google AI Studio API key.
How do I set the API key?
Set the GEMINI_API_KEY environment variable before running the server.
Can I change the Gemini model?
Yes, set the GEMINI_MODEL environment variable (default is gemini-2.5-flash).
What file types are supported?
Images (JPG, PNG, GIF, WebP, etc.), video (MP4, AVI, MOV), audio (MP3, WAV, FLAC), PDFs, and text files (TXT, MD, JSON, XML, CSV, HTML).
What are the file size limits?
Maximum 15MB per audio/video/document file, up to 10 video files per request, and a total request size of 20MB (2GB when using Cloud Storage).
Frequently asked questions
What are the prerequisites?
Node.js 20.0.0 or higher and a Google AI Studio API key.
How do I set the API key?
Set the `GEMINI_API_KEY` environment variable before running the server.
Can I change the Gemini model?
Yes, set the `GEMINI_MODEL` environment variable (default is `gemini-2.5-flash`).
What file types are supported?
Images (JPG, PNG, GIF, WebP, etc.), video (MP4, AVI, MOV), audio (MP3, WAV, FLAC), PDFs, and text files (TXT, MD, JSON, XML, CSV, HTML).
What are the file size limits?
Maximum 15MB per audio/video/document file, up to 10 video files per request, and a total request size of 20MB (2GB when using Cloud Storage).
Basic information
More Media & Design MCP servers
Weather API MCP Server
TuanKiriA lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Spotify MCP Server
marcelmaraisLightweight MCP server for Spotify
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality
Comments