browser-mcp-companion
v1.0.18
Published
Easy companion app for Browser MCP - Auto-starts MCP server for browser inspection with AI assistants
Maintainers
Readme
browser-mcp-companion
Easy companion app for Browser MCP - Auto-starts MCP server for browser inspection with AI assistants
What is Browser MCP?
Browser MCP exposes your browser state to AI assistants (like Claude Code, Claude Desktop, Cursor) via the Model Context Protocol. Inspect DOM, debug JavaScript, analyze network requests - all through natural language!
What Does This Companion App Do?
This lightweight Node.js app:
- ✅ Starts the MCP server automatically (port 3100)
- ✅ Provides health check endpoint for Chrome extension
- ✅ Shows clear status in terminal
- ✅ Makes setup super simple!
🚀 Quick Start
Install
npm install -g browser-mcp-companionRun
browser-mcp-companionThat's it! The server starts and opens a status page.
📦 Usage
Option 1: Global Install (Recommended)
# Install globally
npm install -g browser-mcp-companion
# Run from anywhere
browser-mcp-companionOption 2: NPX (No Install)
# Run without installing
npx browser-mcp-companionOption 3: Local Project
# Add to your project
npm install browser-mcp-companion
# Run via package.json script
{
"scripts": {
"browser-mcp": "browser-mcp-companion"
}
}🎯 What Happens When You Run It?
- Health check server starts on port 3100
- Status page opens in your browser automatically
- Terminal shows clear instructions
- Chrome extension can connect!
🔌 Connect Your Browser
After starting the companion app:
- Install the Browser MCP Chrome Extension
- Navigate to any website
- Click the extension icon
- Click "Connect This Tab"
The extension will auto-detect the running companion app!
🤖 Use with AI Assistants
Claude Code
The companion app works seamlessly with Claude Code. Once running, Claude can:
- Inspect your browser's DOM
- Read console logs
- Analyze network requests
- Detect JavaScript frameworks
Claude Desktop / Cursor / Windsurf
See the main repository for IDE-specific setup.
📊 Features
- Auto-start: No manual server setup needed
- Health checks: Extension auto-detects running server
- Status page: Beautiful UI showing connection status
- Graceful shutdown: Ctrl+C to stop cleanly
- Error handling: Clear error messages and recovery
🐛 Troubleshooting
Port 3100 already in use
# Find process using port 3100
lsof -i :3100
# Kill it
kill -9 <PID>
# Then restart
browser-mcp-companionExtension can't connect
- Make sure companion app is running
- Check status page at http://localhost:3100
- Reload the Chrome extension
📝 License
MIT © Browser MCP Contributors
