What problem does it solve?
This skill provides MCP-based tooling to inspect Next.js routes, components, and build information, enabling faster debugging and app discovery.
Core Features & Use Cases
- Inspect routes, components, and build info for Next.js applications.
- Debug and explore Next.js projects within an MCP-enabled workflow.
- Not applicable to general React or non-Next.js projects.
- On-demand access to MCP tools via the included mcp-client and start-server.sh scripts, enabling quick, repeatable tasks.
Quick Start
Start the MCP server with bash scripts/start-server.sh (default port 8809), or run commands directly with the mcp-client. Examples:
- List available tools: python3 scripts/mcp-client.py list --url http://localhost:8809
- List routes: python3 scripts/mcp-client.py call -s "npx next-devtools-mcp@latest" -t list-routes
- Get route info: python3 scripts/mcp-client.py call -s "npx next-devtools-mcp@latest" -t get-route-info -p '{"route":"/api/auth"}'