KosmoKrator

productivity

Bugsnag MCP Integration for OpenAI Agents SDK

Connect Bugsnag to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write API token auth

Connect Bugsnag to OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Bugsnag MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "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

Scoped tools

Expose only Bugsnag instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Bugsnag Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Bugsnag integration catalog.

MCP toolSource functionTypeDescription
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.

Related Bugsnag Pages