MCP.so
登录
G

Google AI Studio MCP Server

@eternnoir

关于 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.

基本信息

分类

媒体与设计

传输方式

stdio

发布者

eternnoir

提交者

FrankWang

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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).

评论

媒体与设计 分类下的更多 MCP 服务器