Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

To let Cursor inspect a running Next.js app, use the official next-devtools-mcp bridge with Next.js 16 or later. Add its configuration, start the development server, and enable the server in Cursor’s MCP controls. The bridge gives Cursor development-time context such as routes, errors, runtime state, and logs; it is different from building and deploying your own application MCP endpoint.

Choose the right kind of Next.js MCP server

“Next.js MCP server” can mean two different things. Pick based on what you want Cursor—or another MCP client—to do:

Option Purpose Where it runs Endpoint or configuration
Next.js dev-tools bridge Let a coding agent inspect a running app while you develop Alongside a local Next.js development server next-devtools-mcp; the Next.js dev server provides /_next/mcp
Custom application MCP route Expose tools that your application defines to MCP clients As part of the application and its deployment A route such as app/mcp/route.ts, served at /mcp in the Vercel example

For Cursor-assisted development, start with the dev-tools bridge. It is not a production database or shell interface, and it does not make a deployed app’s internals available by itself. Build a custom route when you need application-owned tools, authentication, and a separately operated endpoint. The two endpoint paths, /_next/mcp and /mcp, are not interchangeable.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prerequisites for the official development bridge

  • A Next.js project running Next.js 16 or later. The official integration’s stated minimum is Next.js 16.
  • Cursor with MCP support, and permission to run the package through npx.
  • The project’s usual package manager and development command. This setup does not require replacing your project’s package manager.

The integration is for coding agents that connect to a running development server. If the project is on an earlier Next.js version, do not expect this official bridge setup to work; upgrade or use a separately designed MCP server instead.

#1 Best Overall
Sale
Apple 2025 MacBook Pro Laptop with Apple M5 chip with 10‑core CPU and 10‑core GPU: Built for AI, 14.2-inch Liquid Retina XDR Display, 24GB Unified Memory, 1TB SSD Storage; Space Black
  • SUPERCHARGED BY M5 — The 14-inch MacBook Pro with M5 brings next-generation speed and powerful on-device AI to personal, professional, and creative tasks. Featuring all-day battery life and a breathtaking Liquid Retina XDR display with up to 1600 nits peak brightness, it’s pro in every way.*
  • HAPPILY EVER FASTER — Along with its faster CPU and unified memory, M5 features a more powerful GPU with a Neural Accelerator built into each core, delivering faster AI performance. So you can blaze through demanding workloads at mind-bending speeds.
  • BUILT FOR APPLE INTELLIGENCE — Apple Intelligence is the personal intelligence system that helps you write, express yourself, and get things done effortlessly. With groundbreaking privacy protections, it gives you peace of mind that no one else can access your data — not even Apple.*
  • ALL-DAY BATTERY LIFE — MacBook Pro delivers the same exceptional performance whether it’s running on battery or plugged in.
  • APPS FLY WITH APPLE SILICON — All your favorites, including Microsoft 365 and Adobe Creative Cloud, run lightning fast in macOS.*

Set up the Next.js bridge for Cursor

1. Add the Next.js MCP configuration

At the repository root, create .mcp.json with the official bridge command:

{
  "mcpServers": {
    "next-devtools": {
      "command": "npx",
      "args": ["-y", "next-devtools-mcp@latest"]
    }
  }
}

The -y option lets npx proceed without pausing for an interactive install confirmation. The @latest tag means the package version selected can change over time; if your team needs repeatable dependency resolution, agree on a versioning policy rather than assuming the tag stays fixed.

2. Start or restart the development server

Run the project’s normal development command, for example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Lenovo ThinkPad L16 Gen 2 Business AI Laptop, 16" FHD+, Intel Core Ultra 7 255U, 32GB DDR5, 1TB SSD, HDMI, Fingerprint, Backlit, Wi-Fi 6E, Long Battery Life, Windows 11 Pro, 7-in-1 USB-C Hub Bundle
  • [Built for Heavy Multitasking & Business Workloads] Configured with 32GB high-bandwidth DDR5 RAM and a 1TB PCIe NVMe M.2 SSD, this laptop handles large spreadsheets, data analysis, presentations, CRM systems, browser-heavy workflows, and AI-assisted business tools with ease—ideal for professionals working across multiple applications all day.
  • [Business-Class Performance with Intel Core Ultra 7] Powered by the Intel Core Ultra 7 255U Processor (12 Cores, 14 Threads, up to 5.2GHz), delivering strong multi-core performance, integrated AI acceleration, and energy-efficient operation. Designed for enterprise users, analysts, developers, and managers who need consistent, reliable performance for long work sessions—not just short bursts.
  • [16" Productivity Display – More Space, Less Scrolling] Features a 16″ WUXGA (1920×1200) IPS display with 16:10 aspect ratio, antiglare coating, and 400 nits brightness, providing more vertical workspace for documents, coding, dashboards, financial models, and multitasking, making it more efficient than standard 16:9 laptops.
  • [Enterprise-Ready Connectivity & Security] 2 x USB-C (Thunderbolt 4, USB 40Gbps), 2 x USB-A (USB 5Gbps) – one always on, 1 x USB-A (hi-speed USB), 1x Headphone / mic comb, 1 x HDMI, 1 x Ethernet (RJ-45), 1 x Kensington Nano Security Slot, Fingerprint, Backlit Keyboard, Wi-Fi 6E + Bluetooth, Windows 11 Pro, supporting business security, remote management, virtualization, and professional workflows.
  • [ThinkPad L16 – Built for Mobility & Long-Term Business Use] Positioned above entry-level models, the ThinkPad L16 Gen 2 offers stronger build quality, MIL-STD-810H–tested durability, all-day battery life, and IT-friendly reliability, making it a smarter choice for corporate environments, managed deployments, remote work, and professionals upgrading from E-series or consumer laptops.
npm run dev

The bridge discovers a running Next.js instance. If the dev server was already running when you added the configuration, restart it so the integration can discover the app. Keep that development server running while you ask Cursor for live project context.

3. Make sure Cursor has a configuration it reads

Next.js documents the root .mcp.json setup. Cursor documents project MCP configuration at .cursor/mcp.json and global configuration at ~/.cursor/mcp.json. If Cursor does not load the root configuration, register the same local command in the project-specific Cursor file:

{
  "mcpServers": {
    "next-devtools": {
      "command": "npx",
      "args": ["-y", "next-devtools-mcp@latest"]
    }
  }
}

Use one authoritative project configuration rather than maintaining duplicate entries in multiple files. Cursor says project configuration takes priority over a global entry with the same server name. A shared project file is useful when the team wants the same MCP setup; a global file is appropriate for a personal server configuration across projects.

Rank #3
Sale
Apple 2026 MacBook Pro Laptop with Apple M5 Pro chip with 15-core CPU and 16-core GPU: Built for AI, 14.2-inch Liquid Retina XDR Display, 24GB Unified Memory, 1TB SSD, Wi-Fi 7; Space Black
  • FAST RUNS IN THE FAMILY — The 14-inch MacBook Pro with the M5 Pro or M5 Max chip brings next-generation speed and powerful on-device AI to personal, professional, and creative tasks. With all-day battery life, double the starting storage,* and a breathtaking Liquid Retina XDR display, it’s pro in every way.*
  • BUCKLE UP — Along with a next-generation CPU, faster unified memory, and up to 2x faster SSD storage,* M5 Pro and M5 Max feature a more powerful GPU with a Neural Accelerator built into each core, delivering faster AI performance and on-device training capabilities. So you can blaze through demanding workloads at mind-bending speeds.
  • BUILT FOR AI — Apple silicon, and every major component that powers it, is designed to run demanding on-device AI workloads like LLM inference and training. And Apple Intelligence helps you write, express yourself, and get things done effortlessly with groundbreaking privacy protections at every step.*
  • ALL-DAY BATTERY LIFE — MacBook Pro delivers the same exceptional performance whether it’s running on battery or plugged in.*
  • MACOS RUNS APPS FAST — All your go-to apps run lightning fast in macOS, including built-in apps like FaceTime and Messages. Plus, built-in virus protection and free software updates help keep your Mac running smoothly and securely.

4. Enable it and try a task that needs live context

Open Cursor’s Customize/MCP controls and verify that next-devtools is enabled. Then ask a question grounded in the running app, such as “Inspect the current Next.js build errors” or “List the routes in the running app.” Cursor considers available MCP tools and may ask you to approve a tool call. Review the requested action before approving it; if the tools are disabled or a request remains unapproved, Cursor will not use them.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What Cursor can inspect through the bridge

Next.js 16 includes a development-server endpoint at /_next/mcp; next-devtools-mcp discovers the running instance and forwards requests to it. The documented capabilities include:

  • Build, runtime, and type errors.
  • Live state queries and development logs.
  • Route, component, and rendering metadata.
  • Server Action and component-hierarchy inspection.

That context can help Cursor diagnose a current development issue without requiring you to paste every error or route detail into chat. Its usefulness depends on having the relevant app running and on the requested information being among the bridge’s available tools. It does not imply unrestricted access to production data or a remote deployment.

Rank #4
Dell Precision 7680 Laptop, NVIDIA RTX 2000 Ada 8GB, i7-13850HX, 64GB DDR5
  • POWERFUL FOR CREATIVITY - The Dell Precision 7000 series, positioned at the apex of the Precision lineup, surpasses the 3000 and 5000 series and aligns closely with the evolving direction of the Dell Pro Max series. This top-tier 7680 features the NVIDIA RTX 2000 Ada 8GB GPU to deliver robust performance for professionals in design, architecture, photography, video editing, and engineering. Furthermore, the series' intelligent design for data science leverages AI to optimize system performance for key applications, enabling accelerated workflow efficiency
  • HIGH PERFORMANCE - Powered by Intel Core i7-13850HX vPro Processor for superior efficiency and speed, 64GB DDR5 CAMM RAM and 1TB PCIe NVMe M.2 SSD for seamless multitasking and fast storage. CAMM was designed specifically to overcome the performance limits of SODIMM while reducing both Z height and routing traces on the PCB to ultimately allow for laptops with both faster RAM and thinner profiles
  • CRISP DISPLAY - 16" FHD+ (1920 x 1200) Anti-Glare 45% NTSC display delivers crisp visuals, supported by the ability to connect 4 external monitors via HDMI, USB-C and Thunderbolt ports at 4K (3840x2160) @60Hz (without docking station). 1080p FHD RGB webcam for crystal-clear video calls
  • VERSATILE CONNECTIVITY - Equipped with 2x Thunderbolt 4, USB-C, 2x USB-A, HDMI, Ethernet (RJ-45), and an Audio combo jack. With Wi-Fi 6E and Bluetooth 5.2, ensuring fast wireless connectivity and compatibility with a wide range of peripherals. A full-size keyboard with a dedicated numeric keypad boosts productivity.
  • OPERATING SYSTEM - Windows 11 Pro 64‑bit, with AI‑powered Copilot, offers intelligent assistance to streamline complex professional workflows, enhance productivity, and support advanced multitasking across demanding applications. Built for workstation‑class computing, it delivers enterprise‑grade security and IT manageability

When to build an application-owned MCP route instead

Use a custom MCP server when you want to define the tools your product exposes—for example, tools governed by your own application logic, authentication, and deployment lifecycle. A Vercel-maintained Next.js example uses mcp-handler and the MCP TypeScript SDK in an App Router handler at app/mcp/route.ts; its local endpoint is http://localhost:3000/mcp. The example states that Node.js 20 or later is required for Vercel deployment.

This is a separate implementation, not a different way of naming the dev-tools endpoint. The dev-tools integration is tied to a running development server and helps an agent inspect the project. A custom route is application code that you operate and expose to MCP clients; you must choose its tools, access controls, transport, and deployment behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Local and remote MCP configuration choices

Cursor documents stdio, SSE, and Streamable HTTP transports. For this local workflow, the command-and-arguments configuration runs the bridge as a local process over stdio. Remote servers use a URL and may require authentication configuration; choose the transport supported by the server rather than treating a local command entry as a remote connection.

Best Value
Lenovo 15.6" Essential Laptop, 2026 Edition, 8GB DDR5 256GB SSD
  • POWERFUL PERFORMANCE FOR PRODUCTIVITY: Equipped with Intel 4-Core CPU and 8GB DDR5 RAM, this 2026 Edition Lenovo laptop delivers smooth multitasking for small business operations, student assignments, and daily office work. The 256GB SSD ensures fast boot times and quick file access, keeping you efficient throughout your workday.
  • CRYSTAL-CLEAR VISUAL EXPERIENCE: Features a 15.6-inch FHD (1920x1080) anti-glare display that reduces eye strain during extended use. Perfect for video conferences, document editing, spreadsheet analysis, and multimedia content consumption with vibrant colors and sharp details.
  • ALL-DAY BATTERY LIFE: Long-lasting battery keeps you productive without constantly searching for outlets. Ideal for students moving between classes, professionals working remotely, or anyone who needs reliable computing power throughout the day without interruption.
  • PORTABLE AND LIGHTWEIGHT DESIGN: Slim profile and portable construction make this laptop easy to carry in backpacks or briefcases. Perfect for students commuting to campus, business travelers, or remote workers who need computing power on the go without the bulk.
  • READY TO USE OUT OF THE BOX: Pre-installed with Windows 11, offering an intuitive interface, enhanced security features, and compatibility with essential business and educational software. Includes multiple USB ports, HDMI output, and wireless connectivity for seamless integration with your devices.

Keep credentials out of committed configuration. Cursor supports environment variables and OAuth flows in relevant setups, but its stdio-only envFile option does not apply to remote servers. For remote configuration, use the server’s supported authentication method and Cursor’s supported environment-variable interpolation or another appropriate secret mechanism. Do not put an API key or other secret directly in a repository file.

Common problems and fixes

  • The server does not appear in Cursor: Check the spelling and location of the file. The Next.js bridge guide uses root .mcp.json; Cursor project and global files are .cursor/mcp.json and ~/.cursor/mcp.json. Confirm Cursor is configured to read the file you used, then restart Cursor to reload its configuration.
  • Cursor cannot find a running app: Start the project with its development command, such as npm run dev. The bridge needs a running Next.js development instance; restart the dev server if it was already running before setup.
  • The project is on an unsupported Next.js version: Verify the version in the project. The official integration requires Next.js 16 or later; no official documentation establishes support for earlier releases.
  • A tool call is not happening: Check the enabled state in Cursor’s MCP controls and respond to any approval prompt. Availability does not mean every tool call is automatically approved.
  • The client is pointed at the wrong URL: For dev-tools introspection, the Next.js development server’s built-in path is /_next/mcp. For the custom application example, the route is /mcp. Confirm which architecture the server implements before changing a URL.
  • A remote server rejects authentication: Verify the configured URL, transport, headers or environment-variable interpolation, and the authentication method supported by that server. Remote setup differs from a local stdio process.

Visual screenshots are a separate task

The Next.js dev-tools bridge supplies project context; it is not the same thing as rendering a page to an image. If you also need a screenshot of a publicly reachable page for visual QA, reports, or documentation, ScreenshotNeo is a separate website screenshot API and MCP server for developers. It does not replace the Next.js bridge or expose the app’s internal development state.

Or skip the browser setup

For a publicly reachable page, one GET request returns an image or PDF. For example, this cURL call saves a WebP screenshot of Stripe:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for the request options. Equivalent Python and Node.js examples:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo removes supported cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed. Its MCP server offers take_screenshot, get_page_info, and capture_pdf tools for AI agents, including Cursor and Claude. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Sign up for the free plan.

Cost and operational considerations

The Next.js bridge setup uses npx to run the package and requires a running development server; the sources cited for this setup do not state a separate bridge price, performance figure, or availability guarantee. Its operational dependency is the local development instance: without that instance, the bridge cannot discover the app to inspect. The custom-route approach has a different lifecycle because it is code deployed and operated with the application.

For team use, decide whether the MCP configuration belongs in the repository or only in a developer’s global Cursor settings. Share only the command configuration, not credentials. When changing the setup, update the authoritative file and reload the relevant process—Cursor for its config, and the Next.js dev server when it was running before the bridge was configured.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.