
xhzjme/gemini-mcp-xhzj
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
Gemini MCP can be used with your own account, with 1,000 free calls per day, compatible with Windsurf AI IDE, and based on Laojin's Claudecode-Codex-Gemini secondary development.
Overview
🚀 Let the Windsurf AI IDE call Google Gemini for 1,000 free daily quotas! Add me as a friend and follow me - 🆓 : Use your own Google account, 1000 free calls per day - 🔄 : When your quota runs out, you can switch to other Google accounts with one click - 🛡️ : Built-in Clash proxy configuration (port 7890) - 📝 : Supports multi-turn conversation context - 🖥️ : Provides Chinese management tools If your proxy port is not 7890, you need to modify the port number in mcp-config.json. Click the green Code button at the top right of the page → Download ZIP → extract to any directory 1. Make sure the proxy is enabled (such as Clash). 2. Double-click to run Gemini-MCP-XHZJ.bat. 3. Enter 2 and select 'Login Authentication'. 4. In the pop-up screen, use the arrow keys to select Login with Google, then press Enter 5. The browser will open automatically, completing your Google account login. 6. After successful login, the terminal will display that the authentication was successful 1. Open the Windsurf AI IDE 2. Press Ctrl + Shift + P to open the command panel 3. Enter Open MCP Config and select 4. In the opened configuration file, add the following: ⚠️ Note: Replace your project path with a real path; Windows paths use double backslash \ Once configurations are complete, Windsurf's AI assistant (Cascade) can call Gemini to: - code review - technical Q&A - UI/UX design suggestions
Overview (machine translated)
🚀 Let the Windsurf AI IDE call Google Gemini for 1,000 free daily quotas!
**Gemini MCP service specifically adapted for Windsurf AI IDE. **
👋 Exchange and Learning
Add me as a friend
Welcome to follow us
✨ Functional Features
- 🆓 Free to use: Use your own Google account for 1,000 free calls per day
- 🔄 Multiple Account Switching: Once your quota is used up, you can switch to other Google accounts with one click
- 🛡️ Proxy Support: Built-in Clash proxy configuration (port 7890)
- 📝 Session Hold: Supports multi-turn conversational context
- 🖥️ Windows Friendly: Provides Chinese-language management tools
📁 Project Structure
Document Description
| Document | Function |
|---|---|
Gemini-MCP-XHZJ.bat |
Windows Management Tools: Double-click Run to check status, log in, and switch accounts |
mcp-config.json |
Proxy and Gemini CLI configuration parameters |
windsurf_mcp_config.json |
Windsurf MCP configuration example, copy to the Windsurf configuration directory |
mcp-servers/gemini-server/index.js |
MCP service core, encapsulating Gemini CLI as the MCP protocol |
🔧 Installation Steps
Step 1: Install pre-dependencies
1. Install Node.js
Download and install Node.js (LTS version recommended)
Verification Installation:
2. Install Gemini CLI
Open Command Prompt (CMD) or PowerShell and run:
Verification Installation:
3. Prepare proxy tools
You need to access Google’s proxy tools (such as Clash), with the default port 7890.
If your proxy port is not 7890, you need to modify the port number in mcp-config.json.
Step Two: Download this project
Method 1: Git Clone
Method 2: Download Directly
Click the green Code button at the top right of the page → Download ZIP → extract to any directory
Step 3: Log in to your Google account
- Make sure the proxy is enabled (such as Clash)
- Double-click to run
Gemini-MCP-XHZJ.bat - Enter
2and select ‘Login Authentication’ - In the pop-up interface, use the arrow keys to select
Login with Googleand press Enter - The browser will open automatically to complete your Google account login
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"Gemini-MCP-XHZJ": {
"command": "node",
"args": [
"你的项目路径\\mcp-servers\\gemini-server\\index.js"
],
"env": {
"HTTP_PROXY": "http://127.0.0.1:7890",
"HTTPS_PROXY": "http://127.0.0.1:7890",
"GEMINI_IDE_INTEGRATION": "false",
"BROWSER": "echo",
"GEMINI_CLI_SUPPRESS_BROWSER": "true"
}
}
}
}