# Reconstruct CLI

Reconstruct CLI — install MCP-enabled assistant plugins.

## Installation

```bash
npm install -g reconstruct-cli
```

## Recommended first-time setup

Use **one** command for MCP and supported IDE integrations (browser sign-in and org selection happen during install):

```bash
reconstruct install
# or, e.g.:
reconstruct install --assistant cursor,claude,copilot,codex
reconstruct install --assistant codex   # bundled plugin + ~/.codex/config.toml MCP auth
```

Then verify with **`reconstruct doctor`**.

Full detail: [docs/cli-auth-install.md](../docs/cli-auth-install.md).

---

## MCP install (`reconstruct install`)

**`reconstruct install`** opens your browser to sign in (if needed), select an organization when you belong to more than one, and approve MCP setup. It registers the **`reconstruct`** MCP server and applies assistant-specific wiring: bundled plugins for **Cursor**, **Claude Code**, **GitHub Copilot for VS Code**, and **Codex** (skills + plugin `.mcp.json`; MCP Bearer token in `~/.codex/config.toml` — see [Codex plugins](https://developers.openai.com/codex/plugins/build)).

The old **`reconstruct init`** template installer is deprecated and hidden from help.

Full detail: [docs/cli-auth-install.md](../docs/cli-auth-install.md) in this repo.
