Ensure Clockify task
clockify_ensure_taskFind a task by name in a Clockify project, or create it if absent, to sync external labels like GitHub issues.
Instructions
Finds a task by name under a project or creates it (e.g. sync a GitHub label). Pass config_root as that repo's git toplevel when this MCP is user-scoped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Task name (e.g. GitHub label name). | |
| project_id | Yes | Clockify project ID. | |
| 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. |