Gemini MCP Server

MIT License
53
  • Apple
  • Linux

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Provides integration with Google's Gemini AI models through Google AI Studio API

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

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

  1. Features
    1. Quick Start
      1. Documentation
        1. Local Development
          1. Contributing
            1. Common Issues
              1. Security
                1. License
                  ID: bq7qhwa4y0