MCP Catalogs
Home

next-devtools-mcp

by vercel·747·Score 54

Next.js DevTools MCP server providing development tools and utilities for Next.js applications.

developer-toolsbrowser-automationai-llm
53
Forks
14
Open issues
2 mo ago
Last commit
2d ago
Indexed

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:

you:Diagnose runtime errors and issues in Next.js applications
you:Automate browser testing of Next.js applications using Playwright
you:Search and retrieve official Next.js documentation and guides
you:Upgrade and migrate Next.js applications to newer versions
you:How do I initialize the Next.js DevTools MCP server?
you:Which Next.js versions are supported?
you:How do I access Next.js documentation through the MCP server?

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 README
  • initinit(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

nextjs-mcpwebdev-mcpreact-devtools-mcp

Installation

Installation

Using add-mcp CLI:

npx add-mcp next-devtools-mcp@latest

Manual 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.