Sponsored by Deepsite.site

DevServer MCP

Created By
Uninen7 months ago
MCP server and a unified TUI for managing dev servers + Playwright
Content

DevServer MCP

A Model Context Protocol (MCP) server that manages development servers for LLM-assisted workflows. Provides programmatic control over multiple development servers through a unified interface with a simple TUI, plus experimental browser automation via Playwright.

You can also turn the servers on and off by clicking via the TUI.

Screenshot

Project Status

This is both ALPHA software and an exercise in vibe coding; most of this codebase is written with the help of LLM tools.

The tests validate some of the functionality and the server is already useful if you happen to need the functionality but YMMV.

Features

  • 🚀 Process Management: Start, stop, and monitor multiple development servers
  • 📊 Rich TUI: Interactive terminal interface with real-time log streaming
  • 🌐 Browser Automation: Experimental Playwright integration for web testing and automation
  • 🔧 LLM Integration: Full MCP protocol support for AI-assisted development workflows

Installation

uv add --dev git+https://github.com/Uninen/devserver-mcp.git --tag v0.2.0

Playwright (Optional)

If you want to use the experimental Playwright browser automation features, you must install Playwright manually:

# Install Playwright
uv add playwright

# Install browser drivers
playwright install

Quick Start

Create a devservers.yml file in your project root:

servers:
  backend:
    command: 'python manage.py runserver'
    working_dir: '.'
    port: 8000

  frontend:
    command: 'npm run dev'
    working_dir: './frontend'
    port: 3000

  worker:
    command: 'celery -A myproject worker -l info'
    working_dir: '.'
    port: 5555

# Optional: Enable experimental Playwright browser automation
experimental:
  playwright: true

Configuration

VSCode (Roo Cline)

Add to .vscode/mcp.json:

{
  "servers": {
    "devserver": {
      "url": "http://localhost:3001/mcp/",
      "type": "http"
    }
  }
}

Claude Code

Install the server (as SSE because Claude Code doesn't yet support streamable http 🤦‍♂️):

claude mcp add --transport sse devserver http://localhost:3001/sse/

Usage

Running the MCP Server

Start the TUI:

devservers

Now you can watch and control the devservers and see the logs while also giving LLMs full access to the servers and their logs.

MCP Tools Available

The server exposes the following tools for LLM interaction:

Server Management

  1. start_server(name) - Start a configured server
  2. stop_server(name) - Stop a server (managed or external)
  3. get_server_status(name) - Get server status
  4. get_server_logs(name, lines) - Get recent logs from managed servers

Browser Automation (Experimental)

When experimental.playwright is set in config:

  1. browser_navigate(url, wait_until) - Navigate browser to URL with wait conditions
  2. browser_snapshot() - Capture accessibility snapshot of current page
  3. browser_console_messages(clear) - Get console messages with optional clear

Developing

Using MCP Inspector

  1. Start the server: devservers
  2. Start MCP Inspector: npx @modelcontextprotocol/inspector http://localhost:3001

Scripting MCP Inspector

  1. Start the server: devservers
  2. Use MCP Inspector in CLI mode, for example: npx @modelcontextprotocol/inspector --cli http://localhost:3001 --method tools/call --tool-name start_server --tool-arg name=frontend

Elsewhere

Contributing

Contributions are welcome! Please follow the code of conduct when interacting with others.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Amap Maps高德地图官方 MCP Server
Tavily Mcp
CursorThe AI Code Editor
Playwright McpPlaywright MCP server
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop