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

                  • -
                    security
                    -
                    license
                    -
                    quality
                    An MCP server implementation that allows using Google's Gemini AI models (specifically Gemini 1.5 Pro) through Claude or other MCP clients via the Model Context Protocol.
                    Last updated -
                    1
                    JavaScript
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A dedicated server that wraps Google's Gemini AI models in a Model Context Protocol (MCP) interface, allowing other LLMs and MCP-compatible systems to access Gemini's capabilities like content generation, function calling, chat, and file handling through standardized tools.
                    Last updated -
                    16
                    20
                    TypeScript
                    MIT License
                    • Linux
                    • Apple
                  • -
                    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

                  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