web-server
A Simple Web Search & Scrape Server, which uses selenium and playwright, and hash router to handle concurrent request.
Installation
npx @ripulio/web-mcp-serverAsk AI about web-server
Powered by Claude Β· Grounded in docs
I know everything about web-server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Web MCP
A monorepo implementing the Web Model Context Protocol for browser integration.
The Web MCP specification defines a navigator.modelContext API that allows web pages to register tools for AI assistants to discover and invoke. This repo provides:
- An MCP server that connects AI assistants to browser tabs
- A Chrome extension that exposes page tools to the MCP server
- A polyfill for the
navigator.modelContextAPI - A registry of pre-built tools that can be injected into pages (optional)
How It Works
βββββββββββββββββββββββββββββββββββ
β AI Assistant (Claude, etc.) β
βββββββββββββββββ¬ββββββββββββββββββ
β stdio
βΌ
βββββββββββββββββββββββββββββββββββ
β web-mcp-server (CLI) β
β MCP server for browser control β
βββββββββββββββββ¬ββββββββββββββββββ
β WebSocket
βΌ
βββββββββββββββββββββββββββββββββββ
β Chrome Extension β
β Exposes page tools via MCP β
βββββββββββββββββ¬ββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββ
β Web Pages β
β navigator.modelContext API β
βββββββββββββββββββββββββββββββββββ
Packages
| Package | Description |
|---|---|
| web-mcp-server | MCP server CLI that enables AI assistants to control browser tabs and invoke page tools |
| web-mcp-extension | Chrome extension for browsing/installing tools and connecting to MCP servers |
| web-mcp-devtools | Chrome DevTools panel for inspecting and testing tools on pages |
| webmcp-polyfill | Browser polyfill implementing the navigator.modelContext API |
Quick Start
1. Install the Chrome Extension
See web-mcp-extension for installation instructions.
2. Configure Your AI Assistant
Add the MCP server to your AI assistant's configuration:
{
"mcpServers": {
"web-mcp": {
"command": "npx",
"args": ["@ripulio/web-mcp-server"]
}
}
}
3. Enable Browser Control
In the extension settings, enable browser control to allow the MCP server to interact with your browser.
Development
# Install dependencies
npm install
# Build all packages
npm run build
# Run tests
npm test
# Lint and format
npm run lint
npm run format
Links
License
MIT
