Sentry MCP by usefulapi

v1.1.0
io.usefulapi/sentry Checked 8 hours ago Published 7 days ago

Read issues, events, releases and queries; resolve or assign issues in Sentry.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

sentry_list_organizations List organizations

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/.

ParameterTypeDescription
cursorstringnext_cursor from the previous page; omit for the first page.
per_pageintegerResults per page (max 100).

sentry_list_projects List projects

List the projects of an organization, with slug, id, platform and team. Sentry API: GET /organizations/{org}/projects/.

ParameterTypeDescription
org *stringOrganization slug, from sentry_list_organizations.
cursorstringnext_cursor from the previous page; omit for the first page.
per_pageintegerResults per page (max 100).
querystringFilter by name or slug.

sentry_get_project Get a project

Get one project with its platform, teams and settings. Sentry API: GET /projects/{org}/{project}/.

ParameterTypeDescription
org *stringOrganization slug, from sentry_list_organizations.
project *stringProject slug or numeric id, from sentry_list_projects.

sentry_list_teams List teams

List the teams of an organization. Sentry API: GET /organizations/{org}/teams/.

ParameterTypeDescription
org *stringOrganization slug, from sentry_list_organizations.
cursorstringnext_cursor from the previous page; omit for the first page.
per_pageintegerResults per page (max 100).
querystringFilter by name or slug.

sentry_list_issues List issues

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/.

ParameterTypeDescription
org *stringOrganization slug, from sentry_list_organizations.
cursorstringnext_cursor from the previous page; omit for the first page.
environmentstringEnvironment name, for example production.
limitintegerResults per page (max 100).
projectarrayNumeric project ids to include, from sentry_list_projects.
querystringSentry search query, for example 'is:unresolved level:error'.
sortstringSort order: date, new, freq, user, trends or inbox.
statsPeriodstringRelative time window, for example 24h or 14d.

sentry_get_issue Get an issue

Get one issue with its title, culprit, status, assignee, counts and first and last seen times. Sentry API: GET /organizations/{org}/issues/{issue_id}/.

ParameterTypeDescription
issue_id *stringIssue id (numeric), from sentry_list_issues.
org *stringOrganization slug, from sentry_list_organizations.
environmentstringEnvironment name, for example production.

sentry_list_issue_events List an issue's events

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/.

ParameterTypeDescription
issue_id *stringIssue id (numeric), from sentry_list_issues.
org *stringOrganization slug, from sentry_list_organizations.
cursorstringnext_cursor from the previous page; omit for the first page.
environmentstringEnvironment name, for example production.
fullbooleanInclude the full event payload (stack trace, tags, context).
per_pageintegerResults per page (max 100).
querystringSentry search query, for example 'is:unresolved level:error'.
statsPeriodstringRelative time window, for example 24h or 14d.

sentry_get_event Get an event

Get one event by id with its stack trace, tags, contexts and breadcrumbs. Sentry API: GET /projects/{org}/{project}/events/{event_id}/.

ParameterTypeDescription
event_id *stringEvent id (32 hex characters), from sentry_list_issue_events.
org *stringOrganization slug, from sentry_list_organizations.
project *stringProject slug or numeric id, from sentry_list_projects.

sentry_query_events Query events (table)

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/.

ParameterTypeDescription
field *arrayColumns, for example issue, count(), p95(span.duration).
org *stringOrganization slug, from sentry_list_organizations.
cursorstringnext_cursor from the previous page; omit for the first page.
datasetstringData set to query (default errors).
environmentstringEnvironment name, for example production.
per_pageintegerResults per page (max 100).
projectarrayNumeric project ids to include.
querystringSentry search query, for example 'is:unresolved level:error'.
sortstringA column from field, prefixed with - for descending.
statsPeriodstringRelative time window, for example 24h or 14d.

sentry_list_releases List releases

List releases of an organization, newest first, with version, dates, commit count and new issues. Sentry API: GET /organizations/{org}/releases/.

ParameterTypeDescription
org *stringOrganization slug, from sentry_list_organizations.
cursorstringnext_cursor from the previous page; omit for the first page.
environmentstringEnvironment name, for example production.
per_pageintegerResults per page (max 100).
projectstringNumeric project id to filter by, from sentry_list_projects.
querystringCase-insensitive substring of the release version, for example 1.4.2.

sentry_get_release Get a release

Get one release by version with its commit count and new issue count. Sentry API: GET /organizations/{org}/releases/{version}/.

ParameterTypeDescription
org *stringOrganization slug, from sentry_list_organizations.
version *stringRelease version string, from sentry_list_releases.

sentry_update_issue Update an issue

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}/.

ParameterTypeDescription
issue_id *stringIssue id (numeric), from sentry_list_issues.
org *stringOrganization slug, from sentry_list_organizations.
assigned_tostringActor to assign, for example user:123 or team:45.
is_bookmarkedbooleanBookmark the issue or remove the bookmark.
statusstringNew status.