AI Studio MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_MODEL | No | Gemini model to use | gemini-2.5-flash |
| GEMINI_API_KEY | Yes | Your Google AI Studio API key | |
| GEMINI_TIMEOUT | No | Request timeout in milliseconds (default: 300000 = 5 minutes) | 300000 |
| GEMINI_MAX_FILES | No | Maximum number of files per request | 10 |
| GEMINI_TEMPERATURE | No | Temperature for generation (0-2). Lower values produce more focused responses, higher values more creative ones | 0.2 |
| GEMINI_MAX_OUTPUT_TOKENS | No | Maximum output tokens | 8192 |
| GEMINI_MAX_TOTAL_FILE_SIZE | No | Maximum total file size in MB | 50 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_contentA | Generate content using Gemini with optional file inputs, code execution, and Google search. Supports multiple files: images (JPG, PNG, GIF, WebP, SVG, BMP, TIFF), video (MP4, AVI, MOV, WebM, FLV, MPG, WMV), audio (MP3, WAV, AIFF, AAC, OGG, FLAC), documents (PDF), and text files (TXT, MD, JSON, XML, CSV, HTML). MIME type is auto-detected from file extension. Example usage: PDF to Markdown conversion: With Google Search: With Code Execution: Combining features with thinking mode: |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/eternnoir/aistudio-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server