productivity
Clockify MCP Integration for Vercel AI SDK
Connect Clockify to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Clockify to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Clockify MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI 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. |