Skip to main content
Glama

bugzilla-mcp

MCP (Model Context Protocol) server for managing Bugzilla tickets and projects, served over Express with a built-in cron job that pings Bugzilla on a schedule.

Targets the Bugzilla 5.2 REST API.

Features

  • MCP over Streamable HTTP at POST /mcp (stateless; works with any MCP client)

  • 15 tools covering bugs, comments, attachments, products, components, and field metadata

  • Cron job that pings Bugzilla at a preconfigured time and polls for changed bugs

  • Dockerized (multi-stage build, non-root user, docker-compose)

Related MCP server: Redmine MCP Server

MCP Tools

Tool

Bugzilla endpoint

search_bugs

GET /rest/bug

get_bug

GET /rest/bug/(id_or_alias)

create_bug

POST /rest/bug

update_bug

PUT /rest/bug/(id_or_alias)

get_bug_history

GET /rest/bug/(id)/history

get_comments

GET /rest/bug/(id)/comment

add_comment

POST /rest/bug/(id)/comment

list_attachments

GET /rest/bug/(id)/attachment

create_attachment

POST /rest/bug/(id)/attachment

list_products

GET /rest/product_{accessible,enterable,selectable}

get_product

GET /rest/product/(id_or_name)

create_product

POST /rest/product

update_product

PUT /rest/product/(id_or_name)

create_component

POST /rest/component

get_field_values

GET /rest/field/bug/(field)/values

Note: Bugzilla has no delete-bug API; closing/resolving is done via update_bug (e.g. status=RESOLVED, resolution=FIXED).

HTTP Endpoints

Endpoint

Description

POST /mcp

MCP Streamable HTTP endpoint

GET /health

Liveness check

GET /cron/status

Cron schedule, last run time/result

POST /cron/run

Trigger the cron job manually

/mcp and /cron/* require Authorization: Bearer <MCP_AUTH_TOKEN> when MCP_AUTH_TOKEN is set.

Configuration

Copy .env.example to .env and fill in:

Variable

Required

Description

BUGZILLA_BASE_URL

yes

Bugzilla instance URL, e.g. https://bugzilla.example.com

BUGZILLA_API_KEY

yes

API key from Bugzilla Preferences → API Keys

MCP_AUTH_TOKEN

no

Bearer token protecting /mcp and /cron/*

CRON_SCHEDULE

no

Cron expression, evaluated in UTC (default 0 9 * * * = daily 09:00 UTC)

PORT

no

Listen port (default 3000)

The API key is sent as the X-BUGZILLA-API-KEY header on every Bugzilla request.

Running

cp .env.example .env   # then edit
docker compose up --build

Local

npm install
npm run build
npm run start:local   # loads .env via node --env-file; or: npm run dev

npm start reads configuration from the process environment only (used in the Docker image); use start:local or dev to load a local .env file.

Cron Job

At each scheduled tick the job:

  1. Calls GET /rest/version as a health check.

  2. Polls GET /rest/bug?last_change_time=<lastRun> for bugs changed since the previous run (skipped on the first run since there is no baseline).

  3. Logs results and stores the last result in memory, visible at GET /cron/status.

Connecting an MCP Client

Point any Streamable-HTTP-capable MCP client at http://<host>:3000/mcp, with header Authorization: Bearer <MCP_AUTH_TOKEN> if configured.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    An MCP server for intelligent project planning and task management featuring task tracking, bug reporting, and feature specification with SQLite persistence. It includes full-text search capabilities and automatic filesystem synchronization to keep project data organized and accessible.
    Last updated
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    MCP server for Redmine project management, enabling tools for managing projects, issues, users, time entries, groups, memberships, versions, wiki, news, attachments, search, and Agile sprints via the Redmine REST API.
    Last updated
    89
    15
    1
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    MCP server for task/ticket management with dependency tracking, supporting CRUD operations, status management, project filtering, and automatic data migrations.
    Last updated
    1

View all related MCP servers

Related MCP Connectors

  • A MCP server built for developers enabling Git based project management with project and personal…

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

  • MCP server for generating rough-draft project plans from natural-language prompts.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/COG-GTM/bugzilla-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server