What problem does it solve?
Next.js development tooling via MCP provides developers with a centralized way to inspect and debug Next.js applications by exposing routes, components, and build information from a running app.
Core Features & Use Cases
- Route Discovery: List all app routes with details to verify routing configuration.
- Component Discovery: Enumerate React components used by the Next.js app for auditing structure.
- Build Insight: Retrieve build configuration and status to diagnose build-related issues.
- Use Case: While debugging a large Next.js project, quickly verify route mappings and component usage to accelerate issue resolution.
Quick Start
Start the MCP server:
bash scripts/start-server.sh
Connect with the MCP client to explore the app:
python3 scripts/mcp-client.py call --tool list-routes --url http://localhost:8809
python3 scripts/mcp-client.py call --tool list-components --url http://localhost:8809
python3 scripts/mcp-client.py call --tool get-build-info --url http://localhost:8809