# Connect the client you actually use.

Universal hosted MCP installer



One reviewed installer supports Codex, Claude Code, and Cursor Agent. Client selection is always explicit, read-only access is the default, and an unrelated configuration named `barvinca` is never overwritten.

Choose your operating system

## Codex

Native OAuth scope selection and a real `barvinca_connection_status` check.

```
curl -fsSL https://barvinca.com/install/mcp.sh | sh -s -- --client codex
```

## Claude Code

User-scoped HTTP configuration with pinned read-only OAuth scopes.

```
curl -fsSL https://barvinca.com/install/mcp.sh | sh -s -- --client claude
```

## Cursor Agent

Atomic global JSON configuration and native `list-tools` verification.

```
curl -fsSL https://barvinca.com/install/mcp.sh | sh -s -- --client cursor
```

## Choose your shell

**macOS or Linux**

```
curl -fsSL https://barvinca.com/install/mcp.sh | sh -s -- --client codex
```

[Review the POSIX script](/install/mcp.sh)

**Windows PowerShell**

```
& ([scriptblock]::Create((irm https://barvinca.com/install/mcp.ps1))) -Client codex
```

[Review the PowerShell script](/install/mcp.ps1)

## Stable flags

| Flag | Effect |
| --- | --- |
| `--client codex|claude|cursor|all` | Required. Selects exactly which native client configuration is touched. |
| `--check` | Verifies saved configuration, transport, and a safe read-only tool or tool catalog. |
| `--update` | Refreshes a matching Barvinca entry and authorization without accepting a collision. |
| `--uninstall` | Removes only a matching Barvinca entry. Revoke server-side access separately in Settings. |
| `--non-interactive` | Writes configuration without launching browser authorization and prints the native login command. |
| `--profile read|domains|admin` | Codex only (or Codex within `all`). The default `read` profile requests `barvinca.read`; elevated profiles require explicit consent. |

**Verification is deliberately non-mutating.** Codex and Claude call only `barvinca_connection_status`. Cursor uses `mcp list-tools barvinca` because its CLI does not expose a direct tool-call command.

## Automation exit codes

`0` success · `2` invalid flags · `3` collision · `4` missing client or prerequisite · `5` authentication/transport/check failure · `6` unsafe configuration read or write.

## Compatibility

Existing Codex-only links remain available at [/install/codex](/install/codex.md), [/install/codex.sh](/install/codex.sh), and [/install/codex.ps1](/install/codex.ps1).

---

Canonical HTML: https://barvinca.com/install/mcp
