# BugHerd and Claude Code integration

Use this guide to connect BugHerd to Claude Code so you can access BugHerd projects, tasks, and comments directly from your terminal.

## **Prerequisites**

Before you begin:

- You have a BugHerd account

- You have access to at least one BugHerd organization

- You have **Claude Code installed** and set up

- You have an active Claude account/subscription

---

## **How to install**

### 1. Install BugHerd MCP

Run the following command in your terminal:

```
claude mcp add --transport http BugHerd https://mcp.bugherd.com/mcp
```

This will install the BugHerd MCP in Claude Code.

### 2. Connect your BugHerd account

After running the command:

1. Open Claude Code

2. Type `/mcp` command

3. The BugHerd MCP should be visible with a status of "needs authentication". Select "Authenticate" to open the authentication process in your browser.

4. Press **Enter** to begin authentication

Your browser will open automatically.

![](https://downloads.intercomcdn.com/i/o/ckt07eo8/2339261021/275e2c463a6d5efcecc6788e6d84/Screenshot+2026-05-01+at+10_32_27%E2%80%AFam.png?expires=1795797000&amp;signature=2c48d62f377bb7d4dec32fa867b22f7e7b7aece838e26bb3ba3b87cc09c78b43&amp;req=diMkH8t4nIFdWPMW1HO4zRnDztSxx7KXk13nvaz6XxyGScUlFIX0VGeUeLWh%0A37obtjVlB0RT0kMENCQ%3D%0A)

### 3. In the browser

- Log in to BugHerd (if needed)

- Select the **organization** you want to connect

- Click **Allow**

**Important:**
The selected organization determines what data Claude Code can access.

![](https://downloads.intercomcdn.com/i/o/ckt07eo8/2339263599/328b548562ab8dff7edd61bae10a/Screenshot+2026-05-01+at+10_33_17%E2%80%AFam.png?expires=1795797000&amp;signature=03c5cb2fd4879b8e12cb24ae9cd53c00cc51d53290ec721d20a38e02d8214cfa&amp;req=diMkH8t4noRWUPMW1HO4zYFY7oIVN3htymGRnFXNqKwmdf0UuKaIhJAjXvRv%0AkOf1JwXQCUIDeA3ERbk%3D%0A)

### 4. Back in your terminal

Once authentication is complete:

- You’ll return to Claude Code

- BugHerd will show as **connected**

![](https://downloads.intercomcdn.com/i/o/ckt07eo8/2339264841/6829e3c404cacf1deaf9dd78cb26/Screenshot+2026-05-01+at+10_33_49%E2%80%AFam.png?expires=1795797000&amp;signature=80863de952bb642b22314992f58ef493efe5212ba64343f6ec601dce6bf64f52&amp;req=diMkH8t4mYlbWPMW1HO4zea1G1iy6j4b1V65WhpIQIu9gaKy13UtIGU%2F8TGK%0AIdWR7KwRegygsQus%2FvI%3D%0A)

### Verify the Connection

Run:

```
claude mcp list-tools BugHerd
```

If connected successfully, you’ll see available tools such as:

- list_projects

- list_my_tasks

- add_comment

![](https://downloads.intercomcdn.com/i/o/ckt07eo8/2339268146/8a092b0ab79f05684a52848004d6/Screenshot+2026-05-01+at+10_35_13%E2%80%AFam.png?expires=1795797000&amp;signature=a26052d111e7651c34371eadd49e3a08040fe451678c0e3e64df148bd69b0852&amp;req=diMkH8t4lYBbX%2FMW1HO4zbpmyB1PxPJ5j3zY4F16ZWa1I8HeKduiod3zL8Eu%0Am2%2BfznLqTmB3Yp6Vnkw%3D%0A)

## **Test the connection**

Try a prompt in Claude Code like:

```
“List my BugHerd projects”
```

If you see results, your setup is complete.

---

## **What you can do with BugHerd's MCP**

For a full list of what you can do with BugHerd's MCP, check out **[Getting Started with the BugHerd MCP server](https://support.bugherd.com/en/articles/14835206-getting-started-with-the-bugherd-mcp-server).**

Need help? Contact **[support@bugherd.com](https://app.intercom.com/)** or start a chat from the app.