Windows-fixed fork of Gemini MCP Tool that hands large files and codebases to Gemini for analysis, for Trae AI and Claude Desktop.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add gemini-tool-windows-fixed --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- npx -y gemini-mcp-tool-windows-fixed@1.0.21~/.codex/config.toml
[mcp_servers.gemini-tool-windows-fixed]
command = "npx"
args = ["-y", "gemini-mcp-tool-windows-fixed@1.0.21"]
env = { GEMINI_API_KEY = "<GEMINI_API_KEY>" }
# codex mcp add gemini-tool-windows-fixed --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- npx -y gemini-mcp-tool-windows-fixed@1.0.21~/.cursor/mcp.json
{
"mcpServers": {
"gemini-tool-windows-fixed": {
"command": "npx",
"args": [
"-y",
"gemini-mcp-tool-windows-fixed@1.0.21"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gemini-tool-windows-fixed": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gemini-mcp-tool-windows-fixed@1.0.21"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gemini-tool-windows-fixed": {
"command": "npx",
"args": [
"-y",
"gemini-mcp-tool-windows-fixed@1.0.21"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gemini-tool-windows-fixed": {
"command": "npx",
"args": [
"-y",
"gemini-mcp-tool-windows-fixed@1.0.21"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"gemini-tool-windows-fixed": {
"command": "npx",
"args": [
"-y",
"gemini-mcp-tool-windows-fixed@1.0.21"
],
"env": {
"GEMINI_API_KEY": "<GEMINI_API_KEY>"
}
}
}
}Environment variables
GEMINI_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.