Skip to main content
Glama
Sentry MCP Server

Sentry MCP Server

Official
by getsentry

참고 - 이 기능은 훨씬 더 많은 기능(인증, 향상된 도구 등)을 지원하는 Sentry Remote-MCP 서버 로 대체되었습니다. 이 기능은 교육 목적으로 독립형 MCP 서버로 제공되지만, 원격 서버를 사용하는 것이 더 나을 수 있습니다. https://mcp.sentry.dev 에서 실시간으로 확인할 수 있습니다.

센트리 MCP 서버

Sentry와 상호 작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 MCP 서버는 Sentry API와 상호 작용하는 도구를 제공하여 AI 어시스턴트가 오류 데이터를 검색 및 분석하고, 프로젝트를 관리하고, 애플리케이션 성능을 모니터링할 수 있도록 지원합니다.

요구 사항

  • Node.js(v14 이상)

  • npm 또는 yarn

  • API 액세스가 가능한 Sentry 계정

  • 적절한 권한이 있는 Sentry 인증 토큰

Related MCP server: Sentry MCP Server

설정

  1. 종속성 설치:

    지엑스피1

IDE 내에서 이것을 사용

이 MCP는 Cursor, Codeium Windsurf, Claude Desktop에서 작동하는 것으로 검증되었습니다.

Claude와 함께 사용

Claude와 함께 이 MCP 서버를 사용하려면 Claude 설정에 다음 구성을 추가하세요.

{
    "mcpServers": {
        "sentry": {
            "command": "npx",
            "args": ["ts-node", "/Users/<your-user-directory>/sentry-mcp-ts/index.ts"],
            "env": {
                "SENTRY_AUTH": "<YOUR_AUTH_TOKEN>"
            }
        }
    }
}
  • args 필드에 디렉토리 경로를 업데이트합니다.

  • <YOUR_AUTH_TOKEN> Sentry 인증 토큰으로 바꾸세요.

사용 가능한 도구

프로젝트 목록

주어진 조직에서 접근 가능한 모든 Sentry 프로젝트를 나열합니다.

매개변수:

  • organization_slug (문자열, 필수): 프로젝트를 나열할 조직의 슬러그

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

해결_짧은_아이디

짧은 ID를 사용하여 문제에 대한 세부 정보를 검색합니다.

매개변수:

  • organization_slug (문자열, 필수): 문제가 속한 조직의 슬러그

  • short_id (문자열, 필수): 해결할 문제의 짧은 ID(예: PROJECT-123)

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

get_sentry_event

문제에서 특정 Sentry 이벤트를 검색하고 분석합니다.

매개변수:

  • issue_id_or_url (문자열, 필수): 전체 Sentry 문제 URL 또는 숫자 문제 ID

  • event_id (문자열, 필수): 검색할 특정 이벤트 ID

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

프로젝트의 오류 이벤트 목록

특정 Sentry 프로젝트의 오류 이벤트를 나열합니다.

매개변수:

  • organization_slug (문자열, 필수): 프로젝트가 속한 조직의 슬러그

  • project_slug (문자열, 필수): 이벤트를 나열할 프로젝트의 슬러그

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

프로젝트 생성

Sentry에서 새 프로젝트를 만들고 클라이언트 키를 검색합니다.

매개변수:

  • organization_slug (문자열, 필수): 프로젝트를 생성할 조직의 슬러그

  • team_slug (문자열, 필수): 프로젝트를 할당할 팀의 슬러그

  • name (문자열, 필수): 새 프로젝트의 이름

  • platform (문자열, 선택 사항): 새 프로젝트의 플랫폼

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

프로젝트_문제_목록

특정 Sentry 프로젝트의 문제를 나열합니다.

매개변수:

  • organization_slug (문자열, 필수): 프로젝트가 속한 조직의 슬러그

  • project_slug (문자열, 필수): 문제를 나열할 프로젝트의 슬러그

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

이슈_이벤트_목록

특정 Sentry 문제에 대한 이벤트를 나열합니다.

매개변수:

  • organization_slug (문자열, 필수): 문제가 속한 조직의 슬러그

  • issue_id (문자열, 필수): 이벤트를 나열할 문제의 ID

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

get_sentry_issue

Sentry 문제를 검색하고 분석합니다.

매개변수:

  • issue_id_or_url (문자열, 필수): 전체 Sentry 문제 URL 또는 숫자 문제 ID

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

목록_조직_재생

특정 Sentry 조직의 리플레이를 나열합니다.

매개변수:

  • organization_slug (문자열, 필수): 리플레이를 나열할 조직의 슬러그

  • project_ids (string[], 선택 사항): 리플레이를 필터링할 프로젝트 ID 목록

  • environment (문자열, 선택 사항): 리플레이를 필터링할 환경

  • stats_period (문자열, 선택 사항): 통계 기간(예: "24시간", "7일")

  • start (문자열, 선택 사항): 리플레이 필터링 시작 날짜

  • end (문자열, 선택 사항): 리플레이 필터링의 종료 날짜

  • sort (문자열, 선택 사항): 리플레이를 정렬할 필드

  • query (문자열, 선택 사항): 리플레이를 필터링하기 위한 검색 쿼리

  • per_page (숫자, 선택 사항): 페이지당 리플레이 수

  • cursor (문자열, 선택 사항): 페이지 매김을 위한 커서

  • view (문자열, 선택 사항): 보기 유형, "요약" 또는 "상세" (기본값: "상세")

  • format (문자열, 선택 사항): 출력 형식, "plain" 또는 "markdown"(기본값: "markdown")

서버 실행

npx ts-node index.ts

입증

이 도구를 사용하려면 Sentry API에 접근하기 위한 적절한 권한이 있는 Sentry 인증 토큰이 필요합니다. Sentry 계정 설정의 '설정 -> 사용자 설정 -> 인증 토큰'에서 토큰을 생성할 수 있습니다.

Available Tools

11 tools
create_projectB

Create a new project in Sentry. Track deployments, releases, and health metrics.

Inputs: organization_slug (required), team_slug (required), name (required), platform, +2 more.

get_sentry_eventB

Retrieve a specific Sentry event from an issue. Requires issue ID/URL and event ID.

Inputs: issue_id_or_url (required), event_id (required), organization_slug (required), view, +1 more.

get_sentry_issueC

Retrieve and analyze a Sentry issue. Accepts issue URL or ID.

Inputs: issue_id_or_url (required), organization_slug (required), view, format.

list_error_events_in_projectC

List error events from a specific Sentry project. View recent errors, frequency patterns, and occurrence timestamps.

Inputs: organization_slug (required), project_slug (required), view, format.

list_issue_eventsC

List events for a specific Sentry issue. Analyze event details, metadata, and patterns.

Inputs: organization_slug (required), issue_id (required), view, format.

list_organization_replaysC

List replays from a Sentry organization. Monitor user sessions, interactions, errors, and experience issues.

Inputs: organization_slug (required), project_ids, environment, stats_period, +8 more.

list_project_issuesC

List issues from a Sentry project. Monitor issue status, severity, frequency, and timing.

Inputs: organization_slug (required), project_slug (required), view, format.

list_projectsC

List accessible Sentry projects. View project slugs, IDs, status, settings, features, and organization details.

Inputs: organization_slug (required), view, format.

resolve_short_idC

Retrieve details about an issue using its short ID. Maps short IDs to issue details, project context, and status.

Inputs: organization_slug (required), short_id (required), format.

search_errors_in_fileC

Search for Sentry errors occurring in a specific file. Find all issues related to a particular file path or filename.

Inputs: organization_slug (required), project_slug (required), file_identifier (required), identifier_type (required), +2 more.

setup_sentryC

Set up Sentry for a project returning a dsn and instructions for setup.

Inputs: organization_slug (required), team_slug (required), project_name (required), environment, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between 'list_project_issues' and 'list_error_events_in_project'—both list issues/errors for a project, which could cause confusion. Other tools like 'get_sentry_event' and 'get_sentry_issue' are clearly differentiated by focusing on events vs. issues.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with underscores, such as 'create_project', 'list_projects', and 'get_sentry_event'. There are no deviations in naming conventions, making the set predictable and easy to understand.

    Tool Count5/5

    With 11 tools, the count is well-scoped for a Sentry integration, covering key operations like project management, issue/event retrieval, listing, and setup. Each tool appears to serve a specific purpose without being excessive or insufficient.

    Completeness4/5

    The toolset provides good coverage for monitoring and debugging in Sentry, including CRUD-like operations (create, list, get) for projects, issues, and events. A minor gap is the lack of update or delete tools for issues or projects, which agents might need for full lifecycle management, but core workflows are well-supported.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that retrieves and analyzes Sentry.io issues, allowing users to inspect error reports, stacktraces, and debugging information from their Sentry account.
      2
      23
      -
    • A
      license
      B
      quality
      F
      maintenance
      A Model Context Protocol server that enables AI assistants to interact with Sentry for error tracking and monitoring, allowing retrieval and analysis of error data, project management, and performance monitoring through the Sentry API.
      11
      21
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      A TypeScript implementation of a Model Context Protocol server that connects to Sentry error tracking service, allowing AI models to query and analyze error reports and events.
      MIT