# Three-Live MCP server

> Compiles Three.js code into native 3D scenes for Android, iOS, visionOS, and WebXR, providing an MCP server for AI-driven spatial verification and rendering.

- Repository: https://github.com/google/three-live
- Page: https://hostedmcp.org/servers/google/three-live
- Official: yes
- Transport: stdio
- Stars: 379
- License: Apache-2.0
- Latest version: 1.3.1

## Install

### Claude Code

```sh
claude mcp add three-live -- npx -y three-live
```

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

```json
{
  "mcpServers": {
    "three-live": {
      "command": "npx",
      "args": [
        "-y",
        "three-live"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "three-live": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "three-live"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"three-live","type":"stdio","command":"npx","args":["-y","three-live"]}'
```

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

```json
{
  "mcpServers": {
    "three-live": {
      "command": "npx",
      "args": [
        "-y",
        "three-live"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add three-live -- npx -y three-live
```

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

```toml
[mcp_servers.three-live]
command = "npx"
args = ["-y", "three-live"]
```

### Gemini CLI

```sh
gemini mcp add -s user three-live npx -- -y three-live
```

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

```json
{
  "mcpServers": {
    "three-live": {
      "command": "npx",
      "args": [
        "-y",
        "three-live"
      ]
    }
  }
}
```

## FAQ

### Can I use Three-Live with an AI agent?

Yes, you can attach the three-live-cli mcp as a zero-dependency Model Context Protocol server in Gemini CLI, Claude Code, or any MCP client to allow agents to render, validate, and convert scenes.
