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

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
project_id_or_slug requiredstringThe ID or slug of the project the resource belongs to.…
digestsMinDelay requiredintegerMinimum time in seconds to wait before sending an issue digest email.
digestsMaxDelay requiredintegerMaximum time in seconds to wait before sending an issue digest email.
securityToken requiredstringToken sent with security reports (CSP, Expect-CT, HPKP) so Sentry can verify…
securityTokenHeader requiredstringName of the header carrying the security token on inbound security reports.
isBookmarkedbooleanEnables starring the project within the projects tab. Can be updated with…
autofixAutomationTuningoff | super_low | low | medium | high | alwaysHow aggressively Seer runs Autofix on new issues. Can be updated with…
seerScannerAutomationbooleanLet Seer scan new issues automatically. Can be updated with **project:read**…
preprodSizeStatusChecksEnabledbooleanEnable preprod size status checks. Can be updated with **project:read**…
preprodSizeStatusChecksRulesobjectRules controlling when preprod size status checks fail. Can be updated with…
preprodSizePrCommentsEnabledbooleanEnable preprod size PR comments. Can be updated with **project:read**…
preprodSizePrCommentsRulesobjectRules controlling which preprod size changes are posted as PR comments. Can be…
preprodSnapshotStatusChecksEnabledbooleanEnable preprod snapshot status checks.
preprodSnapshotStatusChecksFailOnAddedbooleanFail the preprod snapshot status check when snapshots are added.
preprodSnapshotStatusChecksFailOnRemovedbooleanFail the preprod snapshot status check when snapshots are removed.
preprodSnapshotStatusChecksFailOnChangedbooleanFail the preprod snapshot status check when snapshots change.
preprodSnapshotStatusChecksFailOnRenamedbooleanFail the preprod snapshot status check when snapshots are renamed.
preprodSizeEnabledByCustomerbooleanEnable preprod size analysis. Can be updated with **project:read** permission.
preprodDistributionEnabledByCustomerbooleanEnable preprod build distribution. Can be updated with **project:read**…
preprodDistributionPrCommentsEnabledByCustomerbooleanPost preprod distribution updates as PR comments. Can be updated with…
preprodSnapshotPrCommentsEnabledbooleanPost preprod snapshot changes as PR comments.
preprodSnapshotPrCommentsPostOnAddedbooleanInclude added snapshots in preprod snapshot PR comments.
preprodSnapshotPrCommentsPostOnRemovedbooleanInclude removed snapshots in preprod snapshot PR comments.
preprodSnapshotPrCommentsPostOnChangedbooleanInclude changed snapshots in preprod snapshot PR comments.
preprodSnapshotPrCommentsPostOnRenamedbooleanInclude renamed snapshots in preprod snapshot PR comments.
preprodSizeEnabledQuerystringQuery selecting which preprod builds are size-analyzed. Can be updated with…
preprodDistributionEnabledQuerystringQuery selecting which preprod builds are distributed. Can be updated with…
namestringThe name for the project
slugstringUniquely identifies a project and is used for the interface.
platformstringThe platform for the project
subjectPrefixstringCustom prefix for emails from this project.
subjectTemplatestringThe email subject to use (excluding the prefix) for individual alerts. Here…
resolveAgeintegerAutomatically resolve an issue if it hasn't been seen for this many hours. Set…
highlightContextobjectA JSON mapping of context types to lists of strings for their keys. E.g.…
highlightTagsarrayA list of strings with tag keys to highlight on this project's issues. E.g.…
verifySSLbooleanVerify SSL certificates when delivering outbound webhooks and service hooks.
defaultEnvironmentstringEnvironment selected by default when viewing this project.
dataScrubberbooleanRemove known sensitive values from events before storing them.
dataScrubberDefaultsbooleanAlso scrub Sentry's built-in list of sensitive field names.
sensitiveFieldsarrayAdditional field names to scrub from events, beyond the defaults.
safeFieldsarrayField 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from Sentry API