Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Developer platforms - official Vercel server

Next.js DevTools MCP server

A local stdio MCP server that discovers running Next.js 16+ dev servers and proxies their built-in /_next/mcp endpoint, so agents can read live errors, routes and logs. It also points agents at version-matched bundled docs and the agent-browser CLI. It runs locally from next-devtools-mcp (npm) and needs no auth.

Last verified 3 tools3 sources

Install

Terminal
claude mcp add next-devtools npx next-devtools-mcp@latest
Terminal
codex mcp add next-devtools -- npx next-devtools-mcp@latest

VS Code

Snippet
code --add-mcp '{"name":"next-devtools","command":"npx","args":["-y","next-devtools-mcp@latest"]}'

Generic

JSON
{
  "mcpServers": {
    "next-devtools": {
      "command": "npx",
      "args": ["-y", "next-devtools-mcp@latest"]
    }
  }
}

Tools

nextjs_index
Discover running Next.js dev servers and list each one's runtime MCP tools.
nextjs_call
Call a runtime tool on a discovered server (errors, routes, logs, Server Actions).
nextjs_docs
Gateway that points the agent at version-accurate docs in node_modules/next/dist/docs/.

As documented on October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • Requires Node.js v20.19+ and a running Next.js 16+ dev server for nextjs_index and nextjs_call.
  • Version 0.4.0 turned it into a thin connector: the init, upgrade_nextjs_16 and enable_cache_components tools and the docs resources were removed (now agent skills or bundled docs).
  • Cursor setup is a one-click install link or reusing the generic JSON config.
  • Collects anonymous usage telemetry; opt out with NEXT_TELEMETRY_DISABLED=1.

FAQ

What does the Next.js DevTools MCP server do?

A local stdio MCP server that discovers running Next.js 16+ dev servers and proxies their built-in /_next/mcp endpoint, so agents can read live errors, routes and logs. It also points agents at version-matched bundled docs and the agent-browser CLI. The vendor documents 3 tools, including nextjs_index, nextjs_call and nextjs_docs.

How do I add the Next.js DevTools MCP server to Claude Code?

Run claude mcp add next-devtools npx next-devtools-mcp@latest, copied from Vercel's docs. This page also has snippets for Codex, VS Code and Generic.

Does the Next.js DevTools MCP server need authentication?

No. The vendor documents it as needing no auth. Transport: stdio. Status: Unlabelled, last checked October 17, 2026.

Sources

Last verified against 3 Vercel pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.