Rollbar MCP by usefulapi
v1.2.1Read error items, occurrences and deploys; update item status and assignee in Rollbar.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rollbar_list_projects List projects
List the projects in the account. Needs an account access token. Rollbar API: GET /api/1/projects.
rollbar_get_project Get a project
Get one project: name, status and settings. Uses the configured project ID unless project_id is given. Rollbar API: GET /api/1/project/{project_id}.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Numeric Rollbar ID. |
rollbar_list_environments List environments
List the environments of the project (for example production or staging), 20 per page. Rollbar API: GET /api/1/environments.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starting at 1. |
rollbar_list_items List items
List error items (grouped occurrences) with their status, level, environment and counts. 100 per page. Use it to find what is failing. Rollbar API: GET /api/1/items.
| Parameter | Type | Description |
|---|---|---|
assigned_user | string | Username, or assigned / unassigned. |
environment | string | Only items in this environment, for example production. |
is_snoozed | boolean | true = only snoozed items; false = leave them out. |
level | string | Only items with this level. |
page | integer | Page number, starting at 1. |
query | string | Search text, as in the Rollbar Items search box. |
status | string | Only items with this status. |
rollbar_get_item Get an item
Get one item by its ID: title, status, level, counts and assignee. The ID is the id field of list results, not the project counter in the URL. Rollbar API: GET /api/1/item/{itemid}.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Numeric Rollbar ID. |
rollbar_find_item Find an item by counter or UUID
Find one item from the project counter (the number in a Rollbar item URL) or an occurrence UUID. Give one of them. Rollbar API: GET /api/1/item/?counter= or ?uuid=.
| Parameter | Type | Description |
|---|---|---|
counter | string | Project item counter. |
uuid | string | Occurrence UUID. |
rollbar_list_item_occurrences List occurrences of an item
List the occurrences (single error events) of one item, newest first, 20 per page. Use them to read stack traces and request data. Rollbar API: GET /api/1/item/{item_id}/instances.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Numeric Rollbar ID. |
page | integer | Page number, starting at 1. |
rollbar_list_item_events List history of an item
List the history of one item: comments, status, level and assignee changes. Pass type to filter, for example item_status_history. Rollbar API: GET /api/1/item/{item_id}/events.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Numeric Rollbar ID. |
page | integer | Page number, starting at 1. |
type | string | One event type, for example item_comment or item_status_history. |
rollbar_list_deploys List deploys
List deploys reported to the project, most recent first, 20 per page. Use it to link errors to releases. Rollbar API: GET /api/1/deploys.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starting at 1. |
rollbar_get_deploy Get a deploy
Get one deploy: environment, revision, user and time. Rollbar API: GET /api/1/deploy/{deploy_id}.
| Parameter | Type | Description |
|---|---|---|
deploy_id * | string | Numeric Rollbar ID. |
rollbar_top_active_items Top active items
List the most active items over the last hours, with their occurrence counts. A good first call to find the biggest problems. Rollbar API: GET /api/1/reports/top_active_items.
| Parameter | Type | Description |
|---|---|---|
environments | string | Comma-separated environments; empty means all. |
hours | integer | Look-back window in hours (default 24). |
rollbar_occurrence_counts Occurrence counts over time
Count occurrences per time bucket (minute, hour or day, GMT), filtered by level, environment or item. Rollbar API: GET /api/1/reports/occurrence_counts.
| Parameter | Type | Description |
|---|---|---|
bucket_size | string | Bucket in seconds: 60, 3600 or 86400 (default 86400). |
environments | string | Comma-separated environments; empty means all. |
item_id | string | Count only this item. |
max_level | string | Highest level to count. |
min_level | string | Lowest level to count (default error). |
rollbar_list_teams List teams
List the teams of the account. Needs an account access token. Rollbar API: GET /api/1/teams.
rollbar_list_users List users
List the users of the account with their usernames and emails. Needs an account access token. Give email to look one user up. Rollbar API: GET /api/1/users.
| Parameter | Type | Description |
|---|---|---|
email | string | Look up one user by email. |
rollbar_update_item Update an item
Change an item: status (active, resolved or muted), level, title, resolved_in_version (when resolving) or assignee. Changes what the team sees, so confirm first. Needs a token with the write scope. Rollbar API: PATCH /api/1/item/{itemid}.
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Numeric Rollbar ID. |
assigned_user_id | integer | |
level | string | |
resolved_in_version | string | Release that fixes the item. Used with status resolved. |
status | string | |
title | string |