$ timeahead.in
/ servers/npm/next-devtools-mcp
npm

next-devtools-mcp

Next.js development tools MCP server with stdio transport

765 stars61k/wkupdated 12d agogithub ↗
91excellent
▣ Overview
npm next-devtools-mcp package

What it does

next-devtools-mcp bridges AI coding agents (Claude, Cursor, Copilot, Amp) into Next.js development environments. For Next.js 16+, it connects to the dev server's built-in MCP endpoint to provide real-time visibility into runtime errors, route structure, and development server logs. It also exposes Next.js official documentation and automation tools that help with version upgrades and feature enablement across all Next.js versions. The server uses stdio transport and discovers the dev server automatically when properly initialized.

Who it's for

Next.js developers using MCP-compatible AI coding agents who want their assistant to see the actual state of their running application—errors, route organization, server logs, current configuration—rather than reasoning about code patterns and architecture in isolation. Useful for teams that want AI assistance grounded in live dev server diagnostics.

Common use cases

  • Query the running dev server for compilation errors and warnings without switching to the terminal
  • Ask Claude to inspect your route structure and middleware stack based on live app state
  • Get guided assistance upgrading Next.js versions with awareness of your current configuration
  • Search Next.js official documentation in context while building features or troubleshooting
  • Auto-initialize MCP context at session start so your agent has persistent dev server visibility

Setup pitfalls

  • Requires Node.js v20.19 LTS or newer; older versions fail silently during connection attempts without clear error messages
  • For runtime diagnostics on Next.js 16+, the dev server must be running and listening on the expected port; explicit init tool call is required to establish the MCP binding
  • Marked risk_class: high because it reads/writes the filesystem and makes network calls to the local dev server—review agent file permissions in untrusted or sandboxed environments
  • Versions prior to Next.js 16 only support documentation and automation tools; live runtime inspection requires Next.js 16 or later
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
86
17.2
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
91.2
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "next-devtools": {
      "command": "npx",
      "args": [
        "-y",
        "next-devtools-mcp"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
63/ 100 · is this project alive?
contributors (1y)11
top contributor share67%
releases (1y)16
last release155d ago
ci✓ passing
⛁ Raw data
weekly downloads61k
github stars765
forks56
open issues11
license✓ present
readme length21465 chars
last publish3d ago
last commit12d ago
last updated1d ago
install verified✓ pass · 23d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points