Installation ​
Multiple ways to install Gemini MCP Tool, depending on your needs.
Prerequisites ​
- Node.js v16.0.0 or higher
- Claude Desktop or Claude Code with MCP support
- Gemini CLI installed (
pip install google-generativeai-cli
)
Method 1: NPX (Recommended) ​
No installation needed - runs directly:
json
{
"mcpServers": {
"gemini-cli": {
"command": "npx",
"args": ["-y", "gemini-mcp-tool"]
}
}
}
Method 2: Global Installation ​
bash
npm install -g gemini-mcp-tool
Then configure:
json
{
"mcpServers": {
"gemini-cli": {
"command": "gemini-mcp"
}
}
}
Method 3: Local Project ​
bash
npm install gemini-mcp-tool
See Getting Started for full setup instructions.