
vercel/next-devtools-mcp
Next.js runtime diagnostics, route inspection, dev server logs
by vercelOpen source
Description
Next.js DevTools MCP is a Model Context Protocol server from Vercel that links coding agents such as Claude and Cursor to a running Next.js development server. It acts as a thin connector: it finds Next.js 16+ dev servers on your machine and proxies their built-in /_next/mcp endpoint, so the agent can read live runtime errors, routes and logs. It also includes two gateways that point agents at tools they run themselves: version-matched Next.js docs and the agent-browser CLI. Docs and upgrade workflows have moved out of the server; Next.js now ships its docs inside node_modules and upgrade workflows are distributed as agent skills. It needs Node.js 20.19 or newer and npm or pnpm, and has setup notes for Amp, Claude Code, Codex, Cursor, Gemini, Antigravity, VS Code and Warp.…
Highlights
- Discovers running Next.js 16+ dev servers automatically
- Proxies the built-in /_next/mcp endpoint for live errors, routes and logs
- Gateway to version-accurate Next.js docs
- Gateway to the agent-browser CLI
- Install for all detected agents with add-mcp, or add the config by hand
Ratings & Reviews
No ratings yet
Be the first to rate vercel/next-devtools-mcp.
People also visit
vercel/next-devtools-mcp FAQ
What does Next.js DevTools MCP do?
It connects coding agents to your running Next.js 16+ dev server by proxying the server's built-in MCP endpoint, giving the agent live runtime errors, routes and logs.
What do I need to run it?
Node.js v20.19 or a newer LTS release, npm or pnpm, and a Next.js 16+ project with the dev server running for the runtime tools.
How do I install it?
Use add-mcp to install it for all your coding agents (add -y to skip the prompt, -g to install globally), or paste the provided config into your MCP client. The README has setup notes for Amp, Claude Code, Codex, Cursor, Gemini, Antigravity, VS Code/Copilot and Warp.
Does it still include Next.js docs and upgrade workflows?
No. Since version 0.3.x those moved out: Next.js bundles its own docs under node_modules/next/dist/docs/, and upgrade and Cache Components workflows are shipped as agent skills. The server only points agents to the docs.
Is there anything special for Windows?
For Codex on Windows 11, the README says to add environment variables and a longer startup timeout to .codex/config.toml.
What are the best vercel/next-devtools-mcp alternatives?
Popular alternatives to vercel/next-devtools-mcp include build, mcp-developer and mcp-apps-builder. See all vercel/next-devtools-mcp alternatives




















