Does Next.js have an MCP server?
Next.js maintains an official MCP server.
- Access
- Built into the product
- Endpoint
- Built into the Next.js 16+ dev server at /_next/mcp — in-product
- Package
- next-devtools-mcp
- Repository
- vercel/next-devtools-mcp
- Maintainer
- Vercel
- Language
- TypeScript
- Stars
- 822
- Last commit
- 15d ago
- Category
- Developer Tools
Next.js Development for Coding Agent
Project site: www.npmjs.com
Ships inside Next.js's own product rather than as a standalone server. Documented at nextjs.org.
Published on npm. The package page carries the exact launch arguments and required credentials.
Next.js Development for Coding Agent
Ships inside the vendor's own app or CLI rather than as a standalone download.
Add it from the terminal, then restart your session:
claude mcp add nextjs -- npx -y <package-from-readme>Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"nextjs": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"nextjs": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"nextjs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does Next.js have an official MCP server?
Yes. Next.js maintains an official MCP server, distributed as next-devtools-mcp on npm. The source lives at vercel/next-devtools-mcp on GitHub.
How do I connect Next.js to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
nextjs.org/docs/app/guides/mcp documents a built-in MCP endpoint at /_next/mcp in the Next.js 16+ dev server, reached through Vercel's vercel/next-devtools-mcp (npm next-devtools-mcp, published by Vercel's release bot). GitHub metadata is refreshed every six hours.
nextjs.org/docs/app/guides/mcp documents a built-in MCP endpoint at /_next/mcp in the Next.js 16+ dev server, reached through Vercel's vercel/next-devtools-mcp (npm next-devtools-mcp, published by Vercel's release bot).
- github data refreshed 2026-09-29, then every 6 hours
- vendor docs verified on 2026-09-29
Spotted something out of date? Tell us — corrections ship same-day.