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

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

Share Dart with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API token sign-in, 15 tools (7 read-only).

---

To give your team Dart in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Dart integration in a Metorial portal, and each person signs in to Dart with their own account. Agents can create, read, update, and delete tasks with properties like status, priority (P0–P3), assignees, due dates, tags, and custom fields. The integration has 15 tools, 7 read-only, 6 write and 2 destructive, plus 3 triggers.

**What you will learn**

- How an admin shares Dart in a portal and how each person connects
- The 2 OAuth scopes Dart can request, and what each one allows
- How to keep the 7 read-only tools and reject the other 8

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Dart 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 |
| --- | --- | --- |
| **API Token** | API token | `token` |
| **OAuth** (default) | OAuth | Signs in to Dart |

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

### API Token

To connect, a person enters:

- `token`: Dart API token (starts with dsa_). Find it at Settings > Account in Dart.

### OAuth

People sign in to Dart and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `read` | Read | View your Dart data |
| `write` | Write | Change your Dart data |

## Use your own Dart OAuth app

With your own OAuth app, people see your company's name on the Dart 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 Dart and copy the **Redirect URI**.

2. **Register the app with Dart**

   Create an OAuth app or client in Dart 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 Dart integration.

## Admin: share Dart 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 Dart. Under **Auth Method**, keep **OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Dart as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Dart

### In the portal

1. **Open Dart in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Dart 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 dart
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth**. To connect with **API Token** 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 Dart 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 dart
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 7 read-only tools, such as `get_doc` and `get_task`, and lose the 6 write tools, such as `create_doc` or `update_doc`, and the 2 destructive tools, such as `delete_doc` 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](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list dart
metorial tools <integration-id>
metorial call <integration-id> get_workspace_config -d '{}'
```

`metorial tools` lists the 15 tools, minus any you rejected. `get_workspace_config` takes no input. 

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

## Tools

### Read-only tools (7)

- `list_comments`: Lists comments on a specific task. Needs `taskId`.
- `list_tasks`: Lists and filters tasks across dartboards.
- `get_workspace_config`: Retrieves workspace configuration including available dartboards, folders, statuses, assignees, tags, priorities, sizes, task types, and custom property definitions.
- `get_task`: Retrieves full details of a single task by its ID, including description, attachments, custom properties, and task relationships. Needs `taskId`.
- `list_docs`: Lists and searches documents in Dart.
- `get_doc`: Retrieves a Dart document by ID, including its full markdown content, title, folder, and link.
- `get_current_user`: Checks the connected Dart account and returns the authenticated user ID, name, and email.

### Write tools (6)

- `update_doc`: Updates an existing document's title, folder, or content. Needs `docId`.
- `create_task`: Creates a new task in a Dart dartboard. Needs `title`.
- `create_doc`: Creates a new document in Dart. Needs `title`.
- `create_comment`: Adds a comment to a task. Needs `taskId` and `text`.
- `update_task`: Updates an existing task's properties including title, description, status, priority, assignees, dates, tags, custom properties, and task relationships (blockers, subtasks, duplicates, related). Needs `taskId`.
- `add_task_time_tracking`: Records time spent on a Dart task and returns the updated task.

### Destructive tools (2)

- `delete_doc`: Moves a document to the trash in Dart. Needs `docId`.
- `delete_task`: Moves a task to the trash in Dart. Needs `taskId`.

## Triggers

Dart has 3 triggers, which fire on events in Dart:

- `inbound_webhook`
- `task_events`: Triggers when tasks are created or updated in Dart.
- `doc_events`: Triggers when documents are created or updated in Dart.

## 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 Dart 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
- [Dart on metorial.com](https://metorial.com/integrations/dart): the integration overview