About gemini-mcp-server
gemini-mcp-server is a TypeScript MCP server for using Google's Gemini Pro model through the `generate_text` tool. It is intended for users connecting Gemini to an MCP client such as Claude Desktop.
Key features
- 01Provides a `generate_text` tool
- 02Connects to Google's Gemini Pro model
- 03Implemented in TypeScript
Use cases
- 01Request text generation from Claude Desktop
- 02Make Gemini Pro available through an MCP client
MCP support
Exposes the `generate_text` tool to MCP clients for interacting with Google's Gemini Pro model.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEgemini-mcp-server
A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with Google's Gemini Pro model.
MCP Tools
generate_text
From server: gemini
Prerequisites
- Node.js 18 or higher
- Google Gemini API key
- TypeScript
- Claude Desktop app
Installation
Installing via Smithery
To install Gemini MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @georgejeffers/gemini-mcp-server --client claude
Manual Installation
- Clone the repository:
git clone https://github.com/GeorgeJeffers/gemini-mcp-server.git
cd gemini-mcp-server
- Install dependencies:
npm install
- Build:
npm run build
Claude Desktop Integration
To use this server with Claude Desktop:
- Open Claude Desktop
- Go to Settings > Developer
- Click "Edit Config"
- Add the following configuration:
{
"name": "gemini",
"command": "node",
"args": ["dist/gemini_mcp_server.js"],
"env": {
"GEMINI_API_KEY": "your_api_key_here"
},
"cwd": "/path/to/mcp-gemini-server"
}
Replace:
/path/to/mcp-gemini-serverwith the absolute path to where you cloned this repositoryyour_api_key_herewith your actual Google Gemini API key
The server will now be available in Claude Desktop's MCP server list.
License
MIT
Author
GeorgeJeffers
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.