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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clockify_ensure_project"
}
}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. |