vercel/next-devtools-mcp
Official Next.js MCP server for coding agents. Provides runtime diagnostics, route inspection, dev server logs, docs search, and upgrade guides. Requires Next.js 16+ dev server for full runtime features.
Ads
Overview
Official Next.js MCP server for coding agents. Provides runtime diagnostics, route inspection, dev server logs, docs search, and upgrade guides. Requires Next.js 16+ dev server for full runtime features.
Installation
npx add-mcp next-devtools-mcp@latest
Configuration
{
"mcpServers": {
"next-devtools": {
"command": "npx",
"args": ["-y", "next-devtools-mcp@latest"]
}
}Capabilities
- Discover running Next.js dev servers
Use `nextjs_index` to find active Next.js 16+ servers and see which runtime tools each exposes.
- Query live runtime errors and logs
Call `nextjs_call` with `get_errors` or `get_logs` on a discovered port to retrieve current build, runtime, and type errors or dev server logs.
- Inspect routes and page metadata
Use `nextjs_call` with `get_page_metadata` to list all routes, pages, and component metadata from the running app.
- Resolve Server Action IDs to source files
Call `nextjs_call` with `get_server_action_by_id` to map a Server Action ID back to its implementation file.
- Get version-accurate Next.js docs
Use `nextjs_docs` to locate the bundled docs in `node_modules/next/dist/docs/` that match your installed Next.js version.
- Set up browser automation
Use `browser_eval` to detect or install the `agent-browser` CLI so the agent can drive a browser directly.
Tags
- anthropic
- llm
- ai-model
- development
- awesome-list
Related MCP servers
Context7 MCP
OfficialOfficial Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Chrome DevTools MCP
OfficialOfficial Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Mastra/mcp
OfficialClient implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
GitHub MCP Server
OfficialConnect your AI assistant to GitHub repositories, issues, pull requests, and search.