Provides ESLint-style rule enforcement and code quality analysis without requiring separate ESLint tools to be run.
Provides real-time debugging, code quality monitoring, build integration, SSR monitoring, and performance insights for Next.js applications.
Provides Chrome DevTools integration for full browser debugging capabilities, including breakpoint management, network monitoring, and error capture.
Provides real-time debugging, component analysis, state tracking, prop drilling detection, hook monitoring, and performance insights for React applications.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Debugger MCP Servershow me any errors in the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Debugger MCP Server
A comprehensive development companion tool that provides real-time debugging, code quality monitoring, and AI-enhanced insights for React/Next.js applications via the Model Context Protocol (MCP).
π Features
Traditional Debugging
Error Capture: Caught/uncaught errors, console errors, promise rejections
Chrome DevTools Integration: Full browser debugging capabilities via Puppeteer
Breakpoint Management: Set, remove, and manage breakpoints with analytics
Conditional Breakpoints: Advanced breakpoint conditions and hit count tracking
Logpoints: Non-intrusive debugging with dynamic log messages
Network Monitoring: Track API calls, failed requests, performance
Real-time Streaming: Live error and performance data
Code Quality Monitoring
Complexity Analysis: Cyclomatic complexity, function metrics, nesting depth
Rule Enforcement: ESLint-style rules without running separate tools
Pattern Detection: Naming conventions, import patterns, architecture compliance
File Watching: Real-time analysis on code changes
React/Next.js Specific
Component Analysis: State tracking, prop drilling detection
Hook Monitoring: useEffect dependencies, hook rule compliance
Performance Insights: Render times, bundle analysis, SSR monitoring
Build Integration: Real-time feedback during development
π¦ Installation
π― Quick Start
1. Start the MCP Server
2. Connect to Claude Desktop
Add this to your Claude Desktop MCP configuration:
3. Test the Connection
In Claude Desktop, try these commands:
π Available MCP Tools
Tool | Description | Parameters |
| Get current debugging session information | None |
| Get current errors and exceptions |
|
| Get code quality rule violations |
|
| Analyze complexity metrics for a file |
|
| Get performance metrics and insights |
|
| Set, remove, and manage debugging breakpoints |
|
| Update debugger configuration |
|
π‘ Available MCP Resources
Resource | Description | URI |
Error Stream | Real-time stream of errors |
|
Violation Stream | Real-time code quality violations |
|
Performance Stream | Real-time performance metrics |
|
π Breakpoint Management
The debugger provides comprehensive breakpoint management capabilities through the manage-breakpoints tool:
Setting Breakpoints
Managing Breakpoints
Breakpoint Analytics
This provides detailed information about:
Total breakpoints and hit counts
Most frequently hit breakpoints
Hit statistics by file and time
Recent breakpoint activity
βοΈ Configuration
The debugger creates a .debugger-mcp.json configuration file with these options:
π§ Development
π Architecture
π― Use Cases
During Development
Real-time feedback on code quality as you type
Immediate error detection without waiting for builds
Performance monitoring of your React components
Architecture compliance checking
Code Review
Complexity analysis of changed files
Pattern compliance verification
Performance impact assessment
Debugging
Live error tracking across browser and build
Network request monitoring
Component state inspection
Performance bottleneck identification
π€ Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests
Submit a pull request
π License
MIT License - see LICENSE file for details
π Support
Issues: Report bugs and feature requests on GitHub
Documentation: Check the docs/ directory for detailed guides
Examples: See examples/ directory for usage examples
Built with β€οΈ for the React/Next.js development community