productivity
Bugsnag MCP, CLI, and Lua Integration for AI Agents
Bugsnag integration docs for AI agents: MCP gateway setup, Bugsnag CLI commands, Lua API reference, credentials, and function schemas.
7 functions 7 read 0 write API token auth
Bugsnag for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
bugsnag- route_slug
bugsnag- package
bugsnag- auth_strategy
api_tokenAPI token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Bugsnag CLIHeadless setup and direct function calls. Bugsnag MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Bugsnag MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Bugsnag.
Claude Code Bugsnag MCP setup for Claude Code. Cursor Bugsnag MCP setup for Cursor. Codex Bugsnag MCP setup for Codex. OpenAI Agents Bugsnag MCP setup for OpenAI Agents SDK. Claude Agent SDK Bugsnag MCP setup for Claude Agent SDK. Vercel AI SDK Bugsnag MCP setup for Vercel AI SDK. LangChain Bugsnag MCP setup for LangChain. LangGraph Bugsnag MCP setup for LangGraph. CrewAI Bugsnag MCP setup for CrewAI. MCP clients Bugsnag MCP setup for Generic MCP Clients.
Bugsnag CLI Matrix
Use these pages for direct Bugsnag CLI workflows in scripts, CI, cron, and agent wrappers.
CI Bugsnag CLI for CI. Cron Jobs Bugsnag CLI for cron jobs. Shell Scripts Bugsnag CLI for shell scripts. Headless Automation Bugsnag CLI for headless automation. Coding Agents Bugsnag CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
bugsnag.bugsnag_list_projects | Read read | 3 | List Bugsnag projects visible to the authenticated user. Returns project names and IDs that can be used with other tools. |
bugsnag.bugsnag_get_project | Read read | 1 | Get details for a single Bugsnag project, including its name, API key, type, and error counts. |
bugsnag.bugsnag_list_errors | Read read | 6 | List errors for a Bugsnag project. Supports filtering by severity and status, and sorting by various fields. |
bugsnag.bugsnag_get_error | Read read | 1 | Get details for a specific Bugsnag error, including its message, severity, context, and stack trace. |
bugsnag.bugsnag_list_events | Read read | 4 | List events (individual error occurrences) for a Bugsnag project. Optionally filter by a specific error. |
bugsnag.bugsnag_list_collaborators | Read read | 3 | List collaborators (team members) for a Bugsnag organization. |
bugsnag.bugsnag_get_current_user | Read read | 0 | Get the currently authenticated Bugsnag user, including name, email, and associated organizations. |