productivity
Clockify MCP Integration for Claude Agent SDK
Connect Clockify to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Clockify to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Clockify MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-clockify": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=clockify",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=clockify --write=deny Why Use KosmoKrator Here
Expose only Clockify instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Clockify Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Clockify integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__clockify__clockify_list_workspaces | clockify.clockify_list_workspaces | Read | List all Clockify workspaces the authenticated user belongs to. Returns workspace IDs and names needed for other Clockify tools. |
integration__clockify__clockify_get_workspace | clockify.clockify_get_workspace | Read | Get details for a single Clockify workspace by ID. |
integration__clockify__clockify_list_projects | clockify.clockify_list_projects | Read | List projects in a Clockify workspace. Optionally filter by name and paginate results. |
integration__clockify__clockify_get_project | clockify.clockify_get_project | Read | Get details for a single Clockify project by ID. |
integration__clockify__clockify_create_project | clockify.clockify_create_project | Write | Create a new project in a Clockify workspace. |
integration__clockify__clockify_list_time_entries | clockify.clockify_list_time_entries | Read | List time entries in a Clockify workspace. Optionally filter by date range or project. |
integration__clockify__clockify_get_time_entry | clockify.clockify_get_time_entry | Read | Get details for a single Clockify time entry by ID. |
integration__clockify__clockify_create_time_entry | clockify.clockify_create_time_entry | Write | Create a new time entry in a Clockify workspace. Provide start/end times, a description, and optionally a project. |
integration__clockify__clockify_update_time_entry | clockify.clockify_update_time_entry | Write | Update an existing Clockify time entry. Provide the fields you want to change. |
integration__clockify__clockify_delete_time_entry | clockify.clockify_delete_time_entry | Write | Delete a Clockify time entry. This action cannot be undone. |
integration__clockify__clockify_list_tasks | clockify.clockify_list_tasks | Read | List tasks for a Clockify project. |
integration__clockify__clockify_get_current_user | clockify.clockify_get_current_user | Read | Get the authenticated Clockify user profile. Use this to verify your API key is working. |