Gemini Pro

Provides Gemini Pro integration via MCP to Claude Desktop for text generation and image analysis.
  • javascript

0

GitHub Stars

javascript

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "lutic1-google-mcp-server-": {
      "command": "node",
      "args": [
        "/Users/luis_ticas/Documents/gemini-mcp-server/dist/index.js"
      ],
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key-here"
      }
    }
  }
}

You can bridge Gemini Pro API with Claude Desktop by running a dedicated MCP server locally. This server enables Gemini Pro to generate text and analyze images through Claude Desktop, streamlining your workflows and keeping API interactions centralized in your MCP setup.

How to use

After you set up the MCP server, you can connect Claude Desktop to it as a local, stdio-based MCP server. Use the available commands to perform Gemini Pro actions: generate text on a topic and analyze an image. Start by ensuring the server is running and Claude Desktop is configured to point to the local MCP. Once connected, you can issue tasks like generating text or analyzing images using Gemini Pro through Claude Desktop.

How to install

Prerequisites: you need Node.js and npm installed on your system. You will also configure Claude Desktop to load the MCP server. Follow these steps in order.

  1. Install dependencies
npm install
  1. Get your Gemini API key
  • Obtain your Gemini API key from the Gemini Pro provider portal and keep it accessible for environment configuration.
  1. Set up environment variable
export GEMINI_API_KEY="your-api-key-here"
  1. Build the project
npm run build
  1. Configure Claude Desktop

Edit your Claude Desktop config to include the Gemini Pro MCP server. Use the following snippet exactly as shown:

{
  "mcpServers": {
    "gemini-pro": {
      "command": "node",
      "args": ["/Users/luis_ticas/Documents/gemini-mcp-server/dist/index.js"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key-here"
      }
    }
  }
}
  1. Restart Claude Desktop

Additional setup notes

  • The MCP server exposes Gemini Pro capabilities to Claude Desktop through a local stdio interface. The server you configured runs the main entry script from the built distribution.

Security and maintenance

  • Keep your Gemini API key secret and do not commit it to version control. Store secrets in secure environment management tools when possible. - Regularly rebuild when dependencies or the Gemini Pro API evolve, and restart Claude Desktop after any change to the MCP configuration.

Troubleshooting

  • If Claude Desktop cannot connect, verify that the MCP server process starts without errors and that the path to dist/index.js exists after the build step. - Ensure GEMINI_API_KEY is correctly set in the environment and that Claude Desktop is reading the updated config. - Check that the JSON config remains valid JSON and that the server name gemini-pro is correctly referenced in Claude Desktop.

Available tools

generate_text

Generate text using Gemini Pro. This tool calls Gemini Pro to produce text content based on a provided topic or prompt.

analyze_image

Analyze an image using Gemini Pro Vision. This tool processes an image and returns analytic results or descriptions.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational