---
title: "corecluster_maintenance_window_set"
url: https://docs.corefinity.com/mcp/tools/corecluster_maintenance_window_set
type: tool
last_updated: 2026-11-13
feature: maintenance-windows
related:
  - https://docs.corefinity.com/guides/sites/site-settings/maintenance-window.md
---
# corecluster_maintenance_window_set

**Set a cluster's maintenance window.** Sets a CoreCluster's default maintenance window, used by its sites without their own. Answers the new window and restamped. Scope: write.

- Scope: `write`
- Runs as a task: no

## When to use it

Set a CoreCluster's default maintenance window: it applies to every site on the cluster without its own window. Answers the new window and `restamped`. Needs a token pinned to the whole cluster (or not pinned).

## Inputs

- `cluster_id` (integer, required).
- `start_hour` (integer 0–23, required).

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "cluster_id": {
      "minimum": 1,
      "type": "integer"
    },
    "start_hour": {
      "description": "The hour the 4-hour window starts, UK time (0–23).",
      "maximum": 23,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "cluster_id",
    "start_hour"
  ],
  "type": "object"
}
```

## Refusals

- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).
- `window_locked`: Corefinity set this window (it cannot be changed here; ask support).
- `throttled`: too many window changes in the last hour; try again later (`retry_after_seconds` when known).

## Example

```json
{
  "name": "corecluster_maintenance_window_set",
  "arguments": {
    "cluster_id": 12,
    "start_hour": 1
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corecluster_maintenance_window_set with cluster_id 12, start_hour 1. (Set a cluster's maintenance window.) Tell me what it returned.
```

## The same task elsewhere

- Guide: [Maintenance window](https://docs.corefinity.com/guides/sites/site-settings/maintenance-window.md)
