productivity
Bugsnag MCP Integration for Claude Agent SDK
Connect Bugsnag to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Bugsnag to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Bugsnag MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-bugsnag": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=bugsnag",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=bugsnag --write=deny Why Use KosmoKrator Here
Expose only Bugsnag instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Bugsnag Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Bugsnag integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__bugsnag__bugsnag_list_projects | bugsnag.bugsnag_list_projects | Read | List Bugsnag projects visible to the authenticated user. Returns project names and IDs that can be used with other tools. |
integration__bugsnag__bugsnag_get_project | bugsnag.bugsnag_get_project | Read | Get details for a single Bugsnag project, including its name, API key, type, and error counts. |
integration__bugsnag__bugsnag_list_errors | bugsnag.bugsnag_list_errors | Read | List errors for a Bugsnag project. Supports filtering by severity and status, and sorting by various fields. |
integration__bugsnag__bugsnag_get_error | bugsnag.bugsnag_get_error | Read | Get details for a specific Bugsnag error, including its message, severity, context, and stack trace. |
integration__bugsnag__bugsnag_list_events | bugsnag.bugsnag_list_events | Read | List events (individual error occurrences) for a Bugsnag project. Optionally filter by a specific error. |
integration__bugsnag__bugsnag_list_collaborators | bugsnag.bugsnag_list_collaborators | Read | List collaborators (team members) for a Bugsnag organization. |
integration__bugsnag__bugsnag_get_current_user | bugsnag.bugsnag_get_current_user | Read | Get the currently authenticated Bugsnag user, including name, email, and associated organizations. |