---
title: "mirror apply"
summary: "Put pending changes into effect now: rebuild from the first stage they affect, and hand a running gateway the current rules and visibility."
read_when: "the arguments or options of mirror apply are needed"
url: https://mirrordimensions.com/docs/reference/apply/
---

# mirror apply

Put pending changes into effect now: rebuild from the first stage they affect, and hand a running gateway the current rules and visibility.

```sh
mirror apply
```

## The same, from an AI agent

The operator MCP server offers these tools for it:

- [`apply_changes`](https://mirrordimensions.com/docs/reference/mcp-tools/#apply_changes): Put pending changes into effect now: rebuild what needs a rebuild, restart the sandbox for what needs a restart, and hand the gateway the current rules. Reports progress; a rebuild takes a few minutes.
