@ld338/nextjs-mcp-server

by ld338

243 downloads
Not rated
GitHub

Description

# @ld338/nextjs-mcp-server A Model Context Protocol (MCP) server for managing Next.js development servers with comprehensive error monitoring. This tool allows you to start, stop, restart, and monitor multiple Next.js dev servers programmatically or via MCP-compatible clients…

About

# @ld338/nextjs-mcp-server A Model Context Protocol (MCP) server for managing Next.js development servers with comprehensive error monitoring. This tool allows you to start, stop, restart, and monitor multiple Next.js dev servers programmatically or via MCP-compatible clients (e.g., Claude, Copilot, or custom tools)…

Details

Author
ld338
Downloads
243
Categories
Other

- Start, stop, restart Next.js dev servers in any directory
- List all running servers with status, uptime, and performance
- Automatic port detection and conflict resolution
- Real-time logs and error tracking for managed servers
- Full support for Next.js Turbo mode
- Cross-platform on Windows, macOS, and Linux

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name @ld338/nextjs-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install globally via npm, yarn, or pnpm, then configure your MCP client (e.g., Claude Desktop or GitHub Copilot) to use the nextjs-mcp-server command. Once configured, issue natural-language commands (like “start a Next.js server in the current directory”) or send MCP tool requests directly. The server communicates over stdio.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "@ld338/nextjs-mcp-server": {
            "nextjs-mcp-server": {
                "command": "npx",
                "args": [
                    "next",
                    "--version"
                ]
            }
        }
    }
}

McpServers

{
    "nextjs-mcp-server": {
        "command": "npx",
        "args": [
            "next",
            "--version"
        ]
    }
}

@ld338/nextjs-mcp-server

A Model Context Protocol (MCP) server for managing Next.js development servers with comprehensive error monitoring. This tool allows you to start, stop, restart, and monitor multiple Next.js dev servers programmatically or via MCP-compatible clients (e.g., Claude, Copilot, or custom tools).

npm version
License: MIT

---

🚀 Features

- Server Management: Start, stop, restart Next.js development servers in any directory
- Overview: List all running servers with status, uptime, and performance metrics
- Port Management: Automatic port detection and conflict resolution
- Log Monitoring: Real-time logs and error tracking for all managed servers
- Turbo Support: Full support for Next.js Turbo mode
- Intelligent Error Handling: Detailed error messages for invalid projects, port conflicts, etc.
- Cross-Platform: Works on Windows, macOS, and Linux

---

📦 Installation

Global Installation (Recommended)

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.