KosmoKrator

productivity

Rollbar MCP Integration for LangChain

Connect Rollbar to LangChain 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 LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Rollbar MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

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

LangChain 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