Sentry MCP Server

Integrations

  • Provides tools to retrieve and analyze issues from Sentry.io or self-hosted Sentry instances, allowing inspection of error reports, stack traces, and debugging information. Supports fetching individual issues by ID or URL as well as listing issues for specific projects.

아래는 mcp-sentry-custom 프로젝트의 README.md를 수정하고 다듬은 버전으로, 명확성, 정확성, 전문성을 고려하여 적절하게 구성되었습니다. 표준 마크다운 규칙을 준수하며 내용을 논리적인 섹션으로 구성했습니다.


mcp-sentry-custom: Sentry MCP 서버

개요

mcp-sentry-customSentry.io 또는 자체 호스팅 Sentry 인스턴스에서 문제를 검색하고 분석하도록 설계된 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 Sentry 계정에서 직접 오류 보고서, 스택 추적 및 기타 디버깅 정보를 검사할 수 있는 도구를 제공합니다.

특징

도구

  1. get_sentry_issue
    • 설명 : ID 또는 URL을 통해 특정 Sentry 문제를 검색하고 분석합니다.
    • 입력 :
      • issue_id_or_url (문자열): 분석할 Sentry 문제 ID 또는 전체 URL입니다.
    • 반품 : 다음을 포함한 자세한 문제 정보:
      • 제목
      • 문제 ID
      • 상태
      • 수준
      • 처음 본 타임스탬프
      • 마지막으로 본 타임스탬프
      • 이벤트 수
      • 전체 스택 추적
  2. get_list_issues
    • 설명 : 특정 프로젝트의 Sentry 문제 목록을 검색하고 분석합니다.
    • 입력 :
      • project_slug (문자열): Sentry 프로젝트 슬러그.
      • organization_slug (문자열): Sentry 조직 슬러그.
    • 반환 : 다음을 포함한 세부 정보가 포함된 문제 목록:
      • 제목
      • 문제 ID
      • 상태
      • 수준
      • 처음 본 타임스탬프
      • 마지막으로 본 타임스탬프
      • 이벤트 수
      • 기본 문제 정보

프롬프트

  1. sentry-issue
    • 설명 : 대화 맥락에서 사용하기 위해 Sentry에서 형식화된 문제 세부 정보를 검색합니다.
    • 입력 :
      • issue_id_or_url (문자열): Sentry 문제 ID 또는 URL입니다.
    • 반환 : 형식화된 문제 세부 정보.

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 mcp-sentry-custom 자동으로 설치하려면:

지엑스피1

uv 사용 (추천)

uv 사용할 때는 별도의 설치가 필요하지 않습니다. uvx 사용하여 mcp-sentry-custom 직접 실행할 수 있습니다.

uvx mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL

pip 사용하기

또는 pip 통해 mcp-sentry-custom 설치하세요:

pip install mcp-sentry-custom

또는 uv 사용하여:

uv pip install -e .

설치 후 스크립트로 실행하세요.

python -m mcp_sentry

구성

Claude Desktop과 함께 사용

claude_desktop_config.json 에 다음을 추가하세요.

uvx 사용

{ "mcpServers": { "sentry": { "command": "uvx", "args": [ "mcp-sentry-custom", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

Docker 사용

{ "mcpServers": { "sentry": { "command": "docker", "args": [ "run", "-i", "--rm", "mcp/sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

pip 설치 사용

{ "mcpServers": { "sentry": { "command": "python", "args": [ "-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

Zed와 함께 사용

Zed의 settings.json 에 다음을 추가하세요.

uvx 사용

{ "context_servers": { "mcp-sentry-custom": { "command": { "path": "uvx", "args": [ "mcp-sentry-custom", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } } }

pip 설치 사용

{ "context_servers": { "mcp-sentry-custom": { "command": "python", "args": [ "-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ] } } }

사용자 정의 경로를 사용한 pip 설치 사용

{ "context_servers": { "mcp-sentry-custom": { "command": "python", "args": [ "-m", "mcp_sentry", "--auth-token", "YOUR_SENTRY_TOKEN", "--project-slug", "YOUR_PROJECT_SLUG", "--organization-slug", "YOUR_ORGANIZATION_SLUG", "--sentry-url", "YOUR_SENTRY_URL" ], "env": { "PYTHONPATH": "path/to/mcp-sentry-custom/src" } } } }

디버깅

MCP 검사기를 사용하여 서버를 디버깅합니다.

uvx 설치의 경우

npx @modelcontextprotocol/inspector uvx mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL

지역 개발을 위해

특정 디렉토리에 패키지를 설치했거나 개발 중인 경우:

cd path/to/mcp-sentry-custom/src npx @modelcontextprotocol/inspector uv run mcp-sentry-custom --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL

또는 사용자 정의 디렉토리를 사용하면:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-sentry-custom/src run mcp_sentry --auth-token YOUR_SENTRY_TOKEN --project-slug YOUR_PROJECT_SLUG --organization-slug YOUR_ORGANIZATION_SLUG --sentry-url YOUR_SENTRY_URL

에서 갈라지다

이 프로젝트는 다음에서 포크되었습니다.
https://github.com/modelcontextprotocol/servers/tree/main/src/sentry

특허

이 MCP 서버는 MIT 라이선스 에 따라 라이선스가 부여됩니다. MIT 라이선스의 약관에 따라 소프트웨어를 자유롭게 사용, 수정 및 배포할 수 있습니다. 자세한 내용은 프로젝트 저장소의 LICENSE 파일을 참조하세요.


변경 사항에 대한 참고 사항

  1. 서식 : 가독성을 위해 적절한 마크다운 제목, 목록 및 코드 블록을 사용했습니다.
  2. 일관성 : 용어를 표준화하고(예: mcp_sentrymcp-sentry-custom ) 중복된 <TEXT><JSON> 태그를 제거했습니다.
  3. 명확성 : 간결성과 정확성을 위해 "개요" 및 "기능"과 같은 섹션을 다시 썼습니다.
  4. 완전성 : 불완전한 문장을 수정하고 모든 구성 예시가 적절하게 구성되었는지 확인했습니다.
  5. 전문적인 어조 : 좀 더 공식적이고 세련된 느낌이 나도록 표현을 조정했습니다.

더 세부적으로 수정하고 싶으시면 알려주세요!

-
security - not tested
F
license - not found
-
quality - not tested

Sentry.io 또는 자체 호스팅 Sentry 인스턴스에 연결하여 오류 보고서, 스택 추적 및 디버깅 정보를 검색하고 분석하는 MCP 서버입니다.

  1. Overview
    1. Features
      1. Tools
      2. Prompts
    2. Installation
      1. Installing via Smithery
      2. Using uv (Recommended)
      3. Using pip
    3. Configuration
      1. Usage with Claude Desktop
      2. Usage with Zed
    4. Debugging
      1. For uvx Installations
      2. For Local Development
    5. Forked From
      1. License
        1. Notes on Changes
      ID: 46puahy25c