- Home
- MCP servers
- Gemini
Gemini
- typescript
12
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 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": {
"georgejeffers-gemini-mcp-server": {
"command": "node",
"args": [
"dist/gemini_mcp_server.js"
],
"env": {
"GEMINI_API_KEY": "YOUR_API_KEY"
}
}
}
}You can run a Gemini-based MCP server that exposes the Gemini Pro model to your MCP clients, including Claude Desktop. This server lets you process prompts through Gemini and return structured results to your client apps, enabling seamless integration of Gemini’s capabilities into your workflows.
How to use
You will run the MCP server locally or remotely and connect your MCP client to it. Start the server with Node, then point your client to the local process. The server accepts requests from your client, runs Gemini against your prompts, and returns model outputs. You can use it to generate text, analyze prompts, and handle long-running interactions by leveraging Gemini Pro through a stable MCP interface.
How to install
Prerequisites you need before installation include Node.js 18 or higher, a Google Gemini API key, TypeScript tooling, and a Claude Desktop app if you plan to integrate with Claude.
# Prerequisites
node -v
# Install dependencies
npm install
# Build the project
npm run build
Additional setup and notes
If you plan to run and connect via Claude Desktop, you will configure Claude to launch the MCP server as a local stdio process and supply your Gemini API key through an environment variable.
{
"name": "gemini",
"command": "node",
"args": ["dist/gemini_mcp_server.js"],
"env": {
"GEMINI_API_KEY": "your_api_key_here"
},
"cwd": "/path/to/mcp-gemini-server"
}
Security and maintenance
Keep your Gemini API key secure. Do not commit keys to source control. Rotate keys periodically and restrict access to the MCP server only to trusted clients.
Available tools
generate_text
Generates text using the Gemini MCP server, exposing the server-side Gemini model to clients.