Home / Servers / Sentry API / update_a_service_hook
Update a service hook.
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Update a service hook. [PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/{hook_id}/]
Name on the gateway: sentry_api__update_a_service_hook · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the client keys belong… |
project_id_or_slug required | string | The ID or slug of the project the client keys belong to. |
hook_id required | string | The GUID of the service hook. |
url required | string | The URL for the webhook. |
events required | array | The events to subscribe to. |
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__update_a_service_hook",
"arguments": {
"organization_id_or_slug": "…",
"project_id_or_slug": "…",
"hook_id": "…",
"url": "…",
"events": []
}
}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 update a service hook. tool with organization_id_or_slug set to ….