> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Teamwork in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/teamwork
Last updated: 2026-11-24

Share Teamwork with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 18 tools (9 read-only).

---

To give your team Teamwork in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Teamwork integration in a Metorial portal, and each person signs in to Teamwork with their own account. Agents can manage projects, task lists, and tasks with support for assignees, due dates, priorities, dependencies, subtasks, and custom fields. The integration has 18 tools, 9 read-only, 1 write and 8 destructive, plus 6 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Teamwork for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth** (default) | OAuth | Signs in to Teamwork after entering `siteName` |
| **API Key** | API token | `apiKey` |

The portal and `metorial setup` use **OAuth** unless someone picks another method.

### OAuth

Before the sign-in, setup asks for:

- `siteName` (optional): Optional: specific Teamwork site name to target during login

People sign in to Teamwork and approve the permissions it lists.

### API Key

To connect, a person enters:

- `apiKey`: Your Teamwork API key (found under Profile > API & Mobile)

### Setup settings

Whichever method you pick, setup also asks for:

- `siteName`: Your Teamwork site name (e.g. "yourcompany" from yourcompany.teamwork.com)
- `region` (optional): Data center region: "us" for .teamwork.com, "eu" for .eu.teamwork.com One of "us", "eu".

## Use your own Teamwork OAuth app

With your own OAuth app, people see your company's name on the Teamwork consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Teamwork and copy the **Redirect URI**.

2. **Register the app with Teamwork**

   Create an OAuth app or client in Teamwork and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Teamwork integration.

## Admin: share Teamwork in a portal

### In the dashboard

1. **Open Shared Resources**

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

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Teamwork. Under **Auth Method**, keep **OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Teamwork as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

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

```bash
metorial-admin portals access list <portal-id> --type provider_template --search teamwork
```

## Employee: connect Teamwork

### In the portal

1. **Open Teamwork in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Teamwork sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

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

### With the CLI

```bash
metorial catalog search teamwork
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth**. To connect with **API Key** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Teamwork 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.

```bash
metorial list teamwork
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 9 read-only tools, such as `get_task` and `list_tasks`, and lose the write tool `manage_task_list`, and the 8 destructive tools, such as `manage_task` or `manage_comment`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list teamwork
metorial tools <integration-id>
metorial call <integration-id> list_tasks -d '{}'
```

`metorial tools` lists the 18 tools, minus any you rejected. `list_tasks` takes no input. It retrieves tasks from Teamwork.

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

## Tools

### Read-only tools (9)

- `list_people`: Retrieve people (users) from Teamwork.
- `get_task`: Retrieve detailed information about a specific Teamwork task, including its status, assignees, dates, priority, and estimated time. Needs `taskId`.
- `get_activity`: Retrieve the latest activity feed from Teamwork.
- `list_projects`: Retrieve a list of projects from Teamwork.
- `list_tasks`: Retrieve tasks from Teamwork.
- `get_project`: Retrieve detailed information about a specific Teamwork project by its ID, including status, dates, company, and description. Needs `projectId`.
- `list_time_entries`: Retrieve time entries from Teamwork.
- `get_current_user`: Retrieve the authenticated Teamwork user, including their person ID, company, and administrator status.
- `list_milestones`: Find Teamwork milestones across accessible projects or within one project.

### Write tools (1)

- `manage_task_list`: Create a task list in a Teamwork project, or list existing task lists for a project. Needs `action` and `projectId`.

### Destructive tools (8)

- `manage_notebook`: Create, update, or delete a notebook (wiki-style document) in a Teamwork project. Needs `action`.
- `manage_project_people`: Add or remove people from a Teamwork project. Needs `action`, `projectId` and `personIds`.
- `manage_time_entry`: Create, update, or delete a time entry in Teamwork. Needs `action`.
- `manage_project`: Create, update, or delete a Teamwork project. Needs `action`.
- `manage_task`: Create, update, complete, reopen, or delete a Teamwork task. Needs `action`.
- `manage_message`: Create, update, or delete a message (discussion post) in a Teamwork project. Needs `action`.
- `manage_milestone`: Create, update, complete, reopen, or delete a milestone within a Teamwork project. Needs `action`.
- `manage_comment`: Create, update, or delete a comment on a Teamwork resource. Needs `action`.

## Triggers

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

- `comment_events`: Triggers when a comment is created, updated, or deleted on any resource (tasks, milestones, notebooks, files) in Teamwork.
- `message_events`: Triggers when a message (discussion post) is created, updated, or deleted in Teamwork.
- `time_entry_events`: Triggers when a time entry is created, updated, or deleted in Teamwork.
- `project_events`: Triggers when a project is created, updated, archived, completed, reopened, or deleted in Teamwork.
- `task_events`: Triggers when a task is created, updated, completed, reopened, deleted, or moved in Teamwork.
- `milestone_events`: Triggers when a milestone is created, updated, completed, reopened, or deleted in Teamwork.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Teamwork there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Teamwork on metorial.com](https://metorial.com/integrations/teamwork): the integration overview