Home / Servers / Sentry API / create_organization_project_detector
Create a Monitor for a Project
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Create a Monitor for a Project [POST /api/0/organizations/{organization_id_or_slug}/projects/{project_id_or_slug}/detectors/]
Name on the gateway: sentry_api__create_organization_project_detector · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
project_id_or_slug required | string | The ID or slug of the project the resource belongs to.… |
name required | string | Name of the monitor. |
type required | string | The type of monitor - metric_issue. |
workflowIds | array | The IDs of the alerts to connect this monitor to. Use the 'Fetch Alerts'… |
dataSources | array | The data sources for the metric monitor to use based on what you want to… |
config | object | The issue detection type configuration. - detectionType - static: Threshold… |
conditionGroup | object | Issue detection configuration for when to create an issue and at what priority… |
owner | string | The ID user or team who owns the monitor or alert prefaced by the string… |
description | string | A description of the monitor. Will be used in the resulting issue. |
enabled | boolean | Set to False if you want to disable the monitor. |
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_project_detector",
"arguments": {
"organization_id_or_slug": "…",
"project_id_or_slug": "…",
"name": "…",
"type": "…"
}
}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 a monitor for a project tool with organization_id_or_slug set to ….