rollbar-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rollbar-mcp show the most recent Rollbar occurrences in production"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Rollbar MCP
A focused, read-only Model Context Protocol server for Rollbar investigations. It works with Amp, Claude Code, Codex, and other clients that support local stdio MCP servers.
Tools
The server deliberately exposes only two tools:
rollbar_list_environmentslists configured credential environments without exposing their tokens.rollbar_getperforms one authenticatedGETrequest to a Rollbar API path.
It does not expose writes, POST requests, or RQL. Tool output is limited to 2,000 lines or 50 KiB. Request paths and redirects remain confined to the configured HTTPS origin so access tokens are never forwarded elsewhere.
Related MCP server: sonarqube-api-mcp
Requirements
Node.js 20 or newer
A Rollbar Project Access Token with only the
readscope for each credential environment
Configure the process that runs your MCP client with environment variables named ROLLBAR_<ENVIRONMENT>_ACCESS_TOKEN:
export ROLLBAR_QA_ACCESS_TOKEN="your-qa-read-token"
export ROLLBAR_STAGING_ACCESS_TOKEN="your-staging-read-token"
export ROLLBAR_PROD_ACCESS_TOKEN="your-prod-read-token"The server discovers these variables and exposes their lowercased environment segments through rollbar_list_environments. Requests default to prod when no credential environment is specified. Treat all access tokens as secrets and do not commit them to MCP configuration files.
The Rollbar API base URL defaults to https://api.rollbar.com. Custom or proxied API endpoints can override it with ROLLBAR_API_BASE_URL; the value must use HTTPS and cannot include credentials, a query string, or a fragment.
Run the published package through an MCP client:
npx -y @andreimaxim/rollbar-mcpIt communicates over standard input and output, so running it directly appears to do nothing while it waits for an MCP client.
Amp
The distributable using-rollbar skill includes the MCP launch configuration and exposes only rollbar_list_environments and rollbar_get. Install that directory as a project, personal, or workspace skill.
For a project skill, copy it into the repository:
.agents/skills/using-rollbar/SKILL.mdFor an orb, add the required ROLLBAR_*_ACCESS_TOKEN values under personal, project, or workspace Secrets & Env Vars. The included skill forwards the common qa, staging, and prod profiles; add another environment-variable reference to its mcpServers.rollbar.env map if you use a different profile name. Amp starts the MCP server in the orb when it discovers the skill and reveals its tools only when the skill loads.
The previous amp.rollbar.* plugin settings are no longer read; the portable MCP server uses environment variables in every harness.
Claude Code
Register the same stdio server at user scope:
claude mcp add --scope user --transport stdio rollbar -- \
npx -y @andreimaxim/rollbar-mcpStart Claude Code with the desired ROLLBAR_*_ACCESS_TOKEN variables available in its environment. For team distribution, put the equivalent server entry in the project's .mcp.json and keep credentials as environment-variable references.
Codex
Add this entry to ~/.codex/config.toml, or to .codex/config.toml in a trusted project:
[mcp_servers.rollbar]
command = "npx"
args = ["-y", "@andreimaxim/rollbar-mcp"]
env_vars = [
"ROLLBAR_QA_ACCESS_TOKEN",
"ROLLBAR_STAGING_ACCESS_TOKEN",
"ROLLBAR_PROD_ACCESS_TOKEN",
"ROLLBAR_API_BASE_URL",
]
enabled_tools = ["rollbar_list_environments", "rollbar_get"]Forward only the credential environments you use. The env_vars list forwards existing variables without placing their values in the configuration file.
Development
npm install
npm run check
npm pack --dry-runRepository layout:
src/rollbar.tscontains credential discovery, request validation, the Rollbar HTTP client, redirect confinement, and bounded output formatting.src/server.tsregisters the MCP tools and their read-only annotations.src/index.tsstarts the stdio server.skill/using-rollbar/SKILL.mdcontains the Amp skill and its MCP launch configuration.test/contains HTTP-client and protocol-level integration tests.
Available Tools
2 toolsrollbar_getGet Rollbar dataARead-onlyIdempotent
Make one authenticated GET request to a Rollbar API path. This tool is read-only and may truncate large output.
Inputs: path (required), query, environment.
rollbar_list_environmentsList Rollbar environmentsARead-onlyIdempotent
List configured Rollbar credential environments without exposing their access tokens.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
rollbar_list_environments is clearly specific to listing environments, while rollbar_get is a generic authenticated GET. The risk of confusion is low, though rollbar_get could technically be used to list environments as well, making boundaries slightly blurred.
Both tools share the rollbar_ prefix and use verb-first naming. However, rollbar_list_environments has a verb_noun structure while rollbar_get is just a verb, so the pattern is not perfectly uniform.
Only two tools for a platform as feature-rich as Rollbar is very thin. The generic GET tool provides some flexibility, but the server feels understaffed for its domain.
The toolset is entirely read-only: listing environments and making GET requests. There are no create, update, or delete operations, leaving many Rollbar workflows inaccessible. The generic GET helps read data but cannot close the gap for write operations.
Maintenance
Related MCP Connectors
Read-only MCP server for AIStatusDashboard status, incidents, metrics, and fallback recommendations.
MCP server for Statsig API - interact with Statsig's feature flags, experiments, and analytics
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP server for Riveter's enrichment, scraping, and monitoring API
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server implementation that enables LLMs to interact with Rollbar error tracking data, allowing users to list and analyze errors, view occurrences, track deployments, and access project information.1329 npm6MIT
- AlicenseBqualityDmaintenanceRead-only MCP server that exposes SonarQube Web API tools for issue retrieval, quality gate status, and source context, enabling coding agents to fix code issues.8166 npm1MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for the Production Master incident-investigation service, enabling any MCP client to drive investigations via tool calls with pass-through authentication.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for investigating cloud incidents and managing approvals. Provides read-only tools to list incidents, investigate incidents, and list approvals, keeping remediation behind human approval.MIT