BIP Monitor MCP Server
Monitors Next.js development servers with intelligent error categorization, smart diagnostics, and performance tracking.
Click on "Deploy 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., "@BIP Monitor MCP Server check the status of my dev server"
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.
BIP Monitor MCP Server
A Model Context Protocol (MCP) server for monitoring Next.js development servers with intelligent error categorization, smart diagnostics, and performance tracking.
Features
π Intelligent Error Categorization: Automatically categorizes errors into syntax, runtime, build, dependency, and port issues
π‘ Smart Fix Suggestions: Provides actionable fix suggestions for each error category
π Performance Tracking: Monitors compile times and build performance metrics
πΎ Persistent Logging: Errors persist across sessions in
~/.bip-monitor/π Real-time Monitoring: Live dev server monitoring with stdout/stderr capture
π‘ MCP Resources: Access errors and status through standardized MCP resources
π οΈ MCP Tools: Control dev server and query errors programmatically
Related MCP server: Debugger MCP Server
Installation
For Claude Code CLI
If your project has a .mcp.json file, add the server configuration:
{
"mcpServers": {
"bip-monitor": {
"command": "npx",
"args": ["-y", "bip-monitor-mcp"]
}
}
}Or install locally in your project:
npm install bip-monitor-mcpThen configure in .mcp.json:
{
"mcpServers": {
"bip-monitor": {
"command": "node",
"args": ["node_modules/bip-monitor-mcp/index.js"]
}
}
}For Claude Desktop
Add to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"bip-monitor": {
"command": "npx",
"args": ["-y", "bip-monitor-mcp"]
}
}
}Restart Claude Desktop to load the server.
MCP Resources
The server exposes the following resources:
bip://errors/recent
Returns the last 50 errors with categorization and summary statistics.
{
"count": 10,
"errors": [...],
"summary": {
"syntax": 3,
"runtime": 2,
"build": 1,
"dependency": 0,
"port": 0
}
}bip://app/status
Returns current dev server status including uptime and error count.
{
"status": "running",
"pid": 12345,
"startTime": 1699564800000,
"errorCount": 10,
"lastError": {...},
"uptime": 300000
}bip://logs/full
Returns last 100 lines from stdout/stderr logs. For more control, use the get_logs tool.
bip://performance/metrics
Returns performance metrics including compile times.
{
"lastCompileTime": 142,
"avgCompileTime": 156,
"compileTimes": [150, 142, 160, ...]
}MCP Tools
start_dev_server
Start and monitor the Next.js dev server.
Parameters:
cwd(string, required): Working directory for the app
Example:
{
"name": "start_dev_server",
"arguments": {
"cwd": "/path/to/your/nextjs/app"
}
}get_errors
Get recent errors with optional filtering.
Parameters:
limit(number, default: 10): Number of errors to returncategory(string, default: "all"): Filter by category (syntax|runtime|build|dependency|port|all)
get_status
Get current dev server status.
clear_errors
Clear the error log.
stop_dev_server
Stop the running dev server.
get_logs
Get application logs with flexible options.
Parameters:
lines(number, default: 100, max: 2000): Number of lines to return from end of logfilter(string, optional): Only return lines containing this text (case-insensitive)
Examples:
"Get the last 500 lines of logs"
"Get logs filtered by 'error' keyword"
"Get 1000 lines containing 'compile'"Error Categories
Category | Triggers | Suggestion |
port |
|
|
syntax | TypeScript/JSX syntax errors | Points to exact file:line |
dependency | Module not found errors |
|
build | Next.js build failures |
|
runtime | Runtime exceptions | Check stack trace |
Log Files
All logs are stored in ~/.bip-monitor/:
errors.jsonl: Last 100 errors in JSON Lines format
app.log: Complete stdout/stderr from dev server (access via
get_logstool)performance.json: Compile time metrics and performance data
Note: Use the get_logs tool to retrieve logs with custom line limits (up to 2000 lines) and optional text filtering.
Usage Examples
With Claude Code CLI
Read bip://errors/recentWith Claude API
const resource = await client.readResource('bip://errors/recent');
console.log(resource.contents[0].text);Querying Errors
Use get_errors tool with limit=5 and category="syntax"Starting Dev Server
Use start_dev_server with cwd="/Users/you/dev/my-nextjs-app"Getting Logs
Use get_logs with lines=500
Use get_logs with lines=1000 and filter="error"
Use get_logs with filter="compile"Development
Building from Source
git clone https://github.com/The-Bip-App/bip-monitor-mcp.git
cd bip-monitor-mcp
npm installRunning Locally
node index.jsThe server communicates via stdio using the MCP protocol.
Requirements
Node.js >= 18.0.0
Next.js project with
pnpm devornpm devscript
License
MIT
Contributing
Contributions welcome! Please open an issue or PR.
Support
For issues, questions, or feature requests, please open an issue on GitHub.
Available Tools
8 toolsattach_to_dev_serverC
Attach monitoring to an existing dev server process (allows status bar visibility when started with Bash tool)
Inputs: logFile (required).
clear_errorsB
Clear the error log and start fresh
Inputs: no named parameters.
detach_dev_serverA
Stop watching an attached dev server (does not stop the actual process)
Inputs: no named parameters.
get_errorsB
Get recent errors from the dev server with filtering options
Inputs: limit, category.
get_logsB
Get application logs with flexible line limits and optional filtering
Inputs: lines, filter.
get_statusA
Get current status of the dev server
Inputs: no named parameters.
start_dev_serverC
Start the Next.js dev server and monitor it for errors
Inputs: cwd (required).
stop_dev_serverC
Stop the running dev server
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 8 tools
Most tools are clearly distinct: start/stop/detach handle lifecycle, get_errors/get_logs/get_status handle monitoring, clear_errors resets. The main ambiguity is between get_errors and get_logs, which both retrieve logs with filtering; an agent might confuse which holds runtime errors vs application logs. Otherwise the boundaries are fairly clear.
Tools follow a strong verb_noun pattern (start_dev_server, get_errors, clear_errors, stop_dev_server, get_status, get_logs). The minor inconsistency is the mixed use of 'dev_server' as a noun (start_dev_server, stop_dev_server, attach_to_dev_server, detach_dev_server) versus 'attach_to_dev_server' and 'detach_dev_server' which use a two-part verb. Still, the pattern is readable and predictable.
8 tools is a reasonable, well-scoped count for a dev server monitoring server. Each tool earns its place covering start, stop, attach, detach, status, errors, clear, and logs. Slightly fewer could still work but this is appropriately sized.
The lifecycle is well-covered: start, stop, attach, detach, status check, error retrieval, log retrieval, and reset. A minor gap is the absence of an obvious 'restart' tool, but agents can compose stop+start. The coverage of monitoring operations (errors, logs, status) is solid.
Maintenance
Related MCP Connectors
Production errors of your Node.js and TypeScript apps, ready for your agent to fix.
Errors, logs and AI-call costs for apps on Node.js, Next.js, Cloudflare Workers or the browser. Ask your AI whatβs broken, why, and how to fix it, right inside Cursor or Claude.
Investigate errors, track deployments, analyze performance, and manage application monitoring
Production telemetry for NestJS apps: traces, errors, regressions, jobs and alerts.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides intelligent error detection and debugging capabilities across multiple programming languages with real-time monitoring of build, lint, runtime, console, and test errors. Offers AI-enhanced error analysis with automated resolution suggestions and context-aware debugging.2MIT
- AlicenseNot gradedqualityDmaintenanceProvides real-time debugging, code quality monitoring, and performance insights for React/Next.js applications with features including Chrome DevTools integration, breakpoint management, complexity analysis, and live error streaming.1MIT

Next.js DevTools MCPofficial
AlicenseAqualityCmaintenanceProvides specialized development tools and utilities for Next.js, allowing AI agents to perform runtime diagnostics and access official documentation. It enables automated context initialization and real-time interaction with Next.js development servers to query application state.4170,540 npm838MIT- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible clients to inspect Next.js codebases, analyze App Router and Pages Router structure, discover API routes, and audit build performance through controlled tools.MIT