Home / Servers / Sentry API / update_project
Update a Project
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Update a Project Update various attributes and configurable settings for the given project. Note that solely having the **project:read** scope restricts updatable settings to isBookmarked, autofixAutomationTuning… [PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/]
Name on the gateway: sentry_api__update_project · 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.… |
digestsMinDelay required | integer | Minimum time in seconds to wait before sending an issue digest email. |
digestsMaxDelay required | integer | Maximum time in seconds to wait before sending an issue digest email. |
securityToken required | string | Token sent with security reports (CSP, Expect-CT, HPKP) so Sentry can verify… |
securityTokenHeader required | string | Name of the header carrying the security token on inbound security reports. |
isBookmarked | boolean | Enables starring the project within the projects tab. Can be updated with… |
autofixAutomationTuning | off | super_low | low | medium | high | always | How aggressively Seer runs Autofix on new issues. Can be updated with… |
seerScannerAutomation | boolean | Let Seer scan new issues automatically. Can be updated with **project:read**… |
preprodSizeStatusChecksEnabled | boolean | Enable preprod size status checks. Can be updated with **project:read**… |
preprodSizeStatusChecksRules | object | Rules controlling when preprod size status checks fail. Can be updated with… |
preprodSizePrCommentsEnabled | boolean | Enable preprod size PR comments. Can be updated with **project:read**… |
preprodSizePrCommentsRules | object | Rules controlling which preprod size changes are posted as PR comments. Can be… |
preprodSnapshotStatusChecksEnabled | boolean | Enable preprod snapshot status checks. |
preprodSnapshotStatusChecksFailOnAdded | boolean | Fail the preprod snapshot status check when snapshots are added. |
preprodSnapshotStatusChecksFailOnRemoved | boolean | Fail the preprod snapshot status check when snapshots are removed. |
preprodSnapshotStatusChecksFailOnChanged | boolean | Fail the preprod snapshot status check when snapshots change. |
preprodSnapshotStatusChecksFailOnRenamed | boolean | Fail the preprod snapshot status check when snapshots are renamed. |
preprodSizeEnabledByCustomer | boolean | Enable preprod size analysis. Can be updated with **project:read** permission. |
preprodDistributionEnabledByCustomer | boolean | Enable preprod build distribution. Can be updated with **project:read**… |
preprodDistributionPrCommentsEnabledByCustomer | boolean | Post preprod distribution updates as PR comments. Can be updated with… |
preprodSnapshotPrCommentsEnabled | boolean | Post preprod snapshot changes as PR comments. |
preprodSnapshotPrCommentsPostOnAdded | boolean | Include added snapshots in preprod snapshot PR comments. |
preprodSnapshotPrCommentsPostOnRemoved | boolean | Include removed snapshots in preprod snapshot PR comments. |
preprodSnapshotPrCommentsPostOnChanged | boolean | Include changed snapshots in preprod snapshot PR comments. |
preprodSnapshotPrCommentsPostOnRenamed | boolean | Include renamed snapshots in preprod snapshot PR comments. |
preprodSizeEnabledQuery | string | Query selecting which preprod builds are size-analyzed. Can be updated with… |
preprodDistributionEnabledQuery | string | Query selecting which preprod builds are distributed. Can be updated with… |
name | string | The name for the project |
slug | string | Uniquely identifies a project and is used for the interface. |
platform | string | The platform for the project |
subjectPrefix | string | Custom prefix for emails from this project. |
subjectTemplate | string | The email subject to use (excluding the prefix) for individual alerts. Here… |
resolveAge | integer | Automatically resolve an issue if it hasn't been seen for this many hours. Set… |
highlightContext | object | A JSON mapping of context types to lists of strings for their keys. E.g.… |
highlightTags | array | A list of strings with tag keys to highlight on this project's issues. E.g.… |
verifySSL | boolean | Verify SSL certificates when delivering outbound webhooks and service hooks. |
defaultEnvironment | string | Environment selected by default when viewing this project. |
dataScrubber | boolean | Remove known sensitive values from events before storing them. |
dataScrubberDefaults | boolean | Also scrub Sentry's built-in list of sensitive field names. |
sensitiveFields | array | Additional field names to scrub from events, beyond the defaults. |
safeFields | array | Field names to exempt from scrubbing, including the built-in defaults. |
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_project",
"arguments": {
"organization_id_or_slug": "…",
"project_id_or_slug": "…",
"digestsMinDelay": 0,
"digestsMaxDelay": 0,
"securityToken": "…",
"securityTokenHeader": "…"
}
}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 project tool with organization_id_or_slug set to ….