GitHub Stars
0
User Rating
Not Rated
Forks
0
Issues
0
Views
1
Favorites
0
π DevTools Bridge MCP
Bridge Chrome DevTools with AI assistants for real-time debugging intelligence
β¨ What is DevTools Bridge MCP?
DevTools Bridge MCP revolutionizes web debugging by creating a real-time bridge between Chrome DevTools and AI assistants. Instead of manually copying errors and switching between tools, get instant AI-powered analysis of console errors, network issues, and performance bottlenecksβall within your familiar DevTools environment.
π₯ The Problem We Solve
Traditional debugging wastes 2+ hours per day on context switching:
1. π Error occurs in browser
2. π Copy error message manually
3. π Switch to AI chat interface
4. β¨οΈ Paste and explain context
5. π€ Wait for response
6. π Switch back to DevTools
7. π§ Try suggested solution
8. π Repeat if unsuccessful
DevTools Bridge MCP eliminates context switching:
1. π Error occurs in browser
2. π€ AI analyzes automatically with full context
3. π‘ Instant solution appears in DevTools
4. π§ Apply fix immediately
π₯ Why Choose DevTools Bridge MCP?
Advantage | DevTools Bridge MCP | GitHub Copilot Chat | Cursor/Codeium |
---|---|---|---|
Context-Native | β Browser DOM, console, network | β VS Code only | β IDE dependent |
Real-time Debugging | β Live error capture | β Manual copy-paste | β Static analysis |
Privacy-First | β 3-level filtering + on-premises | β οΈ Cloud dependent | β οΈ Data upload |
Multi-AI Support | β Claude, GPT, Gemini, Local | β GPT only | β Proprietary models |
No IDE Lock-in | β Universal browser tool | β VS Code required | β IDE specific |
π― Key Features
π€ Multi-AI Support
- Claude (Anthropic): Advanced reasoning for complex debugging
- OpenAI GPT-4: Comprehensive code analysis and suggestions
- Google Gemini: Fast responses for quick fixes
- Local LLM: Privacy-focused, on-premises deployment
β‘ Real-time Analysis
- Console Errors: Automatic error capture and AI analysis
- Network Issues: API debugging with intelligent suggestions
- Performance Bottlenecks: AI-powered optimization recommendations
- DOM Mutations: Track and analyze dynamic content changes
π Privacy-First Design
- 3-Level Privacy Control: Basic β Strict β Paranoid
- Data Filtering: Automatic removal of sensitive information
- Self-Hosted Option: Deploy your own MCP server
- Zero Data Retention: No persistent storage of debugging data
π’ Enterprise Ready
- Audit Logging: Complete debugging session history
- Cost Tracking: Monitor AI API usage and costs
- Team Settings: Centralized configuration management
- SSO Integration: Enterprise authentication support
π° Pricing & Plans
Choose Your Debugging Intelligence Level
Feature | Free | Starter | Growth | Enterprise |
---|---|---|---|---|
Monthly Price | $0 | $15/user | $29/user | Custom |
Seats | 1 user | Unlimited | Unlimited | Unlimited |
AI Queries | 25/month hosted | 200/month hosted | 1,000/month + overage | Unlimited |
BYOK Support | β Unlimited | β Unlimited | β Unlimited | β Unlimited |
Team Features | β | β Basic | β Advanced | β Enterprise |
Support | Community | Priority | Dedicated AM | |
Security | Basic | Standard | Advanced | Enterprise |
SLA | None | None | 99.5% | 99.9% |
π― Perfect For
- Free: Individual developers, open-source contributors, students
- Starter: Freelancers, small teams, personal projects
- Growth: Growing teams, scale-ups, commercial projects
- Enterprise: Large organizations, security-conscious teams
π Usage-Based Growth
- Smart Upgrade Triggers: 75% quota alerts, contextual upgrade prompts
- 14-Day Growth Trial: Experience advanced features risk-free
- Overage Billing: $4 per extra 100 queries (Growth tier)
- Annual Discounts: Save 20% with annual billing
- No Lock-in: Cancel anytime, export your data
π‘ Value Proposition
"Your debugger now thinks with youβwithout moving to a cloud IDE."
Transform the traditional debugging workflow:
- β Before: Copy error β Switch tools β Wait for analysis β Switch back
- β After: Error occurs β AI analyzes instantly β Solution appears in DevTools
π Start Free Trial β’ πΌ Enterprise Demo β’ π― 14-Day Growth Trial
π₯ Demo
Coming Soon: Watch DevTools Bridge MCP in action
[Demo video will be embedded here once production is complete]
Quick Preview:
- π§ Install the extension
- π Open any website with console errors
- π€ Watch AI analyze issues in real-time
- π‘ Get instant, actionable solutions
π Quick Start
1. Install Extension
Option A: Chrome Web Store (Recommended)
1. Visit Chrome Web Store
2. Search "DevTools Bridge MCP"
3. Click "Add to Chrome"
4. Pin extension to toolbar
Option B: Developer Mode
# Clone repository
git clone https://github.com/daideguchi/devtools-bridge-mcp.git
cd devtools-bridge-mcp
# Install dependencies
npm install
# Build extension
npm run build:extension
# Load in Chrome
1. Open chrome://extensions/
2. Enable "Developer mode"
3. Click "Load unpacked"
4. Select dist/extension/ folder
2. Start MCP Server
# Install server dependencies
npm install
# Start the MCP server
npm run dev:server
# Server will start on http://localhost:3001
3. Configure AI Provider
- Open Extension Settings: Click the DevTools Bridge icon in your Chrome toolbar
- Choose AI Provider: Select Claude, OpenAI, Gemini, or Local LLM
- Add API Key: Enter your API key for the chosen provider
- Test Connection: Verify the connection is working
4. Start Debugging!
- Open DevTools: Press
F12
orCtrl+Shift+I
- Find DevTools Bridge Tab: Look for the π tab in DevTools
- Enable Data Collection: Toggle the collection switch
- Trigger Errors: Navigate to any website or reproduce bugs
- Watch AI Analysis: See real-time insights appear automatically
ποΈ Architecture
DevTools Bridge MCP uses a 4-layer architecture for maximum flexibility and performance:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π¨ UI Layer β
β DevTools Panel β’ Popup Interface β’ Options Page β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Communication Layer β
β WebSocket β’ Chrome Extension API β’ Message Router β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π§ Intelligence Layer β
β AI Router β’ Multi-Provider Support β’ Context Manager β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Data Layer β
β Privacy Filter β’ Data Processor β’ Audit Logger β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key Components
- π§ Content Script: Captures debugging data from web pages
- π Background Worker: Manages WebSocket connections and routing
- ποΈ DevTools Panel: Main debugging interface with 6 specialized tabs
- π MCP Server: Node.js server handling AI communications
- π€ AI Router: Intelligent routing between multiple AI providers
π Supported Data Types
Data Type | Auto-Capture | AI Analysis | Privacy Filtering |
---|---|---|---|
π΄ Console Errors | β | β | β |
β οΈ Console Warnings | β | β | β |
π Network Requests | β | β | β |
π Performance Metrics | β | β | β |
ποΈ DOM Mutations | β | β | β |
π₯ Unhandled Rejections | β | β | β |
π― Custom Events | β | β | β |
βοΈ Configuration
Environment Variables
# Server Configuration
MCP_SERVER_PORT=3001
MCP_SERVER_HOST=localhost
# AI Provider Keys
ANTHROPIC_API_KEY=your_claude_key_here
OPENAI_API_KEY=your_openai_key_here
GOOGLE_AI_API_KEY=your_gemini_key_here
# Privacy & Security
PRIVACY_LEVEL=basic # basic, strict, paranoid
DATA_RETENTION_DAYS=0 # 0 = no retention
AUDIT_LOGGING=true
Extension Settings
Access via the DevTools Bridge icon in Chrome toolbar:
- π€ AI Configuration: Choose provider, set API keys, configure models
- π Privacy & Data: Set filtering level, configure data collection
- π° Cost Tracking: Monitor API usage and set budget alerts
- βοΈ Advanced Settings: Custom endpoints, timeout settings, debug mode
π οΈ Development
Prerequisites
- Node.js: 18+
- Chrome: 88+ (for Manifest V3 support)
- TypeScript: 5.0+
- React: 18+
Setup Development Environment
# Clone and install
git clone https://github.com/daideguchi/devtools-bridge-mcp.git
cd devtools-bridge-mcp
npm install
# Start development servers
npm run dev # Starts both extension and server in watch mode
# Or run separately
npm run dev:extension # Extension build + watch
npm run dev:server # MCP server + nodemon
Project Structure
devtools-bridge-mcp/
βββ π src/
β βββ π extension/ # Chrome extension code
β β βββ π background/ # Service worker & WebSocket management
β β βββ π content/ # Web page data collection
β β βββ π devtools/ # DevTools integration
β β βββ π panel/ # Main DevTools panel UI
β β βββ π popup/ # Extension popup interface
β β βββ π options/ # Settings & configuration
β βββ π server/ # MCP server implementation
β β βββ π ai/ # AI provider integrations
β β βββ π core/ # WebSocket & MCP handling
β β βββ π privacy/ # Data filtering & security
β β βββ π enterprise/ # Audit logging & cost tracking
β βββ π web/ # Optional web interface
βββ π docs/ # Documentation
βββ π scripts/ # Build & deployment scripts
βββ π manifest.json # Chrome extension manifest
Building for Production
# Build extension for distribution
npm run build:extension
# Build MCP server
npm run build:server
# Create distributable package
npm run package
# The extension will be packaged as devtools-bridge-mcp.zip
π Privacy & Security
DevTools Bridge MCP is designed with privacy-first principles:
π‘οΈ Data Protection
- Local Processing: Most analysis happens locally
- Selective Transmission: Only necessary data sent to AI providers
- Automatic Filtering: Removes URLs, tokens, keys, and sensitive patterns
- No Persistence: Zero local data storage by default
π Privacy Levels
Basic Mode
- Filters obvious secrets (API keys, passwords)
- Removes query parameters from URLs
- Safe for most development work
Strict Mode
- Aggressive URL sanitization
- Removes stack traces with file paths
- Filters all request headers
- Recommended for sensitive projects
Paranoid Mode
- Maximum privacy protection
- Local-only analysis when possible
- Minimal data transmission
- Enterprise-grade security
π’ Enterprise Security
- Audit Trails: Complete logging of all debugging sessions
- Access Controls: Role-based permissions and API key management
- Self-Hosted Deployment: Keep all data within your infrastructure
- Compliance: GDPR, SOC 2, and enterprise security standards
π€ Contributing
We welcome contributions from the community! Here's how to get involved:
π Reporting Issues
- Check existing issues
- Use our issue templates
- Provide detailed reproduction steps
- Include browser version and extension version
π» Development Contributions
- Fork the repository
- Create feature branch
git checkout -b feature/amazing-feature
- Make your changes
- Follow our coding standards
- Add tests for new functionality
- Update documentation as needed
- Commit using Conventional Commits
git commit -m "feat: add amazing new feature"
- Push and create Pull Request
git push origin feature/amazing-feature
π Development Guidelines
- Code Style: TypeScript with ESLint + Prettier
- Testing: Jest for unit tests, Playwright for E2E
- Documentation: Update README and docs/ for any changes
- Backwards Compatibility: Maintain API compatibility when possible
π License
This project is licensed under the MIT License - see the LICENSE file for details.
Third-Party Licenses
- Chrome DevTools Protocol: BSD License
- Model Context Protocol: MIT License
- React: MIT License
- TypeScript: Apache License 2.0
π Acknowledgments
Special thanks to:
- π’ Anthropic: For Claude AI and inspiration for developer tools
- π’ OpenAI: For GPT models and API accessibility
- π’ Google: For Gemini AI and Chrome DevTools Protocol
- π Community: All beta testers and early adopters
- π§ Dependencies: All the amazing open-source libraries that make this possible
π Support & Community
π Getting Help
- π Documentation: docs/ - Comprehensive guides and tutorials
- β Discussions: GitHub Discussions - Community Q&A
- π Bug Reports: GitHub Issues - Report bugs and request features
- π§ Email: support@devtools-bridge.com - Direct support
π Stay Updated
- β Star this repo to show support and stay notified
- π Watch releases for new version notifications
- π¦ Follow on Twitter: @DevToolsBridge - Latest updates and tips
π Ready to supercharge your debugging workflow?
Install DevTools Bridge MCP Today
Transform debugging from frustration to flow
Made with β€οΈ by developers, for developers