You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/01-app/02-guides/mcp.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,8 @@ Through `next-devtools-mcp`, agents can use the following tools:
86
86
-**`get_project_metadata`**: Retrieve project structure, configuration, and dev server URL
87
87
-**`get_routes`**: Get all routes that will become entry points by scanning the filesystem. Returns routes grouped by router type (appRouter, pagesRouter). Dynamic segments appear as `[param]` or `[...slug]` patterns
88
88
-**`get_server_action_by_id`**: Look up Server Actions by their ID to find the source file and function name
89
+
-**`get_compilation_issues`**: Retrieve compilation warnings and errors for the whole project from the bundler. Turbopack only.
90
+
-**`compile_route`**: Trigger on-demand compilation of a specific route without making an HTTP request to it. Useful for warming the module graph, measuring compile time, or pre-compiling routes without needing live backends. Returns any compilation issues for the route. Turbopack only.
Copy file name to clipboardExpand all lines: packages/next/errors.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1178,5 +1178,6 @@
1178
1178
"1177": "The middleware \"%s\" accepts an async API directly with the form:\n\n export function middleware(request, event) {\n return NextResponse.redirect('/new-location')\n }\n\n Read more: https://nextjs.org/docs/messages/middleware-new-signature\n",
1179
1179
"1178": "The request.page has been deprecated in favour of \\`URLPattern\\`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n",
1180
1180
"1179": "Invariant: %s This is a bug in Next.js.",
1181
-
"1180": "Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options"
1181
+
"1180": "Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options",
1182
+
"1181": "Compilation failed but no issues were recorded"
0 commit comments