ensure_workspace
Initialize the project-scoped .my-lit workspace (config, database, PDFs) if missing. Call this first in a new project; safe to run when already initialized.
Instructions
Create project-scoped .my-lit (config, DB, PDFs) if missing. Call this first in a new project.
Pass project_root as the absolute path of the workspace/repo using this MCP. Defaults to /.my-lit unless data_dir or MY_LIT_DATA_DIR is set. Idempotent: safe when already initialized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| data_dir | No | ||
| project_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |