MetorialDocs

Set up Clockify in Metorial for Claude, ChatGPT and Cursor

Share Clockify with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 43 tools (17 read-only).

To give your team Clockify in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Clockify integration in a Metorial portal, and each person connects with an API key. Agents can track work hours and timers, manage projects, tasks, clients, tags, and user groups, and generate detailed or summary reports. The integration has 43 tools, 17 read-only, 18 write and 8 destructive, plus 11 triggers.

What you'll learn

  • How an admin shares Clockify in a portal and how each person connects
  • What Clockify asks for when you connect, and where to find it
  • How to keep the 17 read-only tools and reject the other 26

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Clockify API key. Generate from Profile Settings > Advanced tab > Manage API keys.

Setup settings

Setup also asks for:

  • workspaceId: The Clockify workspace ID to operate on
  • dataRegion (optional): Data region for the Clockify API. Use "global" for the default region, or select a specific region (euc1=EU/Germany, use2=USA, euw2=UK, apse2=AU) One of "global", "euc1", "use2", "euw2", "apse2".

Admin: share Clockify in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Clockify. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Clockify.

Choose who gets it

Add the access groups that should see Clockify. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Clockify integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search clockify

Employee: connect Clockify

In the portal

Open Clockify in the catalog

Sign in to your portal and open Clockify. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search clockify
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Clockify connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list clockify
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 17 read-only tools, such as get_tags and get_tasks, and lose the 18 write tools, such as create_tag or stop_timer, and the 8 destructive tools, such as delete_tag or delete_task.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list clockify
metorial tools <integration-id>
metorial call <integration-id> get_current_user -d '{}'

metorial tools lists the 43 tools, minus any you rejected. get_current_user takes no input. It gets the profile of the currently authenticated user, including their default workspace and settings.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (17)

  • get_users: List users in the Clockify workspace.
  • get_current_user: Get the profile of the currently authenticated user, including their default workspace and settings.
  • get_time_entries: Retrieve time entries for a user in the workspace.
  • generate_summary_report: Generate a summary report from Clockify. Needs dateRangeStart and dateRangeEnd.
  • get_tags: List tags in the Clockify workspace.
  • get_projects: List projects in the Clockify workspace.
  • get_user_groups: List user groups in the Clockify workspace.
  • get_tasks: List tasks for a project in Clockify. Needs projectId.
  • get_clients: List clients in the Clockify workspace.
  • get_time_off_requests: List time off requests in the workspace.
  • get_invoices: List invoices in the Clockify workspace.
  • get_time_off_policies: List time off policies configured in the Clockify workspace.
  • get_workspace: Get details about the selected Clockify workspace, including settings, features, and billing info.
  • generate_detailed_report: Generate a detailed time entry report from the Clockify Reports API. Needs dateRangeStart and dateRangeEnd.
  • get_project: Get a Clockify project by ID, including visibility, archive state, and client assignment.
  • get_time_entry: Get a specific Clockify time entry by ID, including timer state, dates, project, task, and tags.
  • get_workspaces: List workspaces accessible to the authenticated Clockify user.

Write tools (18)

  • create_project: Create a new project in the Clockify workspace. Needs name.
  • stop_timer: Stop the currently running timer for a user.
  • create_invoice: Create a new invoice in Clockify. Needs clientId.
  • update_invoice: Update an existing invoice in Clockify. Needs invoiceId.
  • update_time_off_request_status: Approve or reject a time off request in Clockify. Needs requestId and status.
  • update_project: Update an existing project in Clockify. Needs projectId.
  • create_task: Create a new task within a Clockify project. Needs projectId and name.
  • update_task: Update an existing task in a Clockify project. Needs projectId and taskId.
  • update_time_entry: Update an existing time entry in Clockify. Needs timeEntryId and start.
  • create_time_entry: Create a new time entry or start a timer in Clockify. Needs start.
  • update_tag: Update an existing tag in Clockify. Needs tagId.
  • create_expense: Create a new expense entry in Clockify. Needs date.
  • create_user_group: Create a new user group in the Clockify workspace. Needs name.
  • create_client: Create a new client in the Clockify workspace. Needs name.
  • create_time_off_request: Submit a new time off request in Clockify. Needs policyId, start and end.
  • create_tag: Create a new tag in the Clockify workspace. Needs name.
  • update_user_group: Update a user group name, or add/remove users from the group. Needs groupId.
  • update_client: Update an existing client in Clockify. Needs clientId.

Destructive tools (8)

  • delete_tag: Delete a tag from the Clockify workspace. Needs tagId.
  • delete_time_entry: Delete a time entry from Clockify. Needs timeEntryId.
  • delete_invoice: Delete an invoice from Clockify. Needs invoiceId.
  • delete_client: Delete a client from the Clockify workspace. Needs clientId.
  • delete_project: Delete a project from Clockify. Needs projectId.
  • delete_task: Delete a task from a Clockify project. Needs projectId and taskId.
  • delete_user_group: Delete a user group from the Clockify workspace. Needs groupId.
  • delete_expense: Delete an expense entry from Clockify. Needs expenseId.

Triggers

Clockify has 11 triggers, which fire on events in Clockify:

  • approval_events: Triggered when approval requests are created or their status changes.
  • user_events: Triggered when users join, leave, are activated/deactivated, or are updated in the workspace.
  • client_events: Triggered when clients are created, updated, or deleted.
  • scheduling_events: Triggered when scheduled assignments are created, updated, deleted, or published.
  • invoice_events: Triggered when invoices are created or updated.
  • time_off_events: Triggered when time off requests are submitted, approved, rejected, withdrawn, updated, or when balances change.
  • time_entry_events: Triggered when time entries are created, updated, deleted, split, restored, or when timers are started/stopped.
  • expense_events: Triggered when expenses are created, updated, deleted, or restored.
  • project_events: Triggered when projects are created, updated, or deleted.
  • task_events: Triggered when tasks are created, updated, or deleted within projects.
  • tag_events: Triggered when tags are created, updated, or deleted.

Next steps