本站支持搜索的镜像仓库:Docker Hub、gcr.io、ghcr.io、quay.io、k8s.gcr.io、registry.gcr.io、elastic.co、mcr.microsoft.com
next-devtools-mcp is a Model Context Protocol (MCP) server that provides Next.js development tools and utilities for AI coding assistants.
What is an MCP Server?
| Attribute | Details |
|---|---|
| Docker Image | mcp/next-devtools-mcp |
| Author | kgprs |
| Repository | [***] |
| Attribute | Details |
|---|---|
| Dockerfile | [***] |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | !Docker Scout Health Score |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/next-devtools-mcp --key [***] |
| Licence |
| Tools provided by this Server | Short Description |
|---|---|
browser_eval | Automate and test web applications using Playwright browser automation. |
enable_cache_components | Complete Cache Components setup for Next.js 16. |
nextjs_docs | Search and retrieve Next.js official documentation. |
nextjs_runtime | Interact with a running Next.js development server's MCP endpoint to query runtime information, diagnostics, and internals. |
upgrade_nextjs_16 | Guide through upgrading Next.js to version 16. |
browser_evalAutomate and test web applications using Playwright browser automation. This tool connects to playwright-mcp server and provides access to all Playwright capabilities.
CRITICAL FOR PAGE VERIFICATION: When verifying pages in Next.js projects (especially during upgrades or testing), you MUST use browser automation to load pages in a real browser instead of curl or simple HTTP requests. This is because:
IMPORTANT FOR NEXT.JS PROJECTS: If working with a Next.js application, PRIORITIZE using the 'nextjs_runtime' tool instead of browser console log forwarding. Next.js has built-in MCP integration that provides superior error reporting, build diagnostics, and runtime information directly from the Next.js dev server. Only use browser_eval's console_messages action as a fallback when nextjs_runtime tools are not available or when you specifically need to test client-side browser behavior that Next.js runtime cannot capture.
Available actions:
Note: The playwright-mcp server will be automatically installed if not present.
enable_cache_componentsComplete Cache Components setup for Next.js 16.
Handles ALL steps for enabling and verifying Cache Components:
Key Features:
Requires:
This tool embeds complete knowledge base for:
nextjs_docsSearch and retrieve Next.js official documentation. First searches MCP resources (Next.js 16 knowledge base) for latest information, then falls back to official Next.js documentation if nothing is found. Provides access to comprehensive Next.js guides, API references, and best practices.
nextjs_runtimeInteract with a running Next.js development server's MCP endpoint to query runtime information, diagnostics, and internals.
WHEN TO USE THIS TOOL - Use proactively in these scenarios:
Before implementing ANY changes to the app: When asked to add, modify, or fix anything in the application:
For diagnostic and investigation questions:
For agentic codebase search: Use this as FIRST CHOICE for searching the currently running app. If not found, fallback to static codebase search tools.
KEY PRINCIPLE: If the request involves the running Next.js application (whether to investigate OR modify it), query the runtime FIRST to understand current state before proceeding.
Start by calling action='list_tools' to discover what runtime information is available, then use those tools to gather context.
REQUIREMENTS:
Next.js exposes an MCP (Model Context Protocol) endpoint at /_next/mcp when started with:
This tool allows you to:
Typical workflow:
IMPORTANT: When calling tools:
If the MCP endpoint is not available:
upgrade_nextjs_16Guide through upgrading Next.js to version 16.
CRITICAL: Runs the official codemod FIRST (requires clean git state) for automatic upgrades and fixes, then handles remaining issues manually. The codemod upgrades Next.js, React, and React DOM automatically.
Covers:
The codemod requires:
After codemod runs, provides manual guidance for any remaining issues not covered by the codemod.
{ "mcpServers": { "next-devtools-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "mcp/next-devtools-mcp" ] } } }
Why is it safer to run MCP Servers with Docker?

免费版仅支持 Docker Hub 加速,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
免费版仅支持 docker.io;专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录方式配置轩辕镜像加速服务,包含7个详细步骤
在 Linux 系统上配置轩辕镜像源,支持主流发行版
在 Docker Desktop 中配置轩辕镜像加速,适用于桌面系统
在 Docker Compose 中使用轩辕镜像加速,支持容器编排
在 k8s 中配置 containerd 使用轩辕镜像加速
在宝塔面板中配置轩辕镜像加速,提升服务器管理效率
在 Synology 群晖NAS系统中配置轩辕镜像加速
在飞牛fnOS系统中配置轩辕镜像加速
在极空间NAS中配置轩辕镜像加速
在爱快ikuai系统中配置轩辕镜像加速
在绿联NAS系统中配置轩辕镜像加速
在威联通NAS系统中配置轩辕镜像加速
在 Podman 中配置轩辕镜像加速,支持多系统
配置轩辕镜像加速9大主流镜像仓库,包含详细配置步骤
无需登录即可使用轩辕镜像加速服务,更加便捷高效
需要其他帮助?请查看我们的 常见问题 或 官方QQ群: 13763429