gfg-sentry-mcp-server
v0.1.0MCP server for querying Sentry alerts and issues.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sentry_list_alert_rules
List alerts from Sentry. - Issue alert rules come from /projects/{org}/{project}/rules/ (project is required). - Metric alert rules come from /organizations/{org}/alert-rules/.
| Parameter | Type | Description |
|---|---|---|
include_metric_alert_rules | boolean | |
org_slug |
sentry_retrieve_alert_rule_detail
Retrieve one alert detail, including rule payload. alert_type: - "metric": use org-level metric alert rule endpoint - "issue": use project-level issue alert rule endpoint (requires project_slug)
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | |
alert_type | string | |
include_rule | boolean | |
org_slug | ||
project_slug |
sentry_search_issues
Search Sentry issues using Sentry's issue search syntax. Args: query: Sentry issue query string. Examples: - "is:unresolved level:error" - "project:backend environment:production" - "user.email:alice@example.com" - "transaction:/api/orders has:stacktrace" - "event.type:error is:unresolved !http.url:*user/personalization !http.url:*/me level:error" org_slug: Optional organization slug. If omitted, uses SENTRY_ORG_SLUG. limit: Max number of issues to return in one request (clamped…
| Parameter | Type | Description |
|---|---|---|
query * | string | |
end | ||
group_stats_period | ||
limit | integer | |
org_slug | ||
sort | ||
start |
sentry_retrieve_issue
Retrieve one Sentry issue detail by global issue ID.
| Parameter | Type | Description |
|---|---|---|
issue_id * | string |
sentry_list_issue_events
List error events for a Sentry issue. API: GET /organizations/{org}/issues/{issue_id}/events/ Args: issue_id: Global Sentry issue ID (example: "1059665"). org_slug: Organization slug. If omitted, uses SENTRY_ORG_SLUG. start: ISO-8601 start timestamp (example: "2026-03-10T22:30:00Z"). end: ISO-8601 end timestamp (example: "2026-03-10T22:50:00Z"). stats_period: Relative time window like "24h", "7d", "30m" (overrides start/end). environment: Environment filters (example: ["production", "staging"]). full: Include full event body/stackt…
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | |
cursor | ||
end | ||
environment | ||
full | ||
org_slug | ||
query | ||
sample | ||
start | ||
stats_period |
sentry_retrieve_issue_event
Retrieve one event for a Sentry issue. API: GET /organizations/{org}/issues/{issue_id}/events/{event_id}/ event_id can be a concrete event ID or one of: - latest - oldest - recommended
| Parameter | Type | Description |
|---|---|---|
event_id * | string | |
issue_id * | string | |
environment | ||
org_slug |