MCP server

Next.js DevTools MCP Server

Next.js docs, upgrade helpers and live errors and routes from your running dev server. Official: built and maintained by Vercel. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Vercel
Runs
Local (stdio)
GitHub
★ 832, last push 2026-09-15 (checked 2026-10-24) star history
Registry
io.github.vercel/next-devtools-mcp
Connects to
Next.js
Next.js DevTools GitHub star history

Install the Next.js DevTools MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio next-js-devtools -- npx -y next-devtools-mcp@latest

Security notes

  • The local server runs with your user's permissions (npx downloads it from npm on first run). The package is pinned to @latest, so each start can pull a new version; pin a version if you want to review updates.
  • Context7official · ★ 64k

    Current, version-specific docs and code examples for thousands of libraries, pulled into the prompt.

  • Angular CLIofficial · ★ 27k

    Angular best practices, docs search and project info, built into the Angular CLI.

  • Microsoft Learnofficial · ★ 2k

    Search and fetch official Microsoft and Azure documentation and code samples.

  • Postgres AI guideofficial · ★ 1.9k

    PostgreSQL docs and best practices (schema design, indexes, extensions) for the model to search.

  • Refofficial · ★ 1.2k

    Token-efficient search over public and private documentation.

  • Svelteofficial · ★ 334

    Svelte 5 and SvelteKit docs plus a code checker that suggests fixes.

  • Search, read and get recommendations from AWS documentation.

  • DeepWikiofficial

    Ask questions about any public GitHub repo, answered from DeepWiki's generated docs.

Comparing servers for one product? Next.js MCP servers

FAQ

What does the Next.js DevTools MCP Server do?+

Next.js docs, upgrade helpers and live errors and routes from your running dev server.

Is the Next.js DevTools MCP server official?+

Official: built and maintained by Vercel.

How do I add Next.js DevTools to Claude Code?+

Run: claude mcp add next-js-devtools -- npx -y next-devtools-mcp@latest. Add --scope project to share it with your team through .mcp.json.

How do I use the Next.js DevTools MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does Next.js DevTools work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the Next.js DevTools MCP server?+

Other documentation MCP servers: Context7, Angular CLI, Microsoft Learn, Postgres AI guide and Ref.

All MCP servers · What is an MCP server? · Agent skills