# kosa8 mcp install

Register kosa8 as an MCP server with Claude, Cursor, VS Code, Gemini CLI, Zed and more

## Usage

```
kosa8 mcp install [CLIENT...]
```

Adds kosa8 to the MCP servers of the AI clients on this machine, so their next
session can create sandboxes, run code, read and write files, and use git in
them. With no CLIENT, every client found here is set up (project-scoped and
manual clients only when named).

  claude-code     claude mcp add --scope user
  claude-desktop  ~/Library/Application Support/Claude/claude_desktop_config.json
  cursor          ~/.cursor/mcp.json
  windsurf        ~/.codeium/windsurf/mcp_config.json
  codex           ~/.codex/config.toml
  copilot         ~/.copilot/mcp-config.json
  vscode          PROJECT/.vscode/mcp.json (--project)
  gemini          ~/.gemini/settings.json
  qwen            ~/.qwen/settings.json
  zed             ~/.config/zed/settings.json
  cline           ~/.cline/data/settings/cline_mcp_settings.json
  continue        PROJECT/.continue/mcpServers/kosa8.json (--project)
  opencode        ~/.config/opencode/opencode.json
  kilo            ~/.config/kilo/kilo.json
  amp             ~/.config/amp/settings.json
  droid           ~/.factory/mcp.json
  goose           ~/.config/goose/config.yaml
  jetbrains       settings dialog (prints what to paste)

Each client's config keeps its other servers; the file as it was is saved as
.bak. A JSON-with-comments file (Zed, OpenCode, Kilo, Amp, VS Code) is rewritten
without its comments, and says so. Restart the client afterwards. --print shows
what would be added without changing anything, and --uninstall takes kosa8 out.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--print` | bool | show the configuration to add instead of writing it |  |
| `--project` | string | the project folder, for project-scoped clients (vscode, continue) | `.` |
| `--uninstall` | bool | remove kosa8 from the clients instead |  |

## Example

```
  kosa8 mcp install
  kosa8 mcp install claude cursor
  kosa8 mcp install --print
  kosa8 mcp install cursor --uninstall
```

---
Source: https://docs.kosa8.com/reference/mcp-install/
