Sponsored by Deepsite.site

Bugzilla

Created By
SanthoshSiddegowdaa month ago
Model Context Protocol server for Bugzilla. Enables AI apps to interact with Bugzilla bug tracking systems.
Content

Bugzilla MCP Server

A Model Context Protocol (MCP) server that enables secure interaction with Bugzilla instances. This server facilitates communication between AI applications and Bugzilla bug tracking systems through a controlled interface.

Quick Start

Hosted Server: Use the production server at https://bugzilla.fastmcp.app/mcp - no local setup required! Just add it to your MCP client configuration with your Bugzilla API key and instance URL.

Features

  • Query bug information and comments
  • Search bugs using Bugzilla's quicksearch syntax
  • Add comments to bugs (public or private)
  • Secure access through HTTP headers
  • Comprehensive error handling

Configuration

The server requires HTTP headers for authentication. Configure your MCP client with the following headers:

  • api_key (Required) - Your Bugzilla API key
    • Get your API key from: https://your-bugzilla-instance.com/userprefs.cgi?tab=apikey
  • bugzilla_url (Required) - The base URL of your Bugzilla instance
    • Example: https://bugzilla.test.org

Usage

With 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"
      }
    }
  }
}

Note: For local development, use http://127.0.0.1:8000/mcp instead.

With 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"
      }
    }
  }
}

Note: For local development, use http://127.0.0.1:8000/mcp instead.

With Visual Studio Code

Add this to your mcp.json:

{
  "servers": {
    "bugzilla": {
      "type": "http",
      "url": "https://bugzilla.fastmcp.app/mcp",
      "headers": {
        "api_key": "your-api-key-here",
        "bugzilla_url": "https://bugzilla.example.com"
      }
    }
  }
}

Note: For local development, use http://127.0.0.1:8000/mcp instead.

Running the Server Locally

For local development:

# Using uv (recommended)
uv sync
uv run python server.py

# Or with standard Python
pip install fastmcp httpx python-dotenv
python server.py

The server will start at http://127.0.0.1:8000/mcp/

Production Server: A hosted version is available at https://bugzilla.fastmcp.app/mcp - you can use this URL directly in your MCP client configuration without running the server locally.

Development

# Clone the repository
git clone <repository-url>
cd bugzilla-mcp

# Create virtual environment
python -m venv venv
source venv/bin/activate  # or `venv\Scripts\activate` on Windows

# Install dependencies
uv sync

# Inspect the server
fastmcp inspect server.py:mcp

Security Considerations

  • Never commit API keys or credentials
  • Use API keys with minimal required permissions
  • Consider implementing rate limiting for production use
  • Use HTTPS for the Bugzilla URL in production

Security Best Practices

This MCP implementation requires Bugzilla API access to function. For security:

  1. Create a dedicated Bugzilla API key with minimal permissions
  2. Never use administrative accounts or full-access API keys
  3. Restrict API key permissions to only necessary operations
  4. Regular security reviews of API key usage

⚠️ IMPORTANT: Always follow the principle of least privilege when configuring API access.

Acknowledgments

This project was inspired by Sai Karthik's mcp-bugzilla project. His work on building an MCP server for Bugzilla using FastMCP provided valuable insights and inspiration. Thank you for sharing your experience and contributing to the MCP ecosystem!

License

Apache 2.0 License - see LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Server Config

{
  "mcpServers": {
    "bugzilla": {
      "url": "https://bugzilla.fastmcp.app/mcp",
      "headers": {
        "api_key": "your-api-key-here",
        "bugzilla_url": "https://bugzilla.example.com"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Amap Maps高德地图官方 MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Playwright McpPlaywright MCP server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
CursorThe AI Code Editor
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.