vercel/next-devtools-mcp
Next.js Development for Coding Agent
Platform-specific configuration:
{
"mcpServers": {
"next-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"next-devtools-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://npmjs.org/package/next-devtools-mcp)
next-devtools-mcp is a Model Context Protocol (MCP) server that provides Next.js development tools and utilities for coding agents like Claude and Cursor.
Install the MCP server for all your coding agents:
npx add-mcp next-devtools-mcp@latestAdd -y to skip the confirmation prompt and install to all detected agents already in use in the project directory. Add -g to install globally across all projects.
Add the following config to your MCP client:
{
"mcpServers": {
"next-devtools": {
"command": "npx",
"args": ["-y", "next-devtools-mcp@latest"]
}
}
}> [!NOTE] > Using next-devtools-mcp@latest ensures that your MCP client will always use the latest version of the Next.js DevTools MCP server.
<details> <summary>Amp</summary>
Using Amp CLI:
amp mcp add next-devtools -- npx next-devtools-mcp@latestOr configure manually:
Follow Amp's MCP documentation and apply the standard configuration shown above.
</details>
<details> <summary>Claude Code</summary>
Use the Claude Code CLI to add the Next.js DevTools MCP server:
claude mcp add next-devtools npx next-devtools-mcp@latestAlternatively, manually configure Claude by editing your MCP settings file and adding the configuration shown above.
</details>
<details> <summary>Codex</summary>
Using Codex CLI:
codex mcp add next-devtools -- npx next-devtools-mcp@latestOr configure manually:
Follow the MCP
Loading reviews...