Skip to content

kud/mcp-bugzilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TypeScript Node.js npm MIT

MCP server for Bugzilla β€” search, discuss, and manage Firefox/Mozilla bugs via the Bugzilla REST API.

Website Β· Documentation

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.

Tool Area Auth Description
get_bug Bugs β€” Fetch a single bug by ID or alias
search_bugs Bugs β€” Search with filters or full-text quicksearch
create_bug Bugs πŸ”‘ File a new bug
update_bug Bugs πŸ”‘ Update fields, status, keywords, CC, or close as duplicate
get_bug_history Bugs β€” Get the field-change history for a bug
get_comments Comments β€” Get all comments, optionally filtered by date
create_comment Comments πŸ”‘ Post a comment, optionally with work-time logging
search_comment_tags Comments β€” Search available comment tag names
update_comment_tags Comments πŸ”‘ Add or remove tags on a comment
get_attachments Attachments β€” List attachments for a bug
create_attachment Attachments πŸ”‘ Upload a patch or file (base64-encoded)
update_attachment Attachments πŸ”‘ Rename, mark obsolete, or change flags on an attachment
get_products Products β€” List accessible products
get_product Products β€” Get product details including components and versions
get_user Users β€” Look up a user by email or login name
get_bug_fields Fields β€” List bug fields and their legal values
get_flag_types Flags β€” List flag types for a product/component

Development

git clone https://github.com/kud/mcp-bugzilla.git
cd mcp-bugzilla
npm install
npm run dev
Script Description
npm run build Compile TypeScript to dist/
npm run dev Run source directly via tsx
npm test Run the Vitest test suite
npm run typecheck Type-check without emitting
npm run inspect:dev Open MCP Inspector against source

πŸ“š Full documentation β†’ mcp-bugzilla/docs

About

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

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors