Home / Servers / Sentry API / bulk_update_project_environments

Bulk update the visibility for a project's environments.

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

Bulk update the visibility for a project's environments. [PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/]

Name on the gateway: sentry_api__bulk_update_project_environments · 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.…
environmentNames requiredarrayList of environment names to update. Maximum 1000.
isHidden requiredbooleanSpecify true to hide or false to show the specified environments.

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__bulk_update_project_environments",
  "arguments": {
    "organization_id_or_slug": "…",
    "project_id_or_slug": "…",
    "environmentNames": [],
    "isHidden": true
  }
}

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 bulk update the visibility for a project's environments. tool with organization_id_or_slug set to ….

More from Sentry API