Sentry MCP by usefulapi
Read issues, events, releases and queries; resolve or assign issues in Sentry.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- HIGH
- LOWsentry_update_issue에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"sentry": {
"url": "https://sentry.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://sentry.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (12)
🟢sentry_list_organizations(cursor, per_page)
List the organizations this token can access, with their slugs. Start here to get the organization slug the other tools need. Sentry API: GET /organizations/.
입력 스키마
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous page; omit for the first page.",
"type": "string"
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_list_projects(org, cursor, per_page, query)
List the projects of an organization, with slug, id, platform and team. Sentry API: GET /organizations/{org}/projects/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"cursor": {
"description": "next_cursor from the previous page; omit for the first page.",
"type": "string"
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"query": {
"description": "Filter by name or slug.",
"type": "string"
}
},
"required": [
"org"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_get_project(org, project)
Get one project with its platform, teams and settings. Sentry API: GET /projects/{org}/{project}/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"project": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Project slug or numeric id, from sentry_list_projects."
}
},
"required": [
"org",
"project"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_list_teams(org, cursor, per_page, query)
List the teams of an organization. Sentry API: GET /organizations/{org}/teams/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"cursor": {
"description": "next_cursor from the previous page; omit for the first page.",
"type": "string"
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"query": {
"description": "Filter by name or slug.",
"type": "string"
}
},
"required": [
"org"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_list_issues(org, query, project, environment, statsPeriod, ...)
List the issues (grouped errors) of an organization. Filter with the Sentry search query, for example is:unresolved. Sort: date (default), new, freq, user, trends or inbox. Sentry API: GET /organizations/{org}/issues/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"query": {
"description": "Sentry search query, for example 'is:unresolved level:error'.",
"type": "string"
},
"project": {
"description": "Numeric project ids to include, from sentry_list_projects.",
"type": "array",
"items": {
"type": "string"
}
},
"environment": {
"description": "Environment name, for example production.",
"type": "string"
},
"statsPeriod": {
"description": "Relative time window, for example 24h or 14d.",
"type": "string"
},
"sort": {
"description": "Sort order: date, new, freq, user, trends or inbox.",
"type": "string"
},
"limit": {
"description": "Results per page (max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"description": "next_cursor from the previous page; omit for the first page.",
"type": "string"
}
},
"required": [
"org"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_get_issue(org, issue_id, environment)
Get one issue with its title, culprit, status, assignee, counts and first and last seen times. Sentry API: GET /organizations/{org}/issues/{issue_id}/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"issue_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Issue id (numeric), from sentry_list_issues."
},
"environment": {
"description": "Environment name, for example production.",
"type": "string"
}
},
"required": [
"org",
"issue_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_list_issue_events(org, issue_id, full, environment, statsPeriod, ...)
List the events (single occurrences) of one issue. Set full to true to include the stack trace and tags. Sentry API: GET /organizations/{org}/issues/{issue_id}/events/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"issue_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Issue id (numeric), from sentry_list_issues."
},
"full": {
"description": "Include the full event payload (stack trace, tags, context).",
"type": "boolean"
},
"environment": {
"description": "Environment name, for example production.",
"type": "string"
},
"statsPeriod": {
"description": "Relative time window, for example 24h or 14d.",
"type": "string"
},
"query": {
"description": "Sentry search query, for example 'is:unresolved level:error'.",
"type": "string"
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"description": "next_cursor from the previous page; omit for the first page.",
"type": "string"
}
},
"required": [
"org",
"issue_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_get_event(org, project, event_id)
Get one event by id with its stack trace, tags, contexts and breadcrumbs. Sentry API: GET /projects/{org}/{project}/events/{event_id}/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"project": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Project slug or numeric id, from sentry_list_projects."
},
"event_id": {
"type": "string",
"pattern": "^[0-9a-fA-F]{32}$",
"description": "Event id (32 hex characters), from sentry_list_issue_events."
}
},
"required": [
"org",
"project",
"event_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_query_events(org, field, dataset, query, project, ...)
Run an explore query that returns a table of aggregated events, for example count per issue or p95 duration per transaction. dataset: errors (default), logs, spans, profile_functions, tracemetrics or uptime_results. Sentry API: GET /organizations/{org}/events/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"field": {
"minItems": 1,
"type": "array",
"items": {
"type": "string"
},
"description": "Columns, for example issue, count(), p95(span.duration)."
},
"dataset": {
"description": "Data set to query (default errors).",
"type": "string",
"enum": [
"errors",
"logs",
"spans",
"profile_functions",
"tracemetrics",
"uptime_results"
]
},
"query": {
"description": "Sentry search query, for example 'is:unresolved level:error'.",
"type": "string"
},
"project": {
"description": "Numeric project ids to include.",
"type": "array",
"items": {
"type": "string"
}
},
"environment": {
"description": "Environment name, for example production.",
"type": "string"
},
"statsPeriod": {
"description": "Relative time window, for example 24h or 14d.",
"type": "string"
},
"sort": {
"description": "A column from field, prefixed with - for descending.",
"type": "string"
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"description": "next_cursor from the previous page; omit for the first page.",
"type": "string"
}
},
"required": [
"org",
"field"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_list_releases(org, project, environment, query, per_page, ...)
List releases of an organization, newest first, with version, dates, commit count and new issues. Sentry API: GET /organizations/{org}/releases/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"project": {
"description": "Numeric project id to filter by, from sentry_list_projects.",
"type": "string"
},
"environment": {
"description": "Environment name, for example production.",
"type": "string"
},
"query": {
"description": "Case-insensitive substring of the release version, for example 1.4.2.",
"type": "string"
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"description": "next_cursor from the previous page; omit for the first page.",
"type": "string"
}
},
"required": [
"org"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sentry_get_release(org, version)
Get one release by version with its commit count and new issue count. Sentry API: GET /organizations/{org}/releases/{version}/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"version": {
"type": "string",
"minLength": 1,
"description": "Release version string, from sentry_list_releases."
}
},
"required": [
"org",
"version"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡sentry_update_issue(org, issue_id, status, assigned_to, is_bookmarked)
Change an issue's status (resolved, unresolved, ignored, resolvedInNextRelease or muted), its assignee (for example user:123 or team:45) or its bookmark. Only the fields you pass change. Sentry API: PUT /organizations/{org}/issues/{issue_id}/.
입력 스키마
{
"type": "object",
"properties": {
"org": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"description": "Organization slug, from sentry_list_organizations."
},
"issue_id": {
"type": "string",
"pattern": "^\\d+$",
"description": "Issue id (numeric), from sentry_list_issues."
},
"status": {
"description": "New status.",
"type": "string",
"enum": [
"resolved",
"unresolved",
"ignored",
"resolvedInNextRelease",
"muted"
]
},
"assigned_to": {
"description": "Actor to assign, for example user:123 or team:45.",
"type": "string"
},
"is_bookmarked": {
"description": "Bookmark the issue or remove the bookmark.",
"type": "boolean"
}
},
"required": [
"org",
"issue_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거