A
Airbrake MCP
作者 @httplab
MCP server by httplab
创建于 1/5/2026
更新于 3 days ago
README
Repository documentation and setup instructions
Airbrake MCP Server
MCP (Model Context Protocol) server for Airbrake error tracking integration with Claude Code.
Features
- List Airbrake projects
- List and filter error groups
- Get detailed error information with backtraces
- List individual error occurrences (notices)
- Resolve/unresolve errors
- Mute/unmute error notifications
Requirements
- Ruby 3.0+
- Airbrake User API Key
Installation
Via RubyGems
gem install airbrake_mcp
From Source
git clone https://github.com/httplab/airbrake_mcp.git
cd airbrake_mcp
bundle install
Configuration
Getting Your API Key
- Log in to Airbrake
- Go to Profile Settings
- Find "User API Key" section
- Copy your key
Claude Code Integration
Quick Setup
claude mcp add airbrake airbrake_mcp \
-e AIRBRAKE_USER_KEY=your_user_key \
-e AIRBRAKE_PROJECT_ID=123456
Using rbenv/asdf/chruby
If you use a Ruby version manager, Claude Code runs in a non-interactive shell without access to your shell profile. Provide the full path to the shim:
# rbenv
claude mcp add airbrake ~/.rbenv/shims/airbrake_mcp \
-e AIRBRAKE_USER_KEY=your_user_key \
-e AIRBRAKE_PROJECT_ID=123456
# asdf
claude mcp add airbrake ~/.asdf/shims/airbrake_mcp \
-e AIRBRAKE_USER_KEY=your_user_key \
-e AIRBRAKE_PROJECT_ID=123456
Manual Configuration
Add to ~/.claude/settings.json:
{
"mcpServers": {
"airbrake": {
"command": "airbrake_mcp",
"args": [],
"env": {
"AIRBRAKE_USER_KEY": "your_user_key",
"AIRBRAKE_PROJECT_ID": "123456"
}
}
}
}
Available Tools
list_projects
List all Airbrake projects accessible to the user.
list_errors
List error groups with filtering options.
Parameters:
project_id(optional) - Project ID, uses default if not specifiedpage(optional) - Page number, default: 1limit(optional) - Results per page, default: 20resolved(optional) - Filter by resolved status (true/false)
get_error
Get detailed information about a specific error group including backtrace.
Parameters:
group_id(required) - Error group IDproject_id(optional) - Project ID
list_notices
List individual occurrences/notices for an error group.
Parameters:
group_id(required) - Error group IDproject_id(optional) - Project IDpage(optional) - Page number, default: 1limit(optional) - Results per page, default: 10
resolve_error
Mark an error group as resolved or unresolve it.
Parameters:
group_id(required) - Error group IDproject_id(optional) - Project IDresolved(optional) - true to resolve, false to unresolve, default: true
mute_error
Mute or unmute an error group (suppress/enable notifications).
Parameters:
group_id(required) - Error group IDproject_id(optional) - Project IDmute(optional) - true to mute, false to unmute, default: true
Development
Running Tests
bundle exec rspec
Building the Gem
gem build airbrake_mcp.gemspec
License
MIT
快速设置
此服务器的安装指南
安装命令 (包未发布)
git clone https://github.com/httplab/airbrake_mcp
手动安装: 请查看 README 获取详细的设置说明和所需的其他依赖项。
Cursor 配置 (mcp.json)
{
"mcpServers": {
"httplab-airbrake-mcp": {
"command": "git",
"args": [
"clone",
"https://github.com/httplab/airbrake_mcp"
]
}
}
}