
rollbar/rollbar-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Rollbar를 위한 모형 Context 의정서 서버
개요
Rollbar를 위한 모형 Context 의정서 (MCP) 서버. 이 MCP 서버는 AI 도구 (예 : Claude, Cursor)가 직접 실행되는 것을 의미하는 stdio 서버 유형을 구현합니다. 별도의 프로세스를 실행하거나 http를 연결하지 마십시오. 아이템의 역사와 게시물을 직접 읽으려면 ROLLBAR USER ACCESS TOKEN으로 Rollbar를 구성하거나 구성 파일을 사용하십시오. 읽기, 또는 게시물에 대한 범위를 사용합니다. MCP는 GET /projects (읽는 범위)를 통해 프로젝트를 해결하고, 다음 글을 작성합니다. 롤바 사용자는 또한 그 프로젝트에 기록과 권한을 읽을 수 있습니다. 프로젝트 토큰 및 일반 계정 토큰은 댓글을 게시 할 수 없습니다. 사용자 모드는 각 요청을 구성한 사용자의 토큰으로 보낼 수 있습니다. per-project 토큰은 현재 있습니다. 댓글 작성자는 그 토큰에서 제공; 당신은 다른 저자를 공급할 수 없습니다. 백엔드 마크는 via api와 함께 코멘트를 게시했습니다. true 및 핸들은 일반 구독 및 알림입니다.
개요(AI 번역)
Rollbar를 위한 모형 Context 의정서 (MCP) 서버.
특징
이 MCP 서버는 AI 도구 (예 : Claude, Cursor)가 직접 실행되는 것을 의미하는 stdio 서버 유형이 구현됩니다. 별도의 프로세스를 실행하거나 http를 연결하지 마십시오.
구성
사용자 액세스 토큰
아이템의 역사와 게시물을 직접 읽으려면 롤바 ** user-scoped 계정 액세스 토큰**를 ROLLBAR_USER_ACCESS_TOKEN로 설정하거나 설정 파일을 사용하십시오.
useread read, 또는read 및 write 에 게시 코멘트. MCP는 GET /projects] (읽는 범위)를 통해 프로젝트를 해결하고, 쓰기 범위를 가진 게시물. Rollbar 사용자도 필요 view 읽는 권한 및 comment 그 프로젝트에 게시 권한을 부여합니다. 프로젝트 토큰 및 일반 계정 토큰은 댓글을 게시 할 수 없습니다.
사용자 모드는 각 요청을 구성한 사용자의 토큰으로 보낼 수 있습니다. per-project 토큰은 현재 있습니다. 댓글 작성자는 그 토큰에서 제공; 당신은 다른 저자를 공급할 수 없습니다. 백엔드 마크는 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>"
}
}
}
}