Skip to main content

BugHerd and VS Code with GitHub Copilot: Set up the MCP server

K
Written by Kriztin Abellon

Use this guide to connect BugHerd to VS Code with GitHub CoPilot so you can access projects, tasks, and comments directly from your AI workflows.


Prerequisites

Before connecting, ensure:

  • You have a BugHerd account and You have access to at least one BugHerd organization

  • You are logged into VS Code with the GitHub CoPilot extension enabled

  • You have your BugHerd organization's API key handy. This can be found in Settings > General


How to install

  1. In VS Code, add the MCP Server Configuration:

    i. Open the Command Palette by pressing `⇧⌘P` (Cmd+Shift+P)

    ii. Type and select `MCP: Add Server`

    iii. Choose `HTTP` as the connection type

    iv. Paste the following configuration:

    {
    "servers": {
    "bugherd": {
    "type": "http",
    "url": "https://mcp.bugherd.com/mcp",
    }
    }
    }

    v. Click Save or confirm the configuration

  2. Restart VS Code.
    Close and reopen VS Code completely to ensure the MCP configuration is properly loaded. This step is critical for the MCP server to initialize.

  3. Verify the server appears.

    i. Open the Command Palette using `⇧⌘P`

    ii. Type and select `MCP: List Servers`

    iii. You should now see "Bugherd" in the list and the status may show "Stopped"

  4. Start the BugHerd MCP Server.

    i. In the MCP servers list, click on "bugherd" to start the server

    ii. VS Code will attempt to establish a connection


  5. Complete the authentication.

    You will be redirected to BugHerd in your browser:

    i. In the BugHerd authentication screen, choose the organization whose data you want GitHub Copilot to access
    ⚠️ Note: The selected organization determines what data GitHub CoPilot can access.

    ii. Click "Allow" or "Authorize" to confirm

    iii. After authorization, you may see a success message or be redirected back to VS Code.

You will then be able to connect to the BugHerd MCP via VS Code's GitHub CoPilot.

Verify Your Connection

Try this prompt in the GitHub CoPilot chat:

“List my BugHerd projects”

If you see results, the connection is working.


What you can do with BugHerd's MCP

Once connected, you can:

  • View projects

  • View your assigned tasks

  • Explore project details

  • View tasks across projects

  • Add comments to tasks

Need help? Contact [email protected] or start a chat from the app.

Did this answer your question?