KosmoKrator

productivity

Clockify MCP Integration for LangGraph

Connect Clockify to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

12 functions 8 read 4 write API key auth

Connect Clockify to LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Clockify MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

{
  "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

Scoped tools

Expose only Clockify instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Clockify Tools Visible to LangGraph

LangGraph sees stable MCP tool names generated from the Clockify integration catalog.

MCP toolSource functionTypeDescription
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.

Related Clockify Pages