Skip to main content
Glama

Gemini MCP Server

by aliargun

Gemini MCP 服务器

模型上下文协议 (MCP) 服务器实现,使 Claude Desktop 能够与 Google 的 Gemini AI 模型进行交互。

特征

  • 全面支持 MCP 协议
  • 实时响应流
  • 安全 API 密钥处理
  • 可配置模型参数
  • TypeScript 实现

快速入门

  1. 获取 Gemini API 密钥
  2. 配置 Claude 桌面
    • 找到您的配置文件:
      Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json
    • 添加 Gemini 配置:
      { "mcpServers": { "gemini": { "command": "npx", "args": ["-y", "github:aliargun/mcp-server-gemini"], "env": { "GEMINI_API_KEY": "your_api_key_here" } } } }
  3. 重启Claude桌面

文档

本地开发

# Clone repository git clone https://github.com/aliargun/mcp-server-gemini.git cd mcp-server-gemini # Install dependencies npm install # Start development server npm run dev

贡献

欢迎贡献!请参阅我们的贡献指南

常见问题

  1. 连接问题
  2. API 密钥问题

安全

  • API 密钥仅通过环境变量处理
  • 没有记录或存储任何敏感数据
  • 定期安全更新

执照

麻省理工学院

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

模型上下文协议 (MCP) 服务器实现,使 Claude Desktop 能够与 Google 的 Gemini AI 模型进行交互。

  1. 特征
    1. 快速入门
      1. 文档
        1. 本地开发
          1. 贡献
            1. 常见问题
              1. 安全
                1. 执照

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A server that enables Claude Desktop to generate images using Google's Gemini AI models through the Model Context Protocol (MCP).
                    Last updated -
                    7
                    12
                    JavaScript
                    MIT License
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables Claude Desktop to interact with Google's Gemini 2.5 Pro Experimental AI model, with features like Google Search integration and token usage reporting.
                    Last updated -
                    3
                    JavaScript
                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that enables other AI models (like Claude) to use Google's Gemini models as tools for specific tasks through a standardized interface.
                    Last updated -
                    1
                    TypeScript
                    MIT License
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol (MCP) server implementation for the Google Gemini language model. This server allows Claude Desktop users to access the powerful reasoning capabilities of Gemini-2.0-flash-thinking-exp-01-21 model.
                    Last updated -
                    1
                    JavaScript
                    MIT License

                  View all related MCP servers

                  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/aliargun/mcp-server-gemini'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server