Ensure Clockify project
clockify_ensure_projectFind an existing Clockify project by name or create it if missing, using the repo name from config by default.
Instructions
Finds a project by name or creates it. Defaults to the repo name from .clockify/config.yml / folder when name omitted. Pass config_root as that repo's git toplevel when this MCP is user-scoped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name. Defaults from .clockify/config.yml / repo folder. | |
| config_root | No | Absolute git toplevel of the repo that contains .clockify/config.yml. Resolve once per session with `git rev-parse --show-toplevel` from the working directory (open tabs are not required); reuse that string on later calls unless the repo or focused root changed. Do not pass a multi-root .code-workspace folder. | |
| workspace_id | No | Workspace ID override. |