Earn 14 free days when your bug report or suggestion is accepted — how it works
Discovery & advice

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

NameTypeRequiredDescription
project_dirstringnoProject 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.

Related