Repository avatar
Other Tools
v0.1.1
active

bugherd-mcp

io.github.Berckan/bugherd-mcp

BugHerd bug tracking integration. List projects, tasks, comments with filtering.

Documentation

BugHerd MCP Server

An MCP (Model Context Protocol) server that integrates BugHerd bug tracking with AI assistants like Claude.

Features

  • List Projects - View all BugHerd projects accessible to your account
  • List Tasks - Browse bugs and feedback with filtering by status, priority, and tags
  • Get Task Details - View complete task information including screenshots and element selectors
  • List Comments - Read conversation threads on tasks

Installation

Prerequisites

  • Node.js 18+ or Bun
  • A BugHerd account with API access
  • BugHerd API key (get it from Settings > General Settings)

Setup

  1. Clone the repository:
git clone https://github.com/berckan/bugherd-mcp.git
cd bugherd-mcp
  1. Install dependencies:
bun install
# or
npm install
  1. Build the server:
bun run build
# or
npm run build
  1. Set your API key:
export BUGHERD_API_KEY=your-api-key-here

Configuration

Claude Code

Add to your ~/.claude.json:

{
  "mcpServers": {
    "bugherd": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/bugherd-mcp/dist/index.js"],
      "env": {
        "BUGHERD_API_KEY": "your-api-key-here"
      }
    }
  }
}

Claude Desktop

Add to your Claude Desktop config:

{
  "mcpServers": {
    "bugherd": {
      "command": "node",
      "args": ["/path/to/bugherd-mcp/dist/index.js"],
      "env": {
        "BUGHERD_API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

bugherd_list_projects

List all BugHerd projects accessible to the authenticated user.

Parameters: None

Example:

List my BugHerd projects

bugherd_list_tasks

List tasks for a specific project with optional filters.

Parameters:

NameTypeRequiredDescription
project_idnumberYesThe BugHerd project ID
statusstringNoFilter: backlog, todo, doing, done, closed
prioritystringNoFilter: critical, important, normal, minor
tagstringNoFilter by tag name
pagenumberNoPage number for pagination

Example:

Show me all critical bugs in project 12345

bugherd_get_task

Get detailed information about a specific task.

Parameters:

NameTypeRequiredDescription
project_idnumberYesThe BugHerd project ID
task_idnumberYesThe task ID

Example:

Get details for task 678 in project 12345

bugherd_list_comments

List all comments on a specific task.

Parameters:

NameTypeRequiredDescription
project_idnumberYesThe BugHerd project ID
task_idnumberYesThe task ID

Example:

Show comments on task 678 in project 12345

Development

Run in development mode:

bun run dev

Test with MCP Inspector:

BUGHERD_API_KEY=xxx bun run inspector

Build for production:

bun run build

API Rate Limits

BugHerd allows an average of 60 requests per minute with bursts of up to 10 in quick succession. The server handles rate limiting errors gracefully.

License

MIT

Author

Berckan Guerrero (hi@berck.io)

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Related