
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
- Clone the repository:
git clone https://github.com/berckan/bugherd-mcp.git
cd bugherd-mcp
- Install dependencies:
bun install
# or
npm install
- Build the server:
bun run build
# or
npm run build
- 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:
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | Yes | The BugHerd project ID |
status | string | No | Filter: backlog, todo, doing, done, closed |
priority | string | No | Filter: critical, important, normal, minor |
tag | string | No | Filter by tag name |
page | number | No | Page number for pagination |
Example:
Show me all critical bugs in project 12345
bugherd_get_task
Get detailed information about a specific task.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | Yes | The BugHerd project ID |
task_id | number | Yes | The task ID |
Example:
Get details for task 678 in project 12345
bugherd_list_comments
List all comments on a specific task.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | Yes | The BugHerd project ID |
task_id | number | Yes | The 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
bugherd-mcpnpm install bugherd-mcp