Discover and explore top open-source AI tools and projects—updated daily.
vercelNext.js development server for AI coding agents
New!
Top 91.8% on SourcePulse
Summary
next-devtools-mcp provides a Model Context Protocol (MCP) server tailored for Next.js development, enabling AI coding assistants like Claude and Cursor to automate tasks, access internal project state, and leverage comprehensive documentation. It bridges the gap between AI agents and running Next.js applications, offering developers enhanced productivity through intelligent automation and debugging capabilities.
How It Works
This project implements an MCP server that exposes Next.js development utilities as callable tools. It integrates directly with AI coding assistants by providing a standardized interface to interact with running Next.js dev servers. The server facilitates direct communication, allowing agents to query internal state, diagnostics, and errors, and to execute automated tasks such as application upgrades or component setup, leveraging the Next.js runtime and documentation context.
Quick Start & Requirements
Requires Node.js v20.19 or a newer LTS version, along with npm or pnpm. Installation involves configuring your MCP client with the provided JSON snippet, specifying npx next-devtools-mcp@latest as the command. Various AI clients (Amp, Claude Code, Codex, Cursor, Gemini, VS Code, Warp) offer specific CLI commands or UI integrations for simplified setup. For Next.js internal state access, Next.js v16 or later with MCP enabled is recommended.
Highlighted Details
upgrade-nextjs-16 and enable-cache-components setup.nextjs_docs tool provides access to an extensive Next.js 16 knowledge base and official documentation, searchable by query and category.browser_eval tool for automated browser testing, navigation, interaction, screenshots, and console error capture.nextjs_runtime tool allows querying running Next.js instances for errors, build status, routes, and diagnostics.Maintenance & Community
The provided README does not contain specific details regarding maintainers, community channels (like Discord/Slack), or project roadmaps.
Licensing & Compatibility
The project is released under the permissive MIT License, allowing for broad compatibility with commercial and closed-source applications.
Limitations & Caveats
Features like internal state access via nextjs_runtime necessitate Next.js v16 or later. The upgrade_nextjs_16 codemod requires a clean Git repository state for execution. The browser_eval tool's console message functionality is noted as a fallback, with nextjs_runtime being the preferred method for Next.js projects.
22 hours ago
Inactive
lackeyjb
e2b-dev