omni-web-mcp
Omni-Web-MCP
Turn any web page into an AI playground — in one line.
Zero-dependency, zero-build, single-file MCP bridge for Claude Desktop, Cursor, Windsurf, and any MCP-compatible agent.
⭐ Star this repo if you want AI to stop asking you to "copy-paste the page content".
✨ Why Omni-Web-MCP?
Most MCP servers require:
npm installof 10+ heavy dependencies (puppeteer, ws, etc.)Complex configuration files
A running Chrome instance
Omni-Web-MCP is different:
Zero dependencies — client is a single IIFE; hub uses only Node built-ins (Node ≥ 14).
Windows 7 friendly — runs on any old machine.
Dual protocols — MCP over stdio/HTTP + OpenAI function-call JSON.
Privacy-first — password fields masked,
data-omni-ignoreskips sensitive nodes.Enterprise-grade security — 192-bit pairing token, timing-safe comparison.
Related MCP server: Algonius Browser
🚀 60-Second Quick Start
Step 1: Start the hub
Since the package is not yet published to NPM, you can run it directly from GitHub:
npx -y github:doujiaozh/omni-web-mcp
# or
node mcp-hub.js
# Hub runs at http://127.0.0.1:8787Step 2: Connect your AI agent
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"omni-web": {
"command": "npx",
"args": ["-y", "github:doujiaozh/omni-web-mcp"]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"omni-web": {
"command": "npx",
"args": ["-y", "github:doujiaozh/omni-web-mcp"]
}
}
}Step 3: Attach a web page
Open any page you want the AI to interact with, and inject:
<script src="http://127.0.0.1:8787/client.js"></script>The page auto-pairs with the hub. The AI can now:
get_dom_tree— see the page structureclick_element— click buttonsinput_text— fill formsscroll_page— navigate
🛠️ 5 Core Tools
Tool | What it does |
| See all paired pages |
| Get numbered outline + interactive elements |
| Click any element by ID |
| Fill inputs and submit |
| Scroll the page |
🔒 Security & Privacy
Pairing token: 192-bit, timing-safe compared, persisted with
0600permissions.Privacy masking: Password fields are automatically masked. Use
privacy="strict"to mask everything. Usedata-omni-ignoreto skip specific nodes.Local-only: The hub runs on
127.0.0.1. No data leaves your machine.
📄 License
MIT
Available Tools
5 toolsclick_elementA
Performs a real click (focus + click) on the element that get_dom_tree numbered with the given id. Returns the refreshed page state and whether a navigation may have happened.
Inputs: id (required), clientId.
get_dom_treeA
Extracts the visible page as structured data: rendered text, a heading outline, and a numbered list of interactive elements (links, buttons, inputs, selects, contenteditable). Action tools target elements by their numeric id.
Inputs: privacy, clientId, include_text, max_elements, +3 more.
input_textB
Sets the value of an editable element identified by its numeric id, dispatching input/change so modern frameworks react. Optionally submits the surrounding form.
Inputs: id (required), text (required), submit, clientId.
list_pagesA
Returns the live web pages attached to the local hub. Each entry has a clientId, url, title and lastSeenAt. Use the clientId with the other tools to target a specific page.
Inputs: no named parameters.
scroll_pageA
Scrolls in a direction or to the top/bottom. When an element id is given, scrolls that container instead of the window.
Inputs: amount, clientId, direction, element_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct role: listing available pages, extracting DOM structure, clicking, entering text, and scrolling. Their descriptions explicitly explain how they compose, such as using clientId from list_pages and numeric ids from get_dom_tree.
All tool names follow a consistent snake_case verb_noun pattern: list_pages, get_dom_tree, click_element, input_text, scroll_page. The convention is predictable and readable.
Five tools is well-scoped for a focused browser-interaction server. Each tool earns its place in the inspect-and-act workflow without obvious redundancy.
The core loop of listing pages, inspecting the DOM, clicking, typing, and scrolling is covered. However, there is no tool to open or navigate directly to a URL, close a page, take a screenshot, or wait for async state, which are notable gaps for general web automation.
Maintenance
Related MCP Connectors
Turn any public website into an MCP server for agents to search, read and navigate.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP Server that enables AI assistants to interact with your local browsers.56MIT

Algonius Browserofficial
AlicenseNot gradedqualityDmaintenanceAn open-source MCP server that provides browser automation capabilities to external AI systems, enabling navigation, DOM interaction, and web content extraction.20Apache 2.0- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents human-like control over Windows via visual perception and simulated mouse and keyboard input, enabling automation of any application without APIs.33 npm6MIT
- AlicenseAqualityDmaintenanceA MCP server that gives AI assistants full browser control, enabling navigation, clicking, form filling, and screenshots via any MCP client.8MIT