Sentry MCP by usefulapi
v1.1.0Read 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/.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page; omit for the first page. |
per_page | integer | Results 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/.
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization slug, from sentry_list_organizations. |
cursor | string | next_cursor from the previous page; omit for the first page. |
per_page | integer | Results per page (max 100). |
query | string | Filter 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}/.
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization slug, from sentry_list_organizations. |
project * | string | Project 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/.
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization slug, from sentry_list_organizations. |
cursor | string | next_cursor from the previous page; omit for the first page. |
per_page | integer | Results per page (max 100). |
query | string | Filter 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/.
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization slug, from sentry_list_organizations. |
cursor | string | next_cursor from the previous page; omit for the first page. |
environment | string | Environment name, for example production. |
limit | integer | Results per page (max 100). |
project | array | Numeric project ids to include, from sentry_list_projects. |
query | string | Sentry search query, for example 'is:unresolved level:error'. |
sort | string | Sort order: date, new, freq, user, trends or inbox. |
statsPeriod | string | Relative 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}/.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | Issue id (numeric), from sentry_list_issues. |
org * | string | Organization slug, from sentry_list_organizations. |
environment | string | Environment 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/.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | Issue id (numeric), from sentry_list_issues. |
org * | string | Organization slug, from sentry_list_organizations. |
cursor | string | next_cursor from the previous page; omit for the first page. |
environment | string | Environment name, for example production. |
full | boolean | Include the full event payload (stack trace, tags, context). |
per_page | integer | Results per page (max 100). |
query | string | Sentry search query, for example 'is:unresolved level:error'. |
statsPeriod | string | Relative 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}/.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | Event id (32 hex characters), from sentry_list_issue_events. |
org * | string | Organization slug, from sentry_list_organizations. |
project * | string | Project 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/.
| Parameter | Type | Description |
|---|---|---|
field * | array | Columns, for example issue, count(), p95(span.duration). |
org * | string | Organization slug, from sentry_list_organizations. |
cursor | string | next_cursor from the previous page; omit for the first page. |
dataset | string | Data set to query (default errors). |
environment | string | Environment name, for example production. |
per_page | integer | Results per page (max 100). |
project | array | Numeric project ids to include. |
query | string | Sentry search query, for example 'is:unresolved level:error'. |
sort | string | A column from field, prefixed with - for descending. |
statsPeriod | string | Relative 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/.
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization slug, from sentry_list_organizations. |
cursor | string | next_cursor from the previous page; omit for the first page. |
environment | string | Environment name, for example production. |
per_page | integer | Results per page (max 100). |
project | string | Numeric project id to filter by, from sentry_list_projects. |
query | string | Case-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}/.
| Parameter | Type | Description |
|---|---|---|
org * | string | Organization slug, from sentry_list_organizations. |
version * | string | Release 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}/.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | Issue id (numeric), from sentry_list_issues. |
org * | string | Organization slug, from sentry_list_organizations. |
assigned_to | string | Actor to assign, for example user:123 or team:45. |
is_bookmarked | boolean | Bookmark the issue or remove the bookmark. |
status | string | New status. |