Overview
What is Rollbar MCP Server?
It is a dynamic MCP server that integrates with the Rollbar API, enabling LLMs to interact with Rollbar error tracking data. Designed for developers using AI assistants like Cursor to query and manage Rollbar errors, deployments, projects, and users.
How to use Rollbar MCP Server?
Install via npx -y @hiyorineko/mcp-rollbar-server or clone the repository and build locally. Configure required environment variables (ROLLBAR_PROJECT_TOKEN, ROLLBAR_ACCOUNT_TOKEN) and optional ones (ROLLBAR_PROJECT_ID, ROLLBAR_PROJECT_NAME). Add the server to ~/.cursor/mcp.json with the appropriate command, args, and env settings.
Key features of Rollbar MCP Server
- List and filter error items by status, level, environment
- Get detailed error item info including stack trace
- View error occurrences and individual occurrence details
- Access project and environment details
- Track deployments with optional environment filter
- List and retrieve user information
Use cases of Rollbar MCP Server
- Ask an LLM to list the most recent production errors
- Get detailed information for a specific error item ID
- Track recent deployments for a project
- Filter errors by critical level in the last week
- Retrieve project or user information from Rollbar
FAQ from Rollbar MCP Server
What tokens are required and why?
ROLLBAR_PROJECT_TOKEN is needed for project-level APIs (items, occurrences, environments, deploys). ROLLBAR_ACCOUNT_TOKEN is needed for account-level APIs (projects, users). For full functionality, both tokens are recommended, but individual APIs work with only the relevant token.
How do I obtain Rollbar access tokens?
Log in to your Rollbar account, go to Settings > Project Access Tokens (for project tokens) or Settings > Account Access Tokens (for account tokens), and create a new token with "read" scope.
Which APIs require each token?
A table in the README maps each tool to its required token. For example, rollbar_list_items requires ROLLBAR_PROJECT_TOKEN, while rollbar_list_projects requires ROLLBAR_ACCOUNT_TOKEN.
Is the project ID mandatory?
No, ROLLBAR_PROJECT_ID is optional. It acts as a default when not specified in requests.
Does this server use any transport besides stdio?
No, the server is configured via command/args in mcp.json, which uses the standard MCP stdio transport. No other transports are mentioned.