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

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

Share Bugherd with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 22 tools (11 read-only).

---

To give your team Bugherd in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Bugherd integration in a Metorial portal, and each person connects with an API key. Agents can track bugs and manage visual website feedback. The integration has 22 tools, 11 read-only, 9 write and 2 destructive, plus 5 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Bugherd for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `token` |

### API Key

To connect, a person enters:

- `token`: BugHerd API key found under Settings > General Settings

## Admin: share Bugherd 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 Bugherd. 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.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Bugherd

### In the portal

1. **Open Bugherd in the catalog**

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

2. **Authenticate**

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

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 bugherd
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Bugherd 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 bugherd
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 11 read-only tools, such as `get_task` and `list_tasks`, and lose the 9 write tools, such as `move_tasks` or `create_task`, and the 2 destructive tools, such as `delete_project` or `delete_attachment`.

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 bugherd
metorial tools <integration-id>
metorial call <integration-id> get_organization -d '{}'
```

`metorial tools` lists the 22 tools, minus any you rejected. `get_organization` takes no input. It retrieves details about the BugHerd organization/account associated with the API key.

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

## Tools

### Read-only tools (11)

- `list_attachments`: List all file attachments on a specific BugHerd task. Needs `projectId` and `taskId`.
- `get_organization`: Retrieve details about the BugHerd organization/account associated with the API key.
- `get_project`: Retrieve detailed information about a specific BugHerd project, including its members and guests. Needs `projectId`.
- `get_task`: Retrieve detailed information about a specific BugHerd task, including assignee, requester, tags, attachments, and metadata. Needs `taskId`.
- `list_projects`: List BugHerd projects.
- `list_users`: List users in the BugHerd organization.
- `list_comments`: List all comments on a specific BugHerd task. Needs `projectId` and `taskId`.
- `list_user_tasks`: List tasks assigned to a user across BugHerd projects.
- `get_task_by_local_id`: Find a BugHerd task by its project-scoped task number (#number in the UI).
- `list_tasks`: List tasks in a BugHerd project with flexible filtering. Needs `projectId`.
- `list_columns`: List built-in and custom Kanban board columns for a BugHerd project, including their IDs, names, and positions. Needs `projectId`.

### Write tools (9)

- `add_attachment`: Add a file attachment to a BugHerd task by providing a URL to the file. Needs `projectId`, `taskId`, `fileName` and `fileUrl`.
- `create_project`: Create a new BugHerd project linked to a website URL. Needs `name` and `devurl`.
- `create_comment`: Add a comment to a BugHerd task. Needs `projectId`, `taskId` and `text`.
- `create_column`: Add a new custom column to a BugHerd project's Kanban board. Needs `projectId` and `name`.
- `update_task`: Update an existing BugHerd task's properties. Needs `projectId` and `taskId`.
- `update_project`: Update an existing BugHerd project's settings. Needs `projectId`.
- `create_task`: Create a new task (bug/feedback) in a BugHerd project. Needs `projectId` and `description`.
- `update_column`: Rename an existing custom column on a BugHerd project's Kanban board. Needs `projectId`, `columnId` and `name`.
- `move_tasks`: Move one or more tasks from one BugHerd project to another in bulk. Needs `sourceProjectId`, `taskIds` and `targetProjectId`.

### Destructive tools (2)

- `delete_attachment`: Permanently delete a file attachment from a BugHerd task. Needs `projectId`, `taskId` and `attachmentId`.
- `delete_project`: Permanently delete a BugHerd project and all its associated data (tasks, comments, attachments). Needs `projectId`.

## Triggers

Bugherd has 5 triggers, which fire on events in Bugherd:

- `project_created`: Fires when a new project is created in BugHerd.
- `task_updated`: Fires when an existing task is modified in BugHerd (e.g., status change, reassignment, priority change).
- `comment_created`: Fires when a new comment is added to a task in BugHerd.
- `task_destroyed`: Fires when a task is deleted from a BugHerd project.
- `task_created`: Fires when a new task (bug/feedback item) is created in a BugHerd project.

## 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 Bugherd there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Bugherd on metorial.com](https://metorial.com/integrations/bugherd): the integration overview