---
title: "corestack_site_operation_reveal"
url: https://docs.corefinity.com/mcp/tools/corestack_site_operation_reveal
type: tool
last_updated: 2026-11-13
feature: access
related:
  - https://docs.corefinity.com/api/reference/sites/reveal-operation-result.md
  - https://docs.corefinity.com/guides/sites/access-and-security/connection-details.md
---
# corestack_site_operation_reveal

**Show an operation's login.** Show once the WordPress admin login a copy or a new environment made. Whoever reveals it first, here or in the control panel, is the only one who sees it. Scope: exec. The secret opens in the person's browser; set reveal_to_agent to true to receive it yourself (needs exec).

- Scope: `exec`
- Runs as a task: no
- Returns a secret only when `reveal_to_agent` is set

## When to use it

Show once the WordPress admin login a copy or a new environment made. Whoever reveals it first, here or in the Control Panel, is the only one who sees it.

## Inputs

- `operation_id` (integer, ≥ 1, required)
- `reveal_to_agent` (boolean, default `false`): Return the secret to you instead of opening it in the person's browser. Needs exec.

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "operation_id": {
      "minimum": 1,
      "type": "integer"
    },
    "reveal_to_agent": {
      "default": false,
      "description": "Return the secret to you instead of opening it in the person's browser. Needs exec.",
      "type": "boolean"
    }
  },
  "required": [
    "operation_id"
  ],
  "type": "object"
}
```

## Refusals

- `already_revealed`: a one-time secret was already shown; `details.revealed` = `{"at", "by_name", "via": "panel" \; offer the reset (with `reset_target.username`, or ask the person which administrator when it is null).
- `managed_elsewhere` (message: "This site is managed by another control panel"): another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
- 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).

## Example

```json
{
  "name": "corestack_site_operation_reveal",
  "arguments": {
    "operation_id": 77120
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_site_operation_reveal with operation_id 77120. (Show an operation's login.) Tell me what it returned.
```

## The same task elsewhere

- Endpoint: [POST /api/corestack/operations/{operation}/reveal](https://docs.corefinity.com/api/reference/sites/reveal-operation-result.md)
- Guide: [Connection details](https://docs.corefinity.com/guides/sites/access-and-security/connection-details.md)
