Enables interaction with the Honeybadger API to list, filter, and fetch detailed information about project faults and error notices.
Click on "Install 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., "@Honeybadger MCP Serverlist the most frequent errors from the last 24 hours"
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.
Honeybadger MCP Server
A Model Context Protocol (MCP) server implementation for interacting with the Honeybadger API. This server allows AI agents to fetch and analyze error data from your Honeybadger projects.
Overview
This MCP server provides a bridge between AI agents and the Honeybadger error monitoring service. It follows the best practices laid out by Anthropic for building MCP servers, allowing seamless integration with any MCP-compatible client.
Features
The server provides two essential tools for interacting with Honeybadger:
list_faults: List and filter faults from your Honeybadger projectSearch by text query
Filter by creation or occurrence timestamps
Sort by frequency or recency
Paginate results
get_fault_details: Get detailed information about specific faultsFilter notices by creation time
Paginate through notices
Results ordered by creation time descending
Prerequisites
Python 3.10+
Honeybadger API key and Project ID
Docker if running the MCP server as a container (recommended)
Installation
Using uv
Install uv if you don't have it:
pip install uvClone this repository:
git clone https://github.com/bobtista/honeybadger-mcp.git cd honeybadger-mcpInstall dependencies:
uv pip install -e .Install development dependencies (optional):
uv pip install -e ".[dev]"Create your environment file:
cp .env.example .env # Edit .env with your configuration
Using Docker (Recommended)
Build the Docker image:
docker build -t honeybadger/mcp --build-arg PORT=8050 .Create a
.envfile and configure your environment variables
Configuration
You can configure the server using either environment variables or command-line arguments:
Option | Env Variable | CLI Argument | Default | Description |
API Key | HONEYBADGER_API_KEY | --api-key | Required | Your Honeybadger API key |
Project ID | HONEYBADGER_PROJECT_ID | --project-id | Required | Your Honeybadger project ID |
Transport | TRANSPORT | --transport | sse | Transport protocol (sse or stdio) |
Host | HOST | --host | 127.0.0.1 | Host to bind to when using SSE transport |
Port | PORT | --port | 8050 | Port to listen on when using SSE transport |
Log Level | LOG_LEVEL | --log-level | INFO | Logging level (INFO, DEBUG, etc.) |
Running the Server
Running with uv (Development)
SSE Transport (Default)
Using Stdio
Running Installed Package
SSE Transport (Default)
Using Stdio
Using Docker
Run with SSE
Using Stdio
With stdio, the MCP client itself can spin up the MCP server container, so nothing to run at this point.
Integration with MCP Clients
SSE Configuration
Once you have the server running with SSE transport, you can connect to it using this configuration:
Claude Desktop Configuration
Using SSE Transport (Recommended)
First, start the server:
Then add to your Claude Desktop config:
Using Stdio Transport
Add to your Claude Desktop config:
Docker Configuration
Tool Usage Examples
List Faults
Get Fault Details
Development
Running Tests
Code Quality
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.