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
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
name required | string | The name of the issue view. |
query required | string | The issue search query. Issue search does not support the AND/OR boolean… |
projects required | array | The project IDs included in the view. Use -1 to include all projects. |
environments required | array | The environment names included in the view. An empty list includes all… |
timeFilters required | object | The time range for the view. |
querySort | date | new | trends | freq | user | inbox | recommended | How to sort issues in the view. * date - Last Seen * new - First Seen * trends… |
starred | boolean | Whether 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:
{
"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:
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 ….