Home / Servers / Sentry API / update_organization_repository_settings

Update Settings for Organization Repositories

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

Update Settings for Organization Repositories Update code review settings for one or more repositories in the organization. Provide at least one of enabledCodeReview or codeReviewTriggers. [PUT /api/0/organizations/{organization_id_or_slug}/repos/settings/]

Name on the gateway: sentry_api__update_organization_repository_settings · may change things.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
repositoryIds requiredarrayList of repository IDs to update settings for. Maximum 1000 repositories.
enabledCodeReviewbooleanWhether code review is enabled for these repositories
codeReviewTriggersarrayList of triggers for code review

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_organization_repository_settings",
  "arguments": {
    "organization_id_or_slug": "…",
    "repositoryIds": []
  }
}

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 settings for organization repositories tool with organization_id_or_slug set to ….

More from Sentry API