Gemini MCP Bridge
Allows interaction with Google's Gemini web chat interface, providing real-time streaming of thinking and responses, conversation history management, new chat creation, and status/proxy controls.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gemini MCP BridgeAsk Gemini to write a Python function for binary search and stream its reasoning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gemini MCP Bridge
A Model Context Protocol (MCP) server that bridges to Gemini's web chat interface, providing real-time streaming of both the thinking process and responses. Features advanced stealth capabilities, proxy rotation, fingerprint evasion, and session persistence.
Features
Real-time Streaming: Capture Gemini's thinking process and response tokens as they generate
Stealth Browser: Advanced fingerprint evasion using Playwright with stealth plugins
Proxy Rotation: Automatic proxy health checks and rotation with multiple source support
Session Persistence: Cookies, localStorage, and sessionStorage saved/restored across runs
Fingerprint Randomization: Canvas, WebGL, audio, fonts, and navigator spoofing
MCP Protocol: Full MCP server with tools, resources, and prompts
No API Key Required: Uses web interface automation (respects ToS)
Related MCP server: EyeBrowse
Installation
cd /content/gemini_mcp
pip install -e ".[dev]"
playwright install chromiumConfiguration
Edit config/settings.yaml to customize:
Browser settings (headless, stealth, args)
Fingerprint randomization
Proxy sources and rotation
Gemini selectors and timeouts
Session persistence
MCP server settings
Usage
As MCP Server (stdio)
# Run directly
python -m gemini_mcp
# Or use the entry point
./gemini-mcpWith Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"gemini-bridge": {
"command": "python",
"args": ["-m", "gemini_mcp"],
"cwd": "/content/gemini_mcp"
}
}
}Available Tools
Tool | Description |
| Send message, stream thinking + response |
| Stream only thinking process |
| Get conversation history |
| Start new conversation |
| Check connection status |
| Rotate to new proxy |
Available Resources
URI | Description |
| Current session state |
| Full conversation history |
| Currently streaming message |
| Active configuration |
Available Prompts
Prompt | Description |
| General chat with topic/persona |
| Content analysis |
| Code generation/review |
Architecture
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ MCP Client │────▶│ MCP Server │────▶│ Browser Manager│
│ (Claude, etc.) │ │ (gemini_mcp) │ │ (Playwright) │
└─────────────────┘ └──────────────────┘ └────────┬────────┘
│
┌─────────────────────────────────┘
▼
┌──────────────────┐ ┌──────────────────┐
│ Stealth Layer │ │ Proxy Manager │
│ (Fingerprint, │ │ (Rotation, │
│ WebGL, Canvas, │ │ Health Check) │
│ Audio, Fonts) │ └──────────────────┘
└──────────────────┘
│
▼
┌──────────────────┐
│ Gemini Chat │
│ Controller │
│ (Streaming, │
│ Thinking, │
│ Recovery) │
└──────────────────┘Proxy Configuration
Add proxies to proxies.txt:
http://user:pass@host:port
socks5://host:port
host:portOr configure API sources in config/settings.yaml:
proxy:
sources:
- type: "api"
url: "https://your-proxy-api.com/getproxies"Session Persistence
Sessions are saved to ./session/:
cookies.json- Browser cookieslocal_storage.json- localStorage datastate.json- Full session state
Logging
Logs written to ./logs/gemini_mcp.log with rotation.
Troubleshooting
Chat not loading
Check selectors in
config/settings.yamlmatch current Gemini UIIncrease timeouts if on slow connection
Try disabling headless mode to debug
Proxy issues
Verify proxies in
proxies.txtare workingCheck proxy authentication format
Disable proxy in config if not needed
Detection issues
Enable all stealth features in config
Use residential proxies for better results
Rotate user agents and fingerprints
Legal Notice
This tool automates a web interface. Use responsibly and in accordance with Google's Terms of Service. The authors are not responsible for any misuse.
License
MIT License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Scrape, crawl and search the web for AI agents via MCP.
A paid remote MCP for AI agent browser MCP session, built to return verdicts, receipts, usage logs,
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server to control Gemini web interface via CDP for AI image generation, chat, and image extraction.831MIT
- AlicenseBqualityAmaintenanceEnables LLMs to drive a stealthy, fingerprint-spoofed Firefox browser via MCP tools, supporting navigation, interaction, extraction, and multi-session management.841MIT
- AlicenseBqualityCmaintenanceProvides undetectable browser automation for LLM agents via MCP, enabling real Chrome interaction with stealth features, DOM accessibility, and DevTools integration.983MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates Google's Gemini API with MCP-compatible clients for chat, real-time web search, knowledge queries, code/text analysis, and content generation.70MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mn3-99/multi-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server