bugzilla-mcp
Queries Firefox's bug tracker (bugzilla.mozilla.org) for bugs and related information: searching bugs with quicksearch syntax and structured filters, fetching full bug metadata (status, resolution, assignee, dependencies, regressions, duplicates, flags, keywords), reading comment threads and field-change history, listing attachments and downloading attachment content, resolving dependency/regression/duplicate graphs, and browsing product/component/field metadata.
Read-only access to Mozilla's Bugzilla instance, allowing agents to inspect bug reports, comments, change history, attachments, related-bug graphs, product/component metadata, and user lookups (private bugs and user queries require an API key).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bugzilla-mcp find open bugs about WebRTC in Firefox from the last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bugzilla-mcp
An MCP server that lets AI agents query Firefox's bug tracker, bugzilla.mozilla.org, for bugs and related information: search, bug details, comment threads, change history, attachments (including Phabricator review links), dependency/regression/duplicate graphs, and product/component/field metadata.
Read-only. Works without credentials for public bugs; an optional API key unlocks private bugs you can see and user lookups.
Requirements
Node.js 20 or newer
Related MCP server: Bugsink MCP Server
Install
git clone <this repo> bugzilla-mcp
cd bugzilla-mcp
npm install
npm run buildThe server binary is dist/index.js and speaks MCP over stdio.
Configure your MCP client
Cursor
~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"firefox-bugzilla": {
"command": "node",
"args": ["/absolute/path/to/bugzilla-mcp/dist/index.js"],
"env": {
"BUGZILLA_API_KEY": "optional"
}
}
}
}Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"firefox-bugzilla": {
"command": "node",
"args": ["/absolute/path/to/bugzilla-mcp/dist/index.js"]
}
}
}Claude Code
claude mcp add firefox-bugzilla -- node /absolute/path/to/bugzilla-mcp/dist/index.jsEnvironment variables
Variable | Default | Purpose |
| unset | API key from https://bugzilla.mozilla.org/userprefs.cgi?tab=apikey. Enables private bugs, user lookups, |
|
| Point at another Bugzilla 5+ instance. |
|
| Per-request timeout. |
Tools
Tool | What it does |
| Search with Bugzilla quicksearch syntax and/or structured filters (product, component, status, resolution, type, priority, severity, keywords, whiteboard, summary, assignee, reporter, milestone, version, platform, OS, creation/last-change time). Supports boolean-chart |
| Full metadata for one or more bugs by ID or alias: status/resolution, product/component, assignee, dependencies, regressions, duplicates, flags, see-also, keywords, whiteboard, timestamps. |
| Comment thread with paging, newest-first ordering, |
| Field-change history (status transitions, priority, assignee, flags, keywords…) with optional field filtering. CC churn is dropped by default. |
| Attachment metadata for a bug. Phabricator review stubs are resolved to |
| One attachment by ID. Text-based content (patches, logs, JSON, HTML…) is returned decoded; binaries as base64. |
| Resolves |
| Products you can search or file in, with descriptions. |
| A product's components (descriptions, triage owners, teams), plus versions and milestones on request. |
| Legal values for a field ( |
| Look up users by login, ID, or fuzzy match (requires |
| Bugzilla instance, version, and the authenticated user if an API key is set. |
A bugzilla://bug/{id} resource template is also exposed; it returns a bug's metadata plus its full comment thread as JSON.
Search tips for agents
Quicksearch only matches open bugs unless the query starts with
ALL. Structured filters match all bugs unlessstatusis given; usestatus: ["__open__"]or["__closed__"].Time filters accept ISO timestamps, dates, or relative shorthand like
-7d,-2w,-1m.advanced_filtersmap to Bugzilla's boolean charts. Useful fields:longdesc(comment text, slow; always narrow with product/status),cf_crash_signature,flagtypes.name(e.g.needinfo?),commenter,cc,attachments.mimetype,delta_tswithchangedafter.Discover valid component names with
get_productbefore filtering oncomponent.
Development
npm run dev # tsc --watch
npm run typecheck
npm run inspect # open the MCP Inspector against the built serverSource layout:
src/bugzilla.ts– minimal Bugzilla REST client (URL building, API-key header, timeouts, error mapping)src/format.ts– shapes raw API objects into compact, agent-friendly JSONsrc/tools.ts– MCP tool and resource registrationssrc/index.ts– stdio server entry point
License
MIT
Available Tools
12 toolsget_attachmentGet attachmentARead-onlyIdempotent
Fetch a single attachment by ID. Text-based attachments (patches, logs, text, JSON, HTML, source code) are returned decoded as text; binary attachments are returned as base64 when include_content is set.
Inputs: attachment_id (required), max_chars, include_content.
get_bugGet bug detailsARead-onlyIdempotent
Fetch one or more bugs by ID or alias with full metadata (status, resolution, product/component, assignee, dependencies, regressions, duplicates, flags, see-also links, keywords, whiteboard, timestamps). Does not include comments; use get_bug_comments for those.
Inputs: ids (required), include_fields.
get_bug_attachmentsList bug attachmentsARead-onlyIdempotent
List attachments (patches, screenshots, logs, test cases) on a bug with metadata. Attachment content is not included; use get_attachment to fetch a specific attachment's content.
Inputs: bug_id (required), include_obsolete.
get_bug_commentsGet bug commentsARead-onlyIdempotent
Fetch the comment thread for a bug. Comment #0 is the original description. Supports paging, newest-first ordering, filtering by time, and truncating long comments.
Inputs: bug_id (required), limit, order, offset, +3 more.
get_bug_historyGet bug change historyARead-onlyIdempotent
Fetch the field-change history of a bug (status/resolution transitions, priority changes, assignee changes, flag changes, CC additions, etc.). Optionally filter to specific fields or a time window.
Inputs: bug_id (required), limit, fields, new_since, +1 more.
get_field_valuesGet legal field valuesARead-onlyIdempotent
Get the legal values for a bug field (e.g. status, resolution, priority, severity, bug_type, keywords, platform, op_sys, or any cf_* custom field). Useful for building precise searches.
Inputs: field (required), include_inactive.
get_productGet product componentsARead-onlyIdempotent
Get a product's details including its components (with descriptions and triage owners), active versions, and milestones. Use this to find the right component name before filing or searching.
Inputs: product (required), component_filter, include_inactive_components, include_versions_and_milestones.
get_userLook up usersARead-onlyIdempotent
Look up Bugzilla users by login/email, numeric ID, or a fuzzy match on name/nickname (e.g. ':dholbert'). Note: bugzilla.mozilla.org only allows user lookups when authenticated with BUGZILLA_API_KEY.
Inputs: ids, match, names.
list_productsList productsARead-onlyIdempotent
List Bugzilla products (e.g. Firefox, Core, Toolkit, DevTools, Fenix, GeckoView, Thunderbird, Web Compatibility). Returns names and descriptions; use get_product to see a product's components.
Inputs: type, name_filter, include_inactive.
search_bugsSearch Bugzilla bugsARead-onlyIdempotent
Search bugzilla.mozilla.org for bugs. Combine free-text quicksearch with structured filters.
Quicksearch syntax highlights (https://bugzilla.mozilla.org/page.cgi?id=quicksearch.html):
Plain words search summary/comments/whiteboard; a leading
ALLincludes closed bugs, otherwise only open bugs are matched.Prefix shortcuts:
product:Firefox,component:"Address Bar",status:NEW,assignee:someone@mozilla.com,keyword:crash,whiteboard:[foo],flag:needinfo?,P1,S2,regression.A bare bug number returns that bug.
Structured filters (product/component/status/...) apply to all bugs regardless of open/closed unless status is given.
status accepts real statuses (UNCONFIRMED, NEW, ASSIGNED, REOPENED, RESOLVED, VERIFIED, CLOSED) or the pseudo-values __open__ / __closed__ / __all__.
Time filters accept ISO timestamps (2024-01-01T00:00:00Z), dates (2024-01-01) or relative values like -7d, -2w, -1m, -1y.
Use advanced_filters for anything not covered (e.g. {field: "cf_crash_signature", operator: "substring", value: "nsThread"}, {field: "flagtypes.name", operator: "substring", value: "needinfo?"}, {field: "delta_ts", operator: "changedafter", value: "-7d"}). Full-text comment searches (longdesc) are slow on bugzilla.mozilla.org; always narrow them with product/status filters.
Set count_only to get just the number of matching bugs.
Inputs: type, limit, order, offset, +22 more.
whoamiCurrent user / server infoARead-onlyIdempotent
Report which Bugzilla instance this server talks to, its version, and (if BUGZILLA_API_KEY is configured) the authenticated user.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a clearly distinct resource or action: search, bug details, comments, history, attachments, related bugs, products, field values, user lookup, and instance info. Even related tools like get_bug and get_related_bugs are differentiated by descriptions: the former returns metadata with links, the latter resolves and summarizes the relationship graph.
The vast majority of tools follow a consistent verb_noun snake_case pattern (search_bugs, get_bug, get_bug_comments, get_product). The only deviation is whoami, which breaks the pattern but is a recognizable standard command and self-explanatory.
Twelve tools is well-scoped for a Bugzilla read/query server. Each tool covers a meaningful operation without redundancy, and the count is neither too thin nor bloated.
The toolset is comprehensive for reading and searching Bugzilla data but lacks the core lifecycle operations expected of a bug tracker: there is no create_bug, update_bug, add_comment, or attachment upload tool. The get_product description even mentions 'before filing,' implying filing should be possible, but no such tool exists, which would cause agent failures for write-oriented tasks.
Maintenance
Related MCP Connectors
Let AI agents list, read and resolve Bugsly error-tracking issues and check monitors.
Task and bug tracker for AI coding agents: 75 tools to file, triage and update work.
Deltabridge brings an AI-native cyber threat intelligence platform into your AI agent. Search a knowledge graph of 400,000+ threat actors, malware families, vulnerabilities, indicators and campaigns, mapped to MITRE ATT&CK. Look up and enrich IOCs, trace links between entities and read living briefs built from 300+ open sources. Read-only, scoped to your organisation, with OAuth sign-in or an API key. Included on Researcher, Business and Enterprise plans.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with ZenTao bug tracking system to search products, query assigned bugs, view bug details with extracted images, and mark bugs as resolved through natural language commands.9 npm7ISC
- AlicenseBqualityDmaintenanceEnables AI assistants to query and analyze errors from Bugsink self-hosted error tracking instances. Supports listing projects, teams, issues, and viewing detailed error events with stacktraces.1620MIT
- AlicenseBqualityDmaintenanceProvides AI agents with structured access to the OWASP Bug Logging Tool (BLT) ecosystem for logging bugs, triaging issues, and managing security workflows. It enables actions like submitting vulnerabilities, tracking contributor leaderboards, and awarding gamified bacon points through a unified interface.49AGPL 3.0
- AlicenseAqualityCmaintenanceProvides AI assistants with direct access to MantisBT issue trackers via the REST API, enabling reading, updating, resolving, and semantically searching issues.20213 npmMIT