gfg-sentry-mcp-server

v0.1.0
gfg-sentry-mcp-server Checked 17 hours ago Published 8 months ago

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

ParameterTypeDescription
include_metric_alert_rulesboolean
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)

ParameterTypeDescription
alert_id *string
alert_typestring
include_ruleboolean
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…

ParameterTypeDescription
query *string
end
group_stats_period
limitinteger
org_slug
sort
start

sentry_retrieve_issue

Retrieve one Sentry issue detail by global issue ID.

ParameterTypeDescription
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…

ParameterTypeDescription
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

ParameterTypeDescription
event_id *string
issue_id *string
environment
org_slug