{"slug": "i-built-web-mcp-bridge-an-open-source-extension-and-python-bridge-to-run-local", "title": "I built Web-MCP-Bridge: An open-source extension and Python bridge to run local MCP tools in web AI interfaces", "summary": "A developer released Web-MCP-Bridge, an open-source browser extension paired with a local Python WebSocket bridge that lets web-based AI chat interfaces such as ChatGPT, Gemini, Claude and DeepSeek execute local Model Context Protocol tools. The extension intercepts structured JSON tool calls in the chat UI, routes them over a localhost WebSocket to a Python process that runs commands against a local stdio MCP server, and returns output to the chat window without requiring API tokens. It includes a three-state permission model (allow always, ask every time, don't allow) and keeps all communication on 127.0.0.1.", "body_md": "Hey everyone,\n\nI built Web-MCP-Bridge, a 100% open-source browser extension and local Python WebSocket bridge designed to bring Model Context Protocol (MCP) tool execution directly to web-based AI chat interfaces (such as ChatGPT, Gemini, Claude, DeepSeek and other browser chats).\n\nThe Problem: Most power users want to give web AI interfaces access to local tools (filesystems, local terminal execution, custom automation scripts, or desktop management). However, web chat UIs don't natively support local MCP execution, often requiring users to set up paid API tokens or run heavy standalone apps.\n\nHow it works:\n\nTool Interception: The extension intercepts structured JSON tool calls inside the browser chat UI.\n\nLocal Bridge: It routes the request over a local WebSocket (127.0.0.1) to a lightweight Python process.\n\nExecution and Return: The bridge executes the command on your local stdio MCP server (like astrax-mcp or any custom local server) and returns the output back into the chat window.\n\nKey Highlights:\n\nZero API Requirements: Works directly with your standard browser chat sessions.\n\nGranular Security: 3-state permission model (Allow always, Ask every time, Don't allow) requiring user confirmation before executing any local tool.\n\nLocal-First and Private: All WebSocket communication stays strictly on 127.0.0.1.\n\nFully Open-Source: Both the browser extension (Manifest V3) and Python bridge server are open-source.\n\nStack:\n\nExtension: JavaScript (Manifest V3, Content Scripts, Service Workers)\n\nLocal Bridge: Python (WebSockets, asyncio, stdio MCP execution)\n\nCheck out the code, run it locally, and contributions or feedback are very welcome!\n\nGitHub Repository:[https://github.com/AstraxOf/web-mcp-bridge](https://github.com/AstraxOf/web-mcp-bridge)", "url": "https://wpnews.pro/news/i-built-web-mcp-bridge-an-open-source-extension-and-python-bridge-to-run-local", "canonical_source": "https://dev.to/astraxof/i-built-web-mcp-bridge-an-open-source-extension-and-python-bridge-to-run-local-mcp-tools-in-web-ai-n2p", "published_at": "2026-11-03 11:12:25+00:00", "updated_at": "2026-11-03 11:23:33.803295+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools", "ai-products"], "entities": ["Web-MCP-Bridge", "Model Context Protocol", "ChatGPT", "Gemini", "Claude", "DeepSeek", "AstraxOf", "astrax-mcp"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/i-built-web-mcp-bridge-an-open-source-extension-and-python-bridge-to-run-local", "markdown": "https://wpnews.pro/news/i-built-web-mcp-bridge-an-open-source-extension-and-python-bridge-to-run-local.md", "text": "https://wpnews.pro/news/i-built-web-mcp-bridge-an-open-source-extension-and-python-bridge-to-run-local.txt", "jsonld": "https://wpnews.pro/news/i-built-web-mcp-bridge-an-open-source-extension-and-python-bridge-to-run-local.jsonld"}}