productivity
Clockify MCP Integration for LangChain
Connect Clockify to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Clockify to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Clockify MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |