Home / Servers / Sentry API / create_organization_issue_view

Create an Issue View

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

Create an Issue View Create a new custom view for the current organization member. [POST /api/0/organizations/{organization_id_or_slug}/group-search-views/]

Name on the gateway: sentry_api__create_organization_issue_view · may change things.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
name requiredstringThe name of the issue view.
query requiredstringThe issue search query. Issue search does not support the AND/OR boolean…
projects requiredarrayThe project IDs included in the view. Use -1 to include all projects.
environments requiredarrayThe environment names included in the view. An empty list includes all…
timeFilters requiredobjectThe time range for the view.
querySortdate | new | trends | freq | user | inbox | recommendedHow to sort issues in the view. * date - Last Seen * new - First Seen * trends…
starredbooleanWhether to star the issue view for the current user.

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__create_organization_issue_view",
  "arguments": {
    "organization_id_or_slug": "…",
    "name": "…",
    "query": "…",
    "projects": [],
    "environments": [],
    "timeFilters": "…"
  }
}

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 create an issue view tool with organization_id_or_slug set to ….

More from Sentry API