codeloop_discover_screens
Scan the source tree to discover all navigable screens / pages / routes. Useful before screenshot sweeps.
When to use codeloop_discover_screens
Use `codeloop_discover_screens` when your AI agent needs to scan the source tree to discover all navigable screens / pages / routes. useful before screenshot sweeps.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| project_dir | string | no | Project root. |
What you get back
List of { route, file, screen_name, framework }.
FAQ
What does codeloop_discover_screens do?
Scan the source tree to discover all navigable screens / pages / routes. Useful before screenshot sweeps.
When should an AI agent call codeloop_discover_screens?
Use `codeloop_discover_screens` when your AI agent needs to scan the source tree to discover all navigable screens / pages / routes. useful before screenshot sweeps.
What does codeloop_discover_screens return?
List of { route, file, screen_name, framework }.
Is codeloop_discover_screens part of the CodeLoop MCP server?
Yes. CodeLoop ships as an MCP server installed via `npx codeloop init`. Cursor and Claude Code call it automatically once the User Rule (Cursor) or CLAUDE.md (Claude Code) is in place.