KosmoKrator

productivity

Rollbar MCP Integration for Claude Agent SDK

Connect Rollbar to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Rollbar 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.

Rollbar MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "mcpServers": {
    "kosmokrator-rollbar": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=rollbar",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=rollbar --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Rollbar 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.

Rollbar Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Rollbar integration catalog.

MCP toolSource functionTypeDescription
integration__rollbar__rollbar_list_projects rollbar.rollbar_list_projects Read List all projects in your Rollbar account. Returns project IDs, names, and status information.
integration__rollbar__rollbar_get_project rollbar.rollbar_get_project Read Get details for a specific Rollbar project by its ID.
integration__rollbar__rollbar_list_items rollbar.rollbar_list_items Read List error items in Rollbar with optional filters for project, level, status, and environment.
integration__rollbar__rollbar_get_item rollbar.rollbar_get_item Read Get details for a specific Rollbar error item by its ID.
integration__rollbar__rollbar_list_deploys rollbar.rollbar_list_deploys Read List recent deploys across your Rollbar account, optionally filtered by environment.
integration__rollbar__rollbar_list_teams rollbar.rollbar_list_teams Read List all teams in your Rollbar account.
integration__rollbar__rollbar_get_current_user rollbar.rollbar_get_current_user Read Get details about the currently authenticated Rollbar user.

Related Rollbar Pages