
rollbar/rollbar-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ロールバーのモデルコンテキストプロトコルサーバー
概要
ロールバーのモデルコンテキストプロトコル(MCP)サーバー。 このMCPサーバーは、あなたのAIツール(Claude、Cursorなど)が直接実行されることを意味します。 別のプロセスを実行したり、HTTP経由で接続したりすることはありません。 アイテム履歴を読み、コメントを自分で投稿するには、ROLLBAR USER ACCESS TOKEN でロールバーを設定するか、設定ファイルを使用します。 読み込みのスコープを使うか、コメントを投稿する MCP は GET /projects (read scope) でプロジェクトを解決し、書き込みスコープで投稿します。 ロールバーのユーザーはまた、そのプロジェクトに投稿する履歴と許可を読むために許可を必要とします。 プロジェクトトークンと通常のアカウントトークンはコメントを投稿できません。 ユーザーモードは、プロジェクトトークンが提示されるタイミングを含む、設定されたユーザーのトークンですべてのリクエストを送信します。 コメントの権限は、そのトークンから来る; あなたは別の著者を供給することはできません. バックエンドのマークは、via api: true でコメントを投稿し、通常のサブスクリプションと通知を処理します.
概要(AI 翻訳)
ロールバーのモデルコンテキストプロトコル(MCP)サーバー。
##特徴
この MCP サーバーは、AI ツール (Claude, Cursor など) が直接実行されることを意味します。 別のプロセスを実行したり、 http に接続したりすることはありません。
設定
ユーザーアクセストークン
アイテムの履歴を読み、コメントを自分で投稿するには、ロールバーuser-scopedアカウントアクセストークンを[ROLLBAR_USER_ACCESS_TOKEN]で設定するか、設定ファイルを使用します。
read* スコープを使用して、読み込み、またはread および write を使用してコメントを投稿します。 MCP は [GET /projects でプロジェクトを解決し、書き込みスコープで投稿します。 Rollbar のユーザーは、view の権限で、履歴とcommentの許可を読み取り、そのプロジェクトに投稿する必要があります。 プロジェクトトークンと通常のアカウントトークンはコメントを投稿できません。
ユーザーモードは、プロジェクトトークンが提示されるタイミングを含む、設定されたユーザーのトークンですべてのリクエストを送信します。 コメントの権限は、そのトークンから来る; あなたは別の著者を供給することはできません. [via_api: true]でコメントを投稿したバックエンドマークで、通常のサブスクリプションと通知を処理します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
rollbar-mcp-server
A Model Context Protocol (MCP) server for Rollbar.
Features
This MCP server implements the stdio server type, which means your AI tool (e.g. Claude, Cursor) will run it directly; you don’t run a separate process or connect over http.
Configuration
User access token
To read item history and post comments as yourself, configure a Rollbar user-scoped account access token with ROLLBAR_USER_ACCESS_TOKEN, or use a config file:
{ "userToken": "" }
Use read scope for reads, or read and write to post comments. The MCP resolves your project through GET /projects (read scope), then posts with write scope. Your Rollbar user also needs view permission to read history and comment permission to post in that project. Project tokens and ordinary account tokens cannot post comments.
User mode sends every request with the configured user’s token, including when per-project tokens are also present. Comment authorship comes from that token; you cannot supply a different author. The backend marks posted comments with via_api: true and handles normal subscriptions and notifications.
Configure exactly one of userToken / ROLLBAR_USER_ACCESS_TOKEN or accountToken / ROLLBAR_ACCOUNT_ACCESS_TOKEN. Configuring both fails at startup, including when one comes from a file and the other from the environment. A file value overrides the environment value for the same token type. apiBase in a file or ROLLBAR_API_BASE in environment-only configuration selects a custom API endpoint.
Use list-projects to find the project name or numeric ID for the tools’ project argument. It is optional when your user token can see exactly one enabled project. A token supplied only through the legacy ROLLBAR_ACCESS_TOKEN setting is not inferred to be a user token; set ROLLBAR_USER_ACCESS_TOKEN explicitly for posting.
Account access token
Configure a single Rollbar Account Access Token to read and update items across projects in that account. Posting comments requires user mode above:
ROLLBAR_ACCOUNT_ACCESS_TOKEN(env var), oraccountToken(a top-level key in.rollbar-mcp.json, alongsideprojects/token/apiBase)
To create one: in Rollbar, go to your account settings → Account Access Tokens, create a new named, enabled token, and choose read (or read and write, if you plan to use update-item) scope. Copy the full generated secret right away, Rollbar only shows it once, and store it securely (a secrets manager or your shell’s env config, not committed to source control).
{
"accountToken": "acct_tok_abc123"
}
インストール
npx -y @rollbar/mcp-server@latest設定
{
"mcpServers": {
"rollbar": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@rollbar/mcp-server@latest"],
"env": {
"ROLLBAR_ACCESS_TOKEN": "<project read/write access token>"
}
}
}
}