Building a Bugzilla MCP Server: Bridging AI and Bug Tracking
Bugzilla MCP Server
The Bugzilla MCP Server is a Model Context Protocol server that enables AI assistants to interact directly with Bugzilla instances. It provides secure access to query bugs, search repositories, add comments, and manage bug tracking—all through natural conversation with your AI assistant.
Features
- Query bug information by ID
- Search bugs using Bugzilla's quicksearch syntax
- Read public and private comments
- Add comments to bugs (public or private)
- HTTP header-based authentication with API keys
- Hosted production server with zero setup required
Available Tools
bug_info— Get complete information about a bugbug_comments— Retrieve all comments for a bugadd_comment— Add a new comment (public or private)bugs_quicksearch— Search bugs using Bugzilla's quicksearch syntaxlearn_quicksearch_syntax— Access Bugzilla's quicksearch documentationserver_url— Get the configured Bugzilla instance URLbug_url— Generate a direct URL to a bug
Installation
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"bugzilla": {
"url": "https://bugzilla.fastmcp.app/mcp",
"headers": {
"api_key": "your-api-key-here",
"bugzilla_url": "https://bugzilla.example.com"
}
}
}
}
Cursor IDE
Add this to your .cursor/mcp.json:
{
"mcpServers": {
"bugzilla": {
"url": "https://bugzilla.fastmcp.app/mcp",
"headers": {
"api_key": "your-api-key-here",
"bugzilla_url": "https://bugzilla.example.com"
}
}
}
}
VS Code
Add this to your VS Code settings (.vscode/settings.json or User Settings):
{
"mcp.servers": {
"bugzilla": {
"url": "https://bugzilla.fastmcp.app/mcp",
"headers": {
"api_key": "your-api-key-here",
"bugzilla_url": "https://bugzilla.example.com"
}
}
}
}
API Key
Generate an API key from your Bugzilla instance at https://your-bugzilla-instance.com/userprefs.cgi?tab=apikey and add it to your MCP configuration.
Note: Use a dedicated API key with minimal required permissions. Never use administrative accounts or full-access keys.
Usage
Once configured, interact with Bugzilla through your AI assistant:
- "What's the status of bug #12345?" — Get bug details
- "Search for open bugs assigned to me in the Frontend component" — Uses
bugs_quicksearchwithstatus:open assignee:me component:Frontend - "Add a comment to bug #12345" — Post updates directly
- "Show me all comments on bug #12345" — Retrieve all comments
Security
- All requests require a valid Bugzilla API key
- Credentials are passed via headers, never stored
- HTTPS is required for production instances
- Use API keys with minimal required permissions
Server URL
The hosted server is available at https://bugzilla.fastmcp.app/mcp. No installation or setup required.