Honeybadger MCP Server
This MCP server connects Cursor IDE to Honeybadger, enabling you to fetch, list, and analyze error tracking data.
List recent Honeybadger faults, optionally filtering by environment, resolved status, limit, or project ID.
Retrieve detailed information about a specific fault by its ID.
Fetch notices (error occurrences) for a given fault, with optional limit and project ID.
Analyze a specific Honeybadger issue to get comprehensive fix suggestions, optionally including request context.
Enables fetching and analyzing error data from Honeybadger error tracking service, allowing users to list recent faults, get detailed information on specific errors, retrieve error occurrences, and receive AI-generated analysis with fix suggestions.
Provides integration with Node.js applications, allowing for error tracking and debugging of Node.js-based projects through the Honeybadger error monitoring service.
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., "@Honeybadger MCP Server list recent unresolved errors from production"
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 Setup Guide
This MCP server integrates Honeybadger error tracking with Cursor IDE, allowing you to fetch and analyze errors directly from your development environment.
Prerequisites
Node.js 18+ installed
Honeybadger account with API access
Cursor IDE with MCP support
Related MCP server: Jira Context MCP Server
Installation
1. Clone the MCP Server
git clone git@github.com:vishalzambre/honeybadger-mcp.git
cd honeybadger-mcp
npm install2. Build the Project
npm run build3. Using as an NPM Package (Recommended)
Global Installation:
npm install -g @vishalzambre/honeybadger-mcpThen configure it in Cursor:
{
"mcpServers": {
"honeybadger": {
"command": "honeybadger-mcp",
"env": {
"HONEYBADGER_API_KEY": "your_api_key_here",
"HONEYBADGER_PROJECT_ID": "your_project_id"
}
}
}
}Project-based Installation (Alternative):
If you prefer to manage the MCP server as a project dependency:
npm install @vishalzambre/honeybadger-mcpIn this case, the command in your Cursor mcp_servers.json would point to the local installation within your project's node_modules:
{
"mcpServers": {
"honeybadger": {
"command": "node",
"args": ["./node_modules/@vishalzambre/honeybadger-mcp/dist/index.js"],
"env": {
"HONEYBADGER_API_KEY": "your_api_key_here",
"HONEYBADGER_PROJECT_ID": "your_project_id"
}
}
}
}4. Configure Environment Variables
Create a .env file in your project root:
# Required: Your Honeybadger API key
HONEYBADGER_API_KEY=your_api_key_here
# Optional: Default project ID (can be overridden per request)
HONEYBADGER_PROJECT_ID=your_project_id
# Optional: Custom Honeybadger URL (defaults to https://app.honeybadger.io)
HONEYBADGER_BASE_URL=https://app.honeybadger.io4. Get Your Honeybadger Credentials
API Key:
Create a new Personal Auth Token
Copy the token for your
.envfile
Project ID:
Go to your project in Honeybadger
The project ID is in the URL:
https://app.honeybadger.io/projects/{PROJECT_ID}Or find it in project settings
Cursor Configuration
1. Configure MCP in Cursor
Add the MCP server to your Cursor configuration. Edit your ~/.cursor/mcp_servers.json (or equivalent):
{
"mcpServers": {
"honeybadger": {
"command": "node",
"args": ["/path/to/honeybadger-mcp/dist/index.js"],
"env": {
"HONEYBADGER_API_KEY": "your_api_key_here",
"HONEYBADGER_PROJECT_ID": "your_project_id"
}
}
}
}2. Alternative: Global Installation
This section will be updated or removed as it's now covered above. If you prefer the old way of cloning and installing globally from a local path, you can still do so, but using the published npm package is recommended for easier updates and management.
If installing from a local clone:
# Navigate to your cloned honeybadger-mcp directory
npm install -g . # Installs from the current directory
# Then configure in Cursor as before
# ... (Cursor configuration for local global install)Usage
Once configured, you can use these tools in Cursor:
1. List Recent Faults
List recent unresolved errors from Honeybadger in production environment2. Get Specific Fault Details
Get details for Honeybadger fault ID 123453. Analyze an Issue
Analyze Honeybadger issue 12345 and provide fix suggestions4. Get Error Occurrences
Get the latest 5 occurrences for Honeybadger fault 12345Available Tools
list_honeybadger_faults
Lists recent faults with optional filtering by environment and resolved status.
Parameters:
project_id(optional): Project IDlimit(optional): Number of faults (default: 20, max: 100)environment(optional): Filter by environmentresolved(optional): Filter by resolved statusq(optional): Honeybadger query string for additional filteringpage_url(optional): Uselinks.nextorlinks.prevURL for pagination
get_honeybadger_fault
Fetches detailed information about a specific fault.
Parameters:
fault_id(required): The fault IDproject_id(optional): Project ID
get_honeybadger_notices
Fetches notices (error occurrences) for a specific fault.
Parameters:
fault_id(required): The fault IDproject_id(optional): Project IDlimit(optional): Number of notices (default: 10, max: 100)q(optional): Honeybadger query string for additional filteringpage_url(optional): Uselinks.nextorlinks.prevURL for pagination
analyze_honeybadger_issue
Provides comprehensive analysis with fix suggestions.
Parameters:
fault_id(required): The fault IDproject_id(optional): Project IDinclude_context(optional): Include request context (default: true)
Example Workflow
List recent errors: "Show me the latest unresolved errors from production"
Analyze specific error: "Analyze Honeybadger fault 12345 and suggest fixes"
Get error context: "Get the latest occurrences for fault 12345 with full context"
Review and fix: Use the analysis to understand and fix the issue in your code
Troubleshooting
Common Issues
Authentication Error: Verify your API key is correct and has proper permissions
Project Not Found: Check your project ID is correct
Connection Issues: Verify network access to Honeybadger API
Debug Mode
Run the server directly to see error messages:
node dist/index.jsLogs
Check Cursor logs for MCP-related issues:
macOS:
~/Library/Logs/Cursor/Windows:
%APPDATA%\Cursor\logs\Linux:
~/.config/Cursor/logs/
Security Notes
Store API keys securely and never commit them to version control
Use environment-specific API keys when possible
Consider using read-only API tokens for this integration
Regularly rotate your API keys
Contributing
To extend this MCP server:
Add new tools in the
setupToolHandlers()methodImplement corresponding handler methods
Update the tool list and documentation
Test thoroughly with your Honeybadger setup
Support
For issues with:
This MCP server: Check the code and configuration
Honeybadger API: Refer to Honeybadger API docs
Cursor MCP integration: Check Cursor documentation
Publishing
This package is configured to publish to GitHub Packages:
Registry:
https://npm.pkg.github.comPackage name:
@vishalzambre/honeybadger-mcpWorkflow:
.github/workflows/npm-publish.yml(triggers on release publish)
Available Tools
4 toolsanalyze_honeybadger_issueB
Comprehensive analysis of a Honeybadger issue with fix suggestions
Inputs: fault_id (required), project_id, include_context.
get_honeybadger_faultB
Fetch a specific fault/error from Honeybadger by ID
Inputs: fault_id (required), project_id.
get_honeybadger_noticesB
Fetch notices (occurrences) for a specific fault
Inputs: fault_id (required), project_id, limit.
list_honeybadger_faultsC
List recent faults from Honeybadger
Inputs: project_id, limit, environment, resolved.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: analyze_honeybadger_issue provides analysis and fix suggestions, get_honeybadger_fault retrieves a specific fault by ID, get_honeybadger_notices fetches occurrences for a fault, and list_honeybadger_faults lists recent faults. The descriptions make it easy to distinguish between analyzing, fetching specific items, fetching related data, and listing collections.
All tool names follow a consistent verb_noun pattern with snake_case: analyze_honeybadger_issue, get_honeybadger_fault, get_honeybadger_notices, and list_honeybadger_faults. The naming is predictable and readable, using clear verbs like 'analyze', 'get', and 'list' paired with specific nouns.
With 4 tools, the count is reasonable for a Honeybadger server, covering core operations like listing, fetching, and analyzing faults. It's slightly on the minimal side but well-scoped for basic error monitoring tasks, though additional tools for actions like creating or updating issues might be expected in a more comprehensive set.
The tool set covers key read operations for Honeybadger: listing faults, fetching specific faults and their notices, and analyzing issues. However, it lacks write operations (e.g., creating, updating, or resolving faults) and broader management features, which are minor gaps that agents might need to work around for full lifecycle coverage.
Maintenance
Related MCP Connectors
Errors, logs and AI-call costs for apps on Node.js, Next.js, Cloudflare Workers or the browser. Ask your AI what’s broken, why, and how to fix it, right inside Cursor or Claude.
Let AI agents list, read and resolve Bugsly error-tracking issues and check monitors.
Error tracking for Laravel and PHP apps. Let your agent fetch errors, stack traces and context.
Production errors and incidents for your agent: stack traces, breadcrumbs, likely causes, triage.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA collection of Laravel helper tools for integration with Cursor IDE, providing features like log viewing, error searching, artisan command execution, and model information display directly within the editor.12MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates Jira with Cursor IDE for AI-powered issue management, sprint tracking, library vulnerability analysis, and MySQL database queries through natural language.MIT
- AlicenseBqualityDmaintenanceIntegrates GlitchTip error monitoring with AI assistants to fetch, analyze, and debug production errors. It enables users to list issues, retrieve event details, and perform guided triage of application errors through natural language.2259 npm11MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Honeybadger error monitoring service to list, filter, and analyze fault data. It provides tools for fetching error lists and retrieving detailed fault information from Honeybadger projects.1MIT