Home / Servers / Sentry API / update_project_environment
Update a Project Environment
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Update a Project Environment Update the visibility for a project environment. [PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/{environment}/]
Name on the gateway: sentry_api__update_project_environment · 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.… |
environment required | string | The name of the environment. |
isHidden required | boolean | Specify true to make the environment visible or false to make the environment… |
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_environment",
"arguments": {
"organization_id_or_slug": "…",
"project_id_or_slug": "…",
"environment": "…",
"isHidden": true
}
}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 environment tool with organization_id_or_slug set to ….