Devserver
A specialized MCP server for monitoring development server output with intelligent error categorization and Claude Code integration
What is Devserver?
Devserver is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to specialized mcp server for monitoring development server output with intelligent error categorization and claude code integration
A specialized MCP server for monitoring development server output with intelligent error categorization and Claude Code integration
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A specialized MCP server for monitoring development server o
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx devserverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Devserver
The DevServer MCP Server monitors running development server processes and surfaces their output, errors, and diagnostics to AI coding assistants like Claude Code. It wraps any dev server command (Vite, Next.js, webpack, etc.), categorizes errors by type and severity, correlates errors to file changes, and exposes structured query tools so Claude can understand the live state of your build without you copying and pasting terminal output.
Prerequisites
- Node.js 18 or later
- pnpm package manager (npm also works)
- Claude Code or Claude Desktop with MCP support
- An existing project with a dev server command (e.g. pnpm run dev)
Clone and install dependencies
Pull the devserver-mcp repository and install packages.
git clone https://github.com/mntlabs/devserver-mcp.git
cd devserver-mcp
pnpm installBuild the server
Compile the TypeScript source.
pnpm buildStart the MCP server wrapping your dev server
Launch devserver-mcp and tell it which command to monitor. It defaults to port 9338 for SSE connections.
node dist/server.js --monitor pnpm run dev
# Custom port for multiple projects
node dist/server.js --port 9339 --monitor pnpm run devRegister the server in Claude Code
Add the running SSE endpoint to Claude Code using the CLI.
claude mcp add --transport sse devserver-mcp http://127.0.0.1:9338/sseOptional: create a config file for custom error patterns
Create devserver-mcp.config.json in your project root to define custom error patterns, watch paths, and history settings.
{
"historyLimit": 1000,
"correlationWindow": 5000,
"watchPaths": ["./src"],
"excludePaths": ["./node_modules", "./.next"],
"patterns": [
{
"name": "custom-error",
"pattern": "CUSTOM: (.+)",
"category": "runtime",
"severity": "critical"
}
]
}Devserver Examples
Client configuration
Claude Desktop config connecting to a running devserver-mcp instance over SSE transport.
{
"mcpServers": {
"devserver-mcp": {
"command": "node",
"args": [
"/Users/you/devserver-mcp/dist/server.js",
"--monitor",
"pnpm",
"run",
"dev"
]
}
}
}Prompts to try
Example prompts for using the dev server monitor through Claude Code.
- "What errors are currently showing in my dev server?"
- "Give me a summary of all TypeScript errors grouped by file"
- "Show me the last 20 error history entries from the dev server"
- "What errors are associated with the file src/components/Button.tsx?"
- "Suggest a monitoring setup for my Next.js project"Troubleshooting Devserver
SSE connection refused at 127.0.0.1:9338
The devserver-mcp process must be started before Claude tries to connect. Run node dist/server.js --monitor pnpm run dev in a terminal and keep it running. Then register or restart the MCP connection in Claude.
Error history is empty even though the dev server shows errors
Ensure the monitored command is passed correctly after the --monitor flag. The server must be the parent process of your dev command to capture its stdout/stderr. Check that excludePaths does not accidentally exclude your source directory.
Custom error patterns are not being detected
Verify devserver-mcp.config.json is in the working directory where you launch the server. The pattern field must be a valid JavaScript regex string. Test your regex at regex101.com before adding it to the config.
Frequently Asked Questions about Devserver
What is Devserver?
Devserver is a Model Context Protocol (MCP) server that specialized mcp server for monitoring development server output with intelligent error categorization and claude code integration It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Devserver?
Follow the installation instructions on the Devserver GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Devserver?
Devserver works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Devserver free to use?
Yes, Devserver is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Devserver Alternatives — Similar Developer Tools Servers
Looking for alternatives to Devserver? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Devserver in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Devserver?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.