MCP.so
登录

Gemini MCP Server

@MCP-Mirror

基本信息

分类

AI 与智能体

传输方式

stdio

作者

MCP-Mirror

关于 Gemini MCP Server

Mirror of

Gemini MCP Server 配置

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

{
  "mcpServers": {
    "gemini": {
      "command": "npx",
      "args": [
        "-y",
        "github:aliargun/mcp-server-gemini"
      ],
      "env": {
        "GEMINI_API_KEY": "your_api_key_here"
      }
    }
  }
}

Gemini MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Gemini MCP Server?

Gemini MCP Server is a Model Context Protocol (MCP) server that enables Claude Desktop to interact with Google's Gemini AI models. It provides full MCP protocol support with real‑time response streaming and secure API key handling.

How to use Gemini MCP Server?

Obtain a Gemini API key from Google AI Studio, then configure Claude Desktop by adding the server to claude_desktop_config.json (location varies by OS) with the command npx -y github:aliargun/mcp-server-gemini and the environment variable GEMINI_API_KEY. Restart Claude Desktop to start using it. For local development, clone the repository, run npm install, and start with npm run dev.

Key features of Gemini MCP Server

  • Full MCP protocol support
  • Real‑time response streaming
  • Secure API key handling via environment variables
  • Configurable model parameters
  • TypeScript implementation
  • Available as an npx one‑line command

Use cases of Gemini MCP Server

  • Use Google Gemini AI models directly inside Claude Desktop
  • Stream real‑time responses from Gemini for conversational tasks
  • Develop and test MCP server integrations locally
  • Securely manage API keys without exposing them in config files

常见问题

1

How do I get a Gemini API key?

Visit Google AI Studio (makersuite.google.com/app/apikey) and create a new API key.

2

Where is the Claude Desktop configuration file?

On macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`. On Windows: `%APPDATA%\Claude\claude_desktop_config.json`. On Linux: `~/.config/Claude/claude_desktop_config.json`.

3

What should I do if I encounter connection issues?

Check that port 3005 is available, verify your internet connection, and consult the Troubleshooting Guide in the repository.

4

How does the server handle API keys?

API keys are passed exclusively through the `GEMINI_API_KEY` environment variable; no sensitive data is logged or stored.

5

What runtime requirements does the server have?

It requires Node.js and npm/npx. The server is written in TypeScript and runs with the provided npx command or after local `npm install`.

评论

AI 与智能体 分类下的更多 MCP 服务器