| name | nextjs-devtools |
| description | Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps.
Use when working on Next.js applications, debugging routing, or inspecting app structure.
NOT for general React or non-Next.js projects.
|
Next.js DevTools
Inspect and debug Next.js applications via MCP server.
Quick Start
bash scripts/start-server.sh
python3 scripts/mcp-client.py call \
-s "npx next-devtools-mcp@latest" \
-t list-routes
Available Tools
| Tool | Description |
|---|
list-routes | Get all app routes |
get-route-info | Details for specific route |
list-components | React components in app |
get-build-info | Build configuration |
get-config | next.config.js settings |
Workflow Patterns
Pattern 1: Route Inspection
python3 scripts/mcp-client.py call \
-s "npx next-devtools-mcp@latest" \
-t list-routes
python3 scripts/mcp-client.py call \
-s "npx next-devtools-mcp@latest" \
-t get-route-info \
-p '{"route": "/api/auth"}'
Pattern 2: Debug Build Issues