MetorialDocs

Set up Toggl in Metorial for Claude, ChatGPT and Cursor

Share Toggl with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 20 tools (12 read-only).

To give your team Toggl in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Toggl integration in a Metorial portal, and each person connects with an API token. Agents can track time with Toggl Track. The integration has 20 tools, 12 read-only, 7 write and 1 destructive, plus 6 triggers.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: Toggl Track API token. Found under "My Profile" in your Toggl account.

Setup settings

Setup also asks for:

  • workspaceId: Default Toggl workspace ID. Most API operations require a workspace context.

Admin: share Toggl 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 Toggl. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

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

Choose who gets it

Add the access groups that should see Toggl. 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 Toggl integration. Once it exists, check which groups have it:

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

Employee: connect Toggl

In the portal

Open Toggl in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (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 toggl
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Toggl 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 toggl
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 12 read-only tools, such as get_me and list_tags, and lose the 7 write tools, such as manage_tag or manage_task, and the destructive tool delete_time_entry.

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 toggl
metorial tools <integration-id>
metorial call <integration-id> get_me -d '{}'

metorial tools lists the 20 tools, minus any you rejected. get_me takes no input. It gets the profile and account details of the currently authenticated Toggl user, including their default workspace and timezone.

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

Tools

Read-only tools (12)

  • list_clients: List clients in a Toggl workspace.
  • list_workspace_users: List all users (members) in a Toggl workspace.
  • list_tasks: List tasks under a specific project in a Toggl workspace. Needs projectId.
  • get_me: Get the profile and account details of the currently authenticated Toggl user, including their default workspace and timezone.
  • list_time_entries: List recent time entries for the authenticated user.
  • list_tags: List all tags in a Toggl workspace.
  • get_report: Generate a summary or detailed time tracking report for a workspace. Needs reportType, startDate and endDate.
  • list_projects: List projects in a Toggl workspace.
  • get_workspace: Get details of a specific workspace, or list all workspaces the authenticated user belongs to.
  • get_time_entry: Retrieve a specific time entry by ID, or get the currently running time entry.
  • get_client: Retrieve a Toggl Track client by ID, including its archived state and notes.
  • get_project: Retrieve a Toggl Track project by ID, including its client, privacy, billing and estimate settings.

Write tools (7)

  • update_time_entry: Update an existing time entry's properties such as description, start/stop times, project, task, tags, or billable status. Needs timeEntryId.
  • stop_time_entry: Stop a currently running time entry.
  • manage_project: Create, update, or delete a project in Toggl Track.
  • manage_client: Create, update, or delete a client in Toggl Track.
  • manage_task: Create, update, or delete a task under a project in Toggl Track. Needs projectId.
  • create_time_entry: Create a new time entry in Toggl Track. Needs start and duration.
  • manage_tag: Create, update, or delete a tag in Toggl Track.

Destructive tools (1)

  • delete_time_entry: Permanently delete a time entry from Toggl Track. Needs timeEntryId.

Triggers

Toggl has 6 triggers, which fire on events in Toggl:

  • workspace_user_events: Triggered when workspace user memberships are created, updated, or deleted.
  • client_events: Triggered when clients are created, updated, or deleted in a workspace.
  • time_entry_events: Triggered when time entries are created, updated, or deleted in a workspace.
  • project_events: Triggered when projects are created, updated, or deleted in a workspace.
  • task_events: Triggered when tasks are created, updated, or deleted in a workspace.
  • tag_events: Triggered when tags are created, updated, or deleted in a workspace.

Next steps