resolve_cwd
Verifies if a path or project name is inside allowed roots and returns the exact cwd for running commands. No execution; only validation, yielding the correct cwd or an error listing allowed roots.
Instructions
Verifies whether the given path (or a friendly project name) is inside the allowed roots of this MCP server and returns the exact "cwd" to use for running commands. Use this tool when you need to find out whether — and with which "cwd" — you can work in a specific project (e.g. your workspace folder). On success: { ok: true, cwd, matchedRoot, name? }; on failure: { ok: false, error, roots }. Runs no commands — it only validates the configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path or friendly project name to verify |