Home / Servers / Sentry API / list_project_events

List a Project's Error Events

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

List a Project's Error Events Return a list of events bound to a project. [GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/]

Name on the gateway: sentry_api__list_project_events · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
project_id_or_slug requiredstringThe ID or slug of the project the resource belongs to.…
statsPeriodstringThe period of time for the query, will override the start & end parameters, a…
statsPeriodStartstringHow long ago the query period starts, in the same format as statsPeriod. Must…
statsPeriodEndstringHow long ago the query period ends, in the same format as statsPeriod. Must be…
startstringThe start of the period of time for the query, expected in ISO-8601 format.…
endstringThe end of the period of time for the query, expected in ISO-8601 format. For…
cursorstringA pointer to the last object fetched and its sort order; used to retrieve the…
fullbooleanSpecify true to include the full event body, including the stacktrace, in the…
samplebooleanReturn events in pseudo-random order. This is deterministic so an identical…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__list_project_events",
  "arguments": {
    "organization_id_or_slug": "…",
    "project_id_or_slug": "…"
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the list a project's error events tool with organization_id_or_slug set to ….

More from Sentry API