Home / Servers / Sentry API / update_project_code_owners

Update a Project's CODEOWNERS Configuration

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

Update a Project's CODEOWNERS Configuration Update a CODEOWNERS configuration. [PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/codeowners/{codeowners_id}/]

Name on the gateway: sentry_api__update_project_code_owners · 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.…
codeowners_id requiredstringThe ID of the CODEOWNERS configuration.
rawstringThe raw contents of the CODEOWNERS file.
codeMappingIdstringThe ID of the code mapping used to translate repository paths to stack trace…

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_code_owners",
  "arguments": {
    "organization_id_or_slug": "…",
    "project_id_or_slug": "…",
    "codeowners_id": "…"
  }
}

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's codeowners configuration tool with organization_id_or_slug set to ….

More from Sentry API