Devserver

v1.0.0Developer Toolsstable

A specialized MCP server for monitoring development server output with intelligent error categorization and Claude Code integration

aiclaudeclaude-codemcpmcp-client
Share:
9
Stars
0
Downloads
0
Weekly
0/5

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

Monitor development server output
Intelligent error categorization
mntlabs

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedNov 22, 2025
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx devserver

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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 install
2

Build the server

Compile the TypeScript source.

pnpm build
3

Start 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 dev
4

Register 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/sse
5

Optional: 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.

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.

Quick Config Preview

{ "mcpServers": { "devserver": { "command": "npx", "args": ["-y", "devserver"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides