nextjs-devtools

Inspect Next.js routes, components, build info, and next.config.js settings via MCP.

27|11|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill nextjs-devtools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-devtools
Source: https://github.com/mjunaidca/mjs-agent-skills/tree/main/.claude/skills/nextjs-devtools
Command: npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill nextjs-devtools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Next.js developers spend time inspecting routes, components, and build information to debug apps. This Skill provides MCP-based tooling to inspect Next.js apps, including routes, components, build info, and app structure.

Core Features & Use Cases

  • Route inspection: List all app routes
  • Route details: Get details for a specific route
  • Component discovery: List React components in the app
  • Build/config insights: Retrieve build info and next.config.js settings
  • Use when debugging Next.js apps or exploring app structure

Quick Start

Start an MCP-enabled Next.js devtools server and run tools like list-routes or list-components against your Next.js project.

Frequently Asked Questions about nextjs-devtools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug routes in a Next.js application?

Debug Next.js routes by using MCP-based devtools to list all app routes, retrieve specific route details, and inspect routing configurations. This exposes your app structure to diagnose routing issues and verify route setup without manual file inspection.

Can I inspect Next.js components and build configuration from the command line?

Yes. MCP devtools let you list React components in your Next.js project and retrieve build information and next.config.js settings via command-line tools, streamlining app exploration and configuration verification.

What's the fastest way to explore a Next.js app's structure and configuration?

Use MCP devtools to query routes, components, and build info in one workflow. This eliminates manual file navigation and provides structured inspection of your Next.js app's full architecture, config, and component layout.

How do I verify my Next.js build configuration and app routes during debugging?

MCP devtools expose routes, route details, build information, and next.config.js settings through a unified interface. Query this data to confirm your configuration is correct and diagnose build or routing problems systematically.

Does this tool work with custom Next.js project structures?

Yes. The devtools inspect your actual Next.js project by reading routes, components, and next.config.js from your app directory, adapting to your project structure without requiring manual configuration.