How to set up the Rollbar MCP Server in Claude
- Make a read-scope project token available to your Claude Code process as ROLLBAR_ACCESS_TOKEN.
- Add the configuration to the project’s .mcp.json, restart Claude Code, and test a known item in a project the token can read.
{
"mcpServers": {
"rollbar": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rollbar/mcp-server@latest"
],
"env": {
"ROLLBAR_ACCESS_TOKEN": "${ROLLBAR_ACCESS_TOKEN}"
}
}
}
}Read an error report with its deploy history
The local Rollbar MCP process gives Claude access to items, occurrences, and deploy data that the configured token is allowed to see. Start with one project, environment, and item ID so the assistant can check what actually changed.
Check whether an error predates a release
Ask Claude for the first two staging occurrences of a known error, their timestamps, and the active deploys at those times. Open each occurrence in Rollbar and compare the reported version and first application stack frame. Confirm the error started after the deploy before treating that deploy as a lead.
Use read scope for investigation
Rollbar documents different token types for project and account access. A read-scope token is sufficient for ordinary triage. Some tools such as metrics require additional product features, and writing comments or taking action uses separate permissions.