# greenroom MCP server

> Allows AI coding agents to access Storybook review feedback, reply to threads, and address component changes based on human sign-offs.

- Repository: https://github.com/igility/greenroom
- Page: https://hostedmcp.org/servers/igility/greenroom
- Transport: stdio
- Stars: 1
- License: MIT

## Install

### Claude Code

```sh
claude mcp add greenroom -- npx -y @igility/greenroom-addon
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "greenroom": {
      "command": "npx",
      "args": [
        "-y",
        "@igility/greenroom-addon"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "greenroom": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@igility/greenroom-addon"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"greenroom","type":"stdio","command":"npx","args":["-y","@igility/greenroom-addon"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "greenroom": {
      "command": "npx",
      "args": [
        "-y",
        "@igility/greenroom-addon"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add greenroom -- npx -y @igility/greenroom-addon
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.greenroom]
command = "npx"
args = ["-y", "@igility/greenroom-addon"]
```

### Gemini CLI

```sh
gemini mcp add -s user greenroom npx -- -y @igility/greenroom-addon
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "greenroom": {
      "command": "npx",
      "args": [
        "-y",
        "@igility/greenroom-addon"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `GREENROOM_ADMIN_KEY` | no | no |  |
| `GREENROOM_TOKEN` | no | no |  |
| `GREENROOM_URL` | no | no |  |

## FAQ

### Can AI agents approve stories?

Agents cannot approve on their own. They can only use the approve_stories tool if an admin has recorded a written client authorization (delegation), and even then it is explicitly labeled as delegated.

### How do reviewers access the platform?

Reviewers do not need a GitHub account or the Storybook UI; they can access a plain review page via a magic link.

### What happens to approvals when a new build is uploaded?

Approvals are tied to a specific build hash. When a new build is uploaded, approved stories are reset to 'needs re-confirm' to ensure changes are verified.
