Www
Broxy - Turn any webpage into an MCP server. Let AI assistants directly control the browser. (homepage)
Install / Use
/learn @broxy-dev/WwwQuality Score
Category
Development & EngineeringSupported Platforms
README
中文文档 | English
Broxy
Turn any webpage into an MCP server. Let AI assistants directly control the browser.
What is Broxy?
Broxy transforms any webpage into an MCP (Model Context Protocol) server, enabling AI assistants like Claude and Cursor to directly interact with and control web pages. This opens up powerful automation possibilities without requiring traditional APIs.
Features
- API Endpoint - Execute JavaScript on any webpage and expose APIs for external calls
- AI Integration - Full MCP support for Claude/Cursor to directly control the browser
- Web Automation - Simulate input, clicks, and requests on any webpage
Use Cases
- AI Automation - Let Claude/Cursor automatically fill forms, submit reports, book meeting rooms
- Data Monitoring - Real-time monitoring of prices, stock quotes, competitor data
- API Generator - Convert websites without public APIs into callable interfaces
Installation
For Website Developers
Add a single line to your website:
<script src="https://broxy.dev/assets/broxy-v1.user.js"></script>
Visitors can immediately use Broxy services without installing any extensions.
For Users
- Install Tampermonkey browser extension
- Click here to add the Broxy script
- Open any website and click the Broxy floating button (bottom-right corner) to configure
How It Works
User ⇄ AI Client (Claude/Cursor) ⇄ Broxy ⇄ Webpage
- User interacts with AI assistant
- AI sends commands to Broxy via MCP
- Broxy executes JavaScript on the target webpage
- Results are returned to the AI assistant
Global API
When Broxy is loaded, a global BroxyDev object is available:
// Theme
BroxyDev.getTheme() // 'light' | 'dark'
BroxyDev.setTheme('dark')
BroxyDev.toggleTheme()
// Language
BroxyDev.getLang() // 'zh' | 'en'
BroxyDev.setLang('en')
BroxyDev.toggleLang()
// Settings
BroxyDev.getSettings() // { theme, lang }
// Browser Info
BroxyDev.getBrowserInfo() // { userAgent, platform, url, ... }
Configuration
Broxy uses a configuration system for defining routes and tools:
window.__BROXY_INIT_DATA__ = {
version: "1.0",
data: {
routes: [...], // REST API endpoints
tools: [...], // MCP tools
mcpConfig: {...}, // MCP server configuration
initScript: "" // Custom initialization script
}
}
Routes
Define custom API endpoints:
{
name: "getTheme",
pattern: "/theme",
method: "get",
handler: "async (method, path, query, body, headers) => { ... }",
enabled: true
}
MCP Tools
Define tools for AI assistants:
{
name: "setTheme",
pattern: "/mcp/setTheme",
description: "Set the website theme",
handler: "async ({ theme }) => { ... }",
inputSchema: {
type: "object",
properties: {
theme: { type: "string", description: "dark | light" }
},
required: ["theme"]
},
enabled: true
}
Development
This is a static website with no build system. To preview locally:
# Python
python3 -m http.server 8000
# Node.js
npx serve .
# PHP
php -S localhost:8000
Then open http://localhost:8000 in your browser.
Project Structure
www/
├── index.html # Main landing page
├── script.js # Core functionality
├── i18n.js # Internationalization
├── styles.css # Styling
└── assets/
├── broxy-v1.user.js # Tampermonkey userscript
├── data.js # Default configuration
└── logo.png # Logo image
Browser Support
- Modern browsers with ES6+ support
- Chrome, Firefox, Safari, Edge (latest versions)
License
MIT License
Links
- Website: https://broxy.dev
- Tampermonkey: https://www.tampermonkey.net
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
