next-devtools-mcp
by vercel·★ 747·Score 54
Next.js DevTools MCP server providing development tools and utilities for Next.js applications.
Overview
next-devtools-mcp is an MCP server created by Vercel that provides comprehensive Next.js development tools for coding agents like Claude and Cursor. It offers both runtime diagnostics for running Next.js applications and development automation features. The server provides tools for accessing Next.js documentation, performing browser automation, and managing development workflows. It's specifically designed to work with Next.js 16+ projects but also offers compatibility with earlier versions.
Try asking AI
After installing, here are 7 things you can ask your AI assistant:
When to choose this
Choose this MCP server when working with Next.js projects and need runtime diagnostics, automatic documentation access, or development automation within AI coding assistants.
When NOT to choose this
Avoid if you're not using Next.js, or prefer a more general-purpose web development MCP server without framework-specific optimizations.
Tools this server exposes
5 tools extracted from the READMEinitinit(project_path?: string)Initialize Next.js DevTools MCP context and establish documentation requirements.
nextjs_docsnextjs_docs(action: 'search'|'get', query?: string, path?: string, anchor?: string, routerType?: 'app'|'pages'|'all')Search and retrieve Next.js official documentation and knowledge base.
browser_evalbrowser_eval(action: string, browser?: string, headless?: boolean, ...)Automate and test web applications using Playwright browser automation.
nextjs_indexnextjs_index()Discover all running Next.js dev servers and list their available MCP tools.
nextjs_callnextjs_call(port: number, toolName: string, args?: object)Execute a specific MCP tool on a running Next.js dev server.
Comparable tools
Installation
Installation
Using add-mcp CLI:
npx add-mcp next-devtools-mcp@latestManual installation:
{
"mcpServers": {
"next-devtools": {
"command": "npx",
"args": ["-y", "next-devtools-mcp@latest"]
}
}
}FAQ
- How do I initialize the Next.js DevTools MCP server?
- Call the `init` tool at the beginning of each Next.js development session to establish proper context and documentation requirements.
- Which Next.js versions are supported?
- The server works with all Next.js versions, but runtime diagnostics are only available for Next.js 16+ projects.
- How do I access Next.js documentation through the MCP server?
- Use the `nextjs_docs` tool with a two-step process: first search by keyword to find relevant documentation paths, then fetch the full content by path.
Compare next-devtools-mcp with
Last updated · Auto-generated from public README + GitHub signals.