WebCore-MCP
Provides direct Google Search capabilities, extracting organic results, snippets, and AI Overviews.
Enables interacting with Google Gemini in fresh chat sessions and generating images via Imagen.
Enables interacting with ChatGPT through OpenAI's web interface, including web search and DALL-E 3 image generation.
Click on "Deploy 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., "@WebCore-MCPask ChatGPT to write a haiku about autumn"
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.
Browser-Based Multi-Provider MCP Server (Chrome + Selenium + FastMCP)
A local FastMCP server that controls an authenticated Google Chrome browser via remote debugging (127.0.0.1:9222). It provides seamless Model Context Protocol (MCP) tools for Google Search, Google Gemini, ChatGPT (with Web Search & DALL-E 3), Claude, and DeepSeek (with Web Search & DeepThink) without requiring paid API keys for each provider.
๐ง How It Works
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MCP Client / AI Agent / test.py โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ (SSE on :8000 or stdio)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FastMCP Server (server.py) โ
โ - 11 Exposed Tools โ
โ - Async Concurrency Lock (Sequential Tab Safety) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Selenium WebDriver + CDP
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Google Chrome (Headless Auto-Launch) โ
โ - Remote Debugging: 127.0.0.1:9222 โ
โ - Persistent Profile: C:\mcp-browser-profile โ
โ - Stealth Flags (No 'HeadlessChrome' User-Agent) โ
โ - Auto-CAPTCHA Solver Extension (NopeCHA) โ
โโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโค
โ โ โ โ โ
โผ โผ โผ โผ โผ
Google Search Gemini Web ChatGPT Web Claude Web DeepSeek WebAuto-Launched Headless Browser: When you start
server.py, it automatically launches Chrome in the background with--headless=new, a realistic desktop User-Agent, and--disable-blink-features=AutomationControlled. You don't need to manually start Chrome!Session & Cookie Persistence: Chrome uses a dedicated, persistent user profile directory (
C:\mcp-browser-profile). Once you log into your accounts, you stay logged in indefinitely.No Context Contamination: Each request opens a clean chat session (
new_chat()) to prevent credit bleed and context cross-talk.Cloudflare & Anti-Bot Defense: Chrome DevTools Protocol (CDP) overrides mask
navigator.webdriver. The installed NopeCHA extension automatically handles Cloudflare Turnstile challenges in the background.Direct Image Pipeline: Image generation requests (Gemini Imagen diffusion or ChatGPT DALL-E 3) track render progress and extract full-resolution PNGs directly into
data/outputs/.
Related MCP server: browser-relay
๐ ๏ธ First-Time Setup (One-Time Only)
Before running the server headlessly, you need to log into your accounts once in a visible browser window and install the CAPTCHA-solving extension.
Step 1: Install Python Dependencies
Open your terminal (in your Anaconda or virtual environment):
pip install -r requirements.txtStep 2: Open Chrome in Headed Mode
Run the provided batch file:
start_chrome.bat(This launches Chrome with the persistent profile at C:\mcp-browser-profile and opens port 9222).
Step 3: Log In to All 4 Services
In the Chrome browser window that just opened, navigate to and log in to each service:
Google Gemini: https://gemini.google.com/app
ChatGPT: https://chatgpt.com/
Claude: https://claude.ai/
DeepSeek: https://chat.deepseek.com/
Make sure you can see the main chat interface on each website and that "Remember Me" / persistent login is enabled.
Step 4: Install and Configure NopeCHA (Auto-CAPTCHA Solver)
To solve Cloudflare Turnstile and security challenges automatically:
In the same Chrome window, visit the Chrome Web Store: NopeCHA: CAPTCHA Solver Extension
Click Add to Chrome.
Once installed, click the NopeCHA puzzle icon in your browser toolbar:
Add your NopeCHA API key (free tiers are available at nopecha.com).
Ensure Cloudflare Turnstile / challenge auto-solving is toggled ON.
(Optional): You can also install Buster: Captcha Solver for Humans as an extra fallback.
Step 5: Close the Chrome Window
Close the Chrome window completely. All your logins, cookies, and installed extensions are now permanently saved in C:\mcp-browser-profile.
๐ Running the MCP Server
Option A: Server-Sent Events (SSE) Mode (Default)
Run:
python server.pyChrome is automatically launched headlessly on port
9222.FastMCP exposes the SSE server at
http://127.0.0.1:8000/sse.
Option B: Stdio Mode (For Desktop AI Clients)
To integrate directly with Claude Desktop, Cursor, or Antigravity IDE:
python server.py --stdioClaude Desktop Configuration (claude_desktop_config.json):
{
"mcpServers": {
"browser-agent": {
"command": "python",
"args": ["C:\\Users\\CT_USER\\Desktop\\BrowserApi\\server.py", "--stdio"]
}
}
}๐งช Testing with test.py
You can test any provider, web search, or image generation directly from the command line using test.py:
1. Check Server & Provider Health
Verify that Chrome is running and all 4 providers are authenticated:
python test.py2. Chat with Any Provider
# Google Gemini
python test.py --provider=gemini "What is the speed of light?"
# OpenAI ChatGPT
python test.py --provider=chatgpt "Explain quantum computing in simple terms."
# Anthropic Claude
python test.py --provider=claude "Write a haiku about the moon."
# DeepSeek
python test.py --provider=deepseek "Write a Python binary search function."3. Live Web Search (Google, ChatGPT & DeepSeek)
Search the live web with synthesized responses and source citations:
# Direct Google Search (ultra-fast, extracted organic results + AI Overview):
python test.py --google "Latest stock market trend and AI news"
# Search via search_web (defaults to Google Search):
python test.py --search "NVIDIA stock performance today"
# Search via ChatGPT Web Search:
python test.py --provider=chatgpt --search "What is today's date and current market trend?"
# Search via DeepSeek Web Search:
python test.py --provider=deepseek --search "Artificial intelligence breakthroughs"4. Image Generation (Gemini & ChatGPT)
Images are generated, downloaded, and saved to data/outputs/ as full-resolution PNG files:
# Generate image via Google Gemini Imagen diffusion:
python test.py --image "A futuristic cyberpunk sports car speeding through a glowing neon city"
# Generate image via ChatGPT DALL-E 3:
python test.py --provider=chatgpt --image "A vintage steam locomotive crossing a bridge in a snowstorm"๐งฐ Available MCP Tools Reference
Tool Name | Parameters | Description |
| None | Checks server status, Chrome port 9222, and login status across Gemini, ChatGPT, Claude, DeepSeek, and Google. |
|
| Direct Google Web Search; extracts organic results (titles, links, snippets) and AI Overviews. |
|
| Unified web search router ( |
|
| Starts a new chat session with Google Gemini. Automatically detects image requests. |
|
| Generates an image using Gemini Imagen diffusion and downloads high-res PNG to |
|
| Queries ChatGPT ( |
|
| Searches the web using ChatGPT's built-in search engine; returns synthesized answer with citations. |
|
| Generates an image via ChatGPT DALL-E 3 and saves it to |
|
| Queries Claude (Anthropic) in a fresh session with TipTap/ProseMirror automation. |
|
| Queries DeepSeek with optional Web Search or DeepThink reasoning mode. |
|
| Searches the web using DeepSeek Search with source synthesis. |
๐ Directory Structure
BrowserApi/
โโโ app/
โ โโโ __init__.py
โ โโโ config.py # Configuration (ports, URLs, timeouts, headless flag)
โ โโโ browser.py # Headless Chrome auto-launcher, Selenium manager, CDP stealth hooks
โ โโโ parsers.py # Structured response schemas (text, image, error)
โ โโโ providers/
โ โโโ __init__.py
โ โโโ base.py # Abstract BrowserProvider base class
โ โโโ google.py # Direct Google Search automation & AI Overview scraper
โ โโโ gemini.py # Google Gemini automation (Quill execCommand & Imagen extraction)
โ โโโ chatgpt.py # ChatGPT automation (TipTap contenteditable, Search, DALL-E 3)
โ โโโ claude.py # Claude automation (ProseMirror input & Cloudflare handling)
โ โโโ deepseek.py # DeepSeek automation (Native DOM prototype, Search, DeepThink)
โโโ data/
โ โโโ outputs/ # Downloaded generated images (.png)
โ โโโ screenshots/ # Error & diagnostic screenshots (.png)
โ โโโ logs/ # Execution logs (browser_mcp.log)
โโโ server.py # FastMCP Server (SSE on port 8000, or --stdio)
โโโ test.py # Test client for all 11 tools and 5 providers
โโโ start_chrome.bat # Batch script to launch Chrome in visible mode for initial setup
โโโ requirements.txt # Project dependencies
โโโ .gitignore
โโโ README.md๐ง Troubleshooting & Tips
Session Expired / Logged Out: If a service logs you out, simply run
start_chrome.bat, log in again in the Chrome window, close it, and restartpython server.py.Cloudflare Challenges: The server masks automation flags (
--disable-blink-features=AutomationControlledand custom desktop User-Agent). If Cloudflare presents a challenge, the server auto-clicks the "Verify you are human" button and allows the installed NopeCHA extension to solve it.Port 9222 Already in Use: If a previous Chrome instance is lingering on port 9222:
taskkill /F /IM chrome.exeCustom Timeouts: Complex reasoning (DeepThink) or diffusion image generation can take up to 60-90 seconds. You can pass custom timeouts in tool calls:
ask_deepseek(prompt="...", deepthink=True, timeout=180).
This server cannot be deployed
Maintenance
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome โ credentials stay local. Zero-token replay.
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn extension-based MCP server that enables AI assistants to control your existing Chrome browser, leveraging your active login states and settings for automation. It provides over 20 tools for tasks like semantic tab search, screen capture, network monitoring, and direct element interaction.-

browser-relayofficial
AlicenseNot gradedqualityCmaintenanceMCP server that drives a user's real Chrome browser via a WebSocket-connected MV3 extension, enabling tab management, navigation, page interaction, screenshots, and script evaluation through natural language.9 npmMIT- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control your existing Chrome browser via MCP, using your logged-in sessions for automation on authenticated sites. Provides high-level browser tools plus raw CDP and Chrome API access.MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to control and interact with a Chrome browser via MCP, providing tools for navigation, screenshots, clicking, form filling, content extraction, and tab management.-