claude mcp add next-devtools-mcp -- npx -y next-devtools-mcp
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
829 โ ยท vercel/next-devtools-mcp ยท read from the GitHub search API ยท (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-09 ยท last seen 2026-10-16 ยท seen 32ร ยท listed by 7 sources
Score
score 703 ยท 829 โ ยท 7 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆๅก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository vercel/next-devtools-mcp๏ผfirst catalogued 2026-10-09๏ผlast seen 2026-10-16ใThere is no official certification or quality rating here โ we record sources and dates only.
next-devtools-mcp is a Model Context Protocol (MCP) server that connects coding agents like Claude and Cursor to your running Next.js dev server. It is a **thin connector**. It discovers running Next.js 16+ dev servers and proxies their built-in MCP endpoint (/_next/mcp) so agents get live runtime errors, routes, and logs. It also ships two **gateways** that point agents at tools they run directly: version-accurate docs and the agent-browser CLI. > [!NOTE] > Docs and migration workflows no longer live in this server. Next.js bundles its own docs at node_modules/next/dist/docs/, and upgrade / Cache Components workflows are distributed as agent skills. See Migrating from 0.3.x. Requirements - Node.js v20.19 or a newer LTS version - npm or pnpm - Next.js 16+ with a running dev server (for nextjs_index / nextjs_call) Install Install for all your coding agents with add-mcp: Add -y to skip the prompt and install to all detected agents. Add -g to install globally across all projects. Or add the config to your MCP client manually: > [!NOTE] > next-devtools-mcp@latest keeps your client on the latest version. Client-specific setup Amp Or follow Amp's MCP docs with the config above. Claude Code Or edit your MCP settings file with the config above. Codex **Windows 11:** add environment variables and a longer startup timeout to .codex/config.toml: Cursor Install in Cursor Or go to Cursor Settings โ MCP โ New MCP Server and use the config above. Gemini Google Antigravity Add to .gemini/antigravity/mcp_config.json: See the Antigravity MCP docs. VS Code / Copilot Or follow the official VS Code MCP setup guide. Warp Settings | AI | Manage MCP Servers โ + Add: - Name: next-devtools - Command: npx - Arguments: -y, next-devtools-mcp@latest Quick Start Start your Next.js dev server: Next.js 16+ enables its MCP endpoint by default at http://localhost:3000/_next/mcp. next-devtools-mcp discovers and connects to it automatically โ no config needed. Then ask your agent about the running app: The agent calls nextjs_index to discover servers, then nextjs_call to query their real state. Tools | Tool | What it does | | -------------- | ----------------------------------------------------------------------------------------- | | 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.** Point the agent at version-accurate docs in node_modules/next/dist/docs/. | | browser_eval | **Gateway.** Point the agent at the agent-browser CLI for browser automation. | The gateways do not do the work themselves โ they tell the agent where the docs are or how to install/run the CLI, and the agent runs it directly (faster than proxying through MCP). nextjs_index โ discover servers Scans common ports for running Next.js 16+ dev servers and lists each server's built-in runtime tools at /_next/mcp. No parameters. Runtime tools exposed by Next.js (varies by version): - get_errors โ current build, runtime, and type errors - get_logs โ path to the dev log file (browser console + server output) - get_page_metadata โ routes, pages, component metadata - get_project_metadata โ project structure, config, dev server URL - get_server_action_by_id โ resolve a Server Action ID to its source file Output: JSON listing discovered servers (port, PID, URL) and their tools.