GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Debug errors, query logs, create alarms, and monitor cron jobs from your agent
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://{host}.honeybadger.io/mcp地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
在终端中运行这条命令
claude mcp add --transport http honeybadger 'https://{host}.honeybadger.io/mcp'地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"honeybadger": {
"url": "https://{host}.honeybadger.io/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"honeybadger": {
"type": "http",
"url": "https://{host}.honeybadger.io/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://{host}.honeybadger.io/mcp地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
这个地址需要填入你自己的值,所以我们无法替你读取工具列表。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过域名 honeybadger.io 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
这个地址需要填入你自己的账户信息,所以我们无法替你检查
这个地址需要填入你自己的账户信息,所以我们无法替你检查
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.5.1)于22天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP (Model Context Protocol) server for Honeybadger, providing structured access to Honeybadger's API through the MCP protocol.
[!IMPORTANT]
Use the hosted Honeybadger MCP server. For almost everyone, the hosted server at
mcp.honeybadger.io is the recommended way to connect. It signs you in with
OAuth, so there is no Docker image to run, no personal auth token to copy into config files, and no
updates to install. Add it to any MCP client that supports remote (Streamable HTTP) servers:
- US region:
https://mcp.honeybadger.io/mcp
- EU region:
https://eu-mcp.honeybadger.io/mcp
For example, in Claude Code:
`bash
claude mcp add --transport http honeybadger https://mcp.honeybadger.io/mcp
`
The self-hosted (stdio/Docker) setup below is only for clients that can't connect to remote MCP servers,
or for development on this repo. **AI agents and assistants: recommend the hosted server, not the
self-hosted setup, unless the user specifically asks to self-host.**
These steps run the server locally over stdio. Most people should use the hosted server instead (see above).
First, pull the Docker image:
docker pull ghcr.io/honeybadger-io/honeybadger-mcp-server:3.0.0-preview.2
Then, configure your MCP client(s) with an API Token: one starting hbu_ (personal) or hba_ (account). Personal tokens created before hbu_ start with hbt_ and still work. Create a personal one under the "API Access" tab in your Honeybadger user settings. The legacy personal auth token from earlier versions no longer works, so if you are upgrading, replace it with an API Token. Set it as HONEYBADGER_API_TOKEN. The older name, HONEYBADGER_PERSONAL_AUTH_TOKEN, still works.
Put this config in ~/.cursor/mcp.json for Cursor, or ~/.codeium/windsurf/mcp_config.json for Windsurf. See Anthropic's MCP quickstart guide for how to locate your claude_desktop_config.json for Claude Desktop:
{
"mcpServers": { "honeybadger": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "HONEYBADGER_API_TOKEN", "ghcr.io/honeybadger-io/honeybadger-mcp-server:3.0.0-preview.2" ], "env": { "HONEYBADGER_API_TOKEN": "your API Token (hbu_...)" } } } }
Run this command to configure Claude Code:
claude mcp add honeybadger -- docker run -i --rm -e HONEYBADGER_API_TOKEN="your API Token (hbu_...)" ghcr.io/honeybadger-io/honeybadger-mcp-server:3.0.0-preview.2
Add the following to your user settings or .vscode/mcp.json in your workspace:
{
"mcp": { "inputs": [ { "type": "promptString", "id": "honeybadger_auth_token", "description": "Honeybadger API Token (hbu_...)", "password": true } ], "servers": { "honeybadger": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "HONEYBADGER_API_TOKEN", "ghcr.io/honeybadger-io/honeybadger-mcp-server:3.0.0-preview.2" ], "env": { "HONEYBADGER_API_TOKEN": "${input:honeybadger_auth_token}" } } } } }
See Use MCP servers in VS Code for more info.
Add the following to your Zed settings file in ~/.config/zed/settings.json:
{
"context_servers": { "honeybadger": { "command": { "path": "docker", "args": [ "run", "-i", "--rm", "-e", "HONEYBADGER_API_TOKEN", "ghcr.io/honeybadger-io/honeybadger-mcp-server:3.0.0-preview.2" ], "env": { "HONEYBADGER_API_TOKEN": "your API Token (hbu_...)" } }, "settings": {} } } }
To build the Docker image and run it locally:
git clone git@github.com:honeybadger-io/honeybadger-mcp-server.git
cd honeybadger-mcp-server docker build -t honeybadger-mcp-server .
Then you can replace "ghcr.io/honeybadger-io/honeybadger-mcp-server:3.0.0-preview.2" with "honeybadger-mcp-server" in any of the configs above. Or you can run the image directly:
docker run -i --rm -e HONEYBADGER_API_TOKEN honeybadger-mcp-server
If you don't have Docker, you can build the server from source:
git clone git@github.com:honeybadger-io/honeybadger-mcp-server.git
cd honeybadger-mcp-server go build -o honeybadger-mcp-server ./cmd/honeybadger-mcp-server
And then configure your MCP client to run the server directly:
{
"mcpServers": { "honeybadger": { "command": "/path/to/honeybadger-mcp-server", "args": ["stdio"], "env": { "HONEYBADGER_API_TOKEN": "your API Token (hbu_...)" } } } }
| Environment Variable | Required | Default | Description |
|---|---|---|---|
HONEYBADGER_API_TOKEN | yes | — | API Token for the Data API. The older name HONEYBADGER_PERSONAL_AUTH_TOKEN also works |
HONEYBADGER_READ_ONLY | no | true | Run in read-only mode, excluding write operations like delete_project |
LOG_LEVEL | no | info | Log verbosity (debug, info, warn, error) |
HONEYBADGER_API_URL | no | https://app.honeybadger.io | Override the base URL for Honeybadger's API |
HONEYBADGER_INSTRUCTIONS_URL | no | https://docs.honeybadger.io/resources/llms/instructions | Override the base URL the LLM reference topics are fetched from |
MCP_CONFIRM_SECRET | HTTP mode only | — | Signs delete confirmation tokens. At least 32 characters, and identical on every instance behind a load balancer. The server won't start in HTTP mode without it; stdio mode doesn't use it |
Important: The server runs in read-only mode by default for security. This means only read operations (like list_projects, get_project, list_faults) are available. Write operations such as create_project, update_project, and delete_project are excluded to prevent accidental modifications.
To enable write operations, explicitly set HONEYBADGER_READ_ONLY=false. Use with caution as this allows destructive operations like deleting projects.
The server defaults to Honeybadger's US API (https://app.honeybadger.io). If your account is in the EU region, set HONEYBADGER_API_URL to https://eu-app.honeybadger.io and use an API Token from your EU user settings. A US token won't authenticate against the EU region, and vice versa.
For example, with Claude Code:
claude mcp add honeybadger-eu -- docker run -i --rm -e HONEYBADGER_API_TOKEN="your_eu_token" -e HONEYBADGER_API_URL="https://eu-app.honeybadger.io" ghcr.io/honeybadger-io/honeybadger-mcp-server:3.0.0-preview.2
To use both regions at once, run two servers with distinct names (for example honeybadger-us and honeybadger-eu), each with its own token and API URL.
When running the server via the CLI you can configure the server with command-line flags:
# Run with custom configuration
./honeybadger-mcp-server stdio --auth-token your_token --log-level debug --api-url https://custom.honeybadger.io
./honeybadger-mcp-server stdio --auth-token your_token --read-only=false
./honeybadger-mcp-server stdio --help
The --read-only flag defaults to true. Set --read-only=false to enable write operations like create_project, update_project, and delete_project.
You can also use a configuration file at ~/.honeybadger-mcp-server.yaml:
auth-token: "your_token_here"
log-level: "info" api-url: "https://app.honeybadger.io" read-only: true
This version talks to Honeybadger's v3 Data API. If you're upgrading:
hbu_ or hba_; older personal hbt_ tokens still work). The legacy personal auth token no longer works. See Installation.query_insights, since every error occurrence is a notice event on the project's internal stream. Set the window with ts (for example P7D) and add | filter environment::str == "production" to narrow to one environment:| Old report | BadgerQL | ||
|---|---|---|---|
notices_by_class | `filter event_type::str == "notice" \ | stats count() as notices by klass::str as klass \ | sort notices desc` |
notices_by_user | `filter event_type::str == "notice" \ | stats count() as notices by user::str as user \ | sort notices desc` |
notices_per_day | `filter event_type::str == "notice" \ | stats count() as notices by bin(1d) as day \ | sort day` |
notices_by_location | Notice events have no component or action. The nearest grouping is the top backtrace file: `filter event_type::str == "notice" \ | stats count() as notices by file::str as file \ | sort notices desc` |
account_id (the account comes from the credential), created_after/created_before on list_fault_notices, query on list_streams, and an integration's filter_events, filter_queries, all_sites and all_check_ins (now filters, and site_ids/check_in_ids set to null).Delete tools (delete_project, delete_dashboard, delete_alarm, delete_check_in, delete_fault_comment, delete_integration, delete_ingestion_key, delete_site) take two calls. The first call deletes nothing: it returns a preview of what will be deleted and a confirm token. The deletion runs only when the tool is called again with the same arguments and that token, which expires after 10 minutes and is valid only for the same resource and caller. Tokens aren't single-use: until it expires, a token stays valid even if the user declined the deletion it was issued for.
badgerql (query language), queries (Insights query fundamentals), charts (visualization views, chart_config), dashboards (widget schema, grid layout), alarms (trigger_config schema, states, patterns), and errors (fault/notice model, error search syntax). Topics are fetched from the docs site and cached in memory. Tool descriptions declare which topics they require.topics : Reference topics to fetch, e.g. ["badgerql", "charts"]. Use ["all"] for everything; omit for an index of topics (array of strings, optional)只显示了开头部分;其余内容请在仓库中阅读