← Projects
MIT · Open source

mcp-bugzilla

Search, triage and comment on Firefox/Mozilla bugs from Claude via the Bugzilla REST API

Features

  • Bug lookup — fetch any bug by ID or alias, including its full field-change history.
  • Powerful search — filter by product, component, status, severity, assignee, keywords, or free-text quicksearch.
  • Comment threads — read all comments on a bug, post new ones, and tag comments (e.g. spam, needinfo).
  • Attachment management — list, upload, and update patches and files; set review flags inline.
  • Write support — create and update bugs, change status, add CC members, and mark duplicates — all gated behind an API key so read-only use needs no credentials.
  • Product and user discovery — enumerate products, components, versions, flag types, field definitions, and look up users by email.

Install

Register the server with your MCP client. For Claude Desktop, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-bugzilla": {
      "command": "npx",
      "args": ["-y", "@kud/mcp-bugzilla"],
      "env": {
        "MCP_BUGZILLA_API_KEY": "your-api-key-here"
      }
    }
  }
}

MCP_BUGZILLA_API_KEY is optional — omit it for read-only access. To obtain a key, visit your Bugzilla API Keys preferences page.

The MCP_BUGZILLA_BASE_URL environment variable overrides the default endpoint (https://bugzilla.mozilla.org/rest) for self-hosted instances.

Usage

The server exposes 17 tools across six areas. Tools marked with 🔑 require MCP_BUGZILLA_API_KEY.

ToolAreaAuthDescription
get_bugBugsFetch a single bug by ID or alias
search_bugsBugsSearch with filters or full-text quicksearch
create_bugBugs🔑File a new bug
update_bugBugs🔑Update fields, status, keywords, CC, or close as duplicate
get_bug_historyBugsGet the field-change history for a bug
get_commentsCommentsGet all comments, optionally filtered by date
create_commentComments🔑Post a comment, optionally with work-time logging
search_comment_tagsCommentsSearch available comment tag names
update_comment_tagsComments🔑Add or remove tags on a comment
get_attachmentsAttachmentsList attachments for a bug
create_attachmentAttachments🔑Upload a patch or file (base64-encoded)
update_attachmentAttachments🔑Rename, mark obsolete, or change flags on an attachment
get_productsProductsList accessible products
get_productProductsGet product details including components and versions
get_userUsersLook up a user by email or login name
get_bug_fieldsFieldsList bug fields and their legal values
get_flag_typesFlagsList flag types for a product/component

Development

git clone https://github.com/kud/mcp-bugzilla.git
cd mcp-bugzilla
npm install
npm run dev
ScriptDescription
npm run buildCompile TypeScript to dist/
npm run devRun source directly via tsx
npm testRun the Vitest test suite
npm run typecheckType-check without emitting
npm run inspect:devOpen MCP Inspector against source