list_allowed_roots
Lists the server's allowed-roots configuration, including primary project, extra roots, and valid cwd projects, so you can check where to run commands across projects without executing any.
Instructions
Returns the allowed-roots configuration of this MCP server: the primary project (MCP_PROJECT_ROOT), all registered roots (MCP_EXTRA_ROOTS, including globs), the existing projects under them (the list of directories you can use as "cwd") and whether MCP_BLOCK_CROSS_ROOT_READS is enabled. Use THIS tool whenever you need to find out whether — and with which "cwd" parameter — you can run a command in another project. It runs no commands — it only reads the configuration and lists directories. A project with a friendly name is shown as { path, name } and you can pass its "name" as "cwd".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||