Home / Servers / Sentry API / create_a_custom_inbound_filter
**Experimental:** This API is under active development and may change.
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
**Experimental:** This API is under active development and may change. Create a custom inbound filter for a project. [POST /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/custom-inbound-filters/]
Name on the gateway: sentry_api__create_a_custom_inbound_filter · 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.… |
id required | string | The ID of the filter. |
dataType required | all | error | log | metric | span | The data the filter matches against. all is the catch-all: it filters every… |
conditions required | array | Conditions are combined with AND: an event must match every condition to be… |
dateCreated required | string | When the filter was created. |
dateUpdated required | string | When the filter was last changed. |
legacyFilter required | string | Set on a filter that holds one of the filter lists of the project settings, to… |
name | string | A human-readable label for the filter. |
active | boolean | Whether the filter drops matching data. An inactive filter is kept but ignored. |
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_a_custom_inbound_filter",
"arguments": {
"organization_id_or_slug": "…",
"project_id_or_slug": "…",
"id": "…",
"dataType": "…",
"conditions": [],
"dateCreated": "…",
"dateUpdated": "…",
"legacyFilter": "…"
}
}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 **experimental:** this api is under active development and may change. tool with organization_id_or_slug set to ….