---
title: "mirror mcp"
summary: "The operator MCP server: drive the mirror from an AI tool (decision 0009)."
read_when: "the arguments or options of mirror mcp are needed"
url: https://mirrordimensions.com/docs/reference/mcp/
---

# mirror mcp

The operator MCP server: drive the mirror from an AI tool (decision 0009).

Its commands: `approvals`, `approve`, `refuse`, `serve`.

```sh
mirror mcp <command>
```

## mirror mcp approvals

What a coding agent has asked to do in this world and is waiting on you for.

```sh
mirror mcp approvals
```

## mirror mcp approve

Allow what a coding agent asked to do. It goes ahead at once.

```sh
mirror mcp approve <request>
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `request` | Yes | The request's number, from mirror mcp approvals. |

## mirror mcp refuse

Refuse what a coding agent asked to do. It is told, and does not ask again unasked.

```sh
mirror mcp refuse <request>
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `request` | Yes | The request's number, from mirror mcp approvals. |

## mirror mcp serve

Serve the operator MCP server for this world. By default over stdio, for an AI tool to launch (no port at all); with --http on 127.0.0.1, with a token in the header. Run content it returns is marked untrusted; tools that act or edit need confirm=true. Nothing destructive is offered. With --worlds, serve a folder of worlds instead, so a coding agent can set one up from nothing (docs/setup-with-an-agent.md).

```sh
mirror mcp serve [options]
```

| Option | Takes | What it does |
| --- | --- | --- |
| `--http` | nothing (a switch) | Serve over HTTP on 127.0.0.1 with a token, instead of stdio. |
| `--port` | number; default `7421` | Port on 127.0.0.1 (--http). |
| `--worlds` | path | A folder of worlds, for a coding agent to set worlds up in: it can define new ones there and move between them, and what costs time or money waits for your approval (mirror mcp approve, or the portal). |

## The same, from an AI agent

The operator MCP server offers these tools for it:

- [`waiting_for_the_person`](https://mirrordimensions.com/docs/reference/mcp-tools/#waiting_for_the_person): What has been asked of the person and not yet answered, in the chosen world.
- [`setup_guide`](https://mirrordimensions.com/docs/reference/mcp-tools/#setup_guide): How to set a world up, in order: worlds, systems, agents, scenarios, then build and run; what is done without asking and what waits for the person.
