# Cubelife

> Cubelife is an open-source MCP server. Give AI agents a persistent pixel-art character reflecting their state in real time. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://life.cubeworld.co.za
- **Repository:** https://github.com/ivy-innovation/cubelife/tree/HEAD/cli
- **MCP Registry name:** io.github.Ivy-Innovation/cubelife
- **Listing updated:** 2026-11-13

## About

Give AI agents a persistent pixel-art character reflecting their state in real time.

## Install

### Claude Code (Terminal)

```sh
claude mcp add cubelife --env CUBELIFE_API_KEY='<CUBELIFE_API_KEY>' --env CUBELIFE_AGENT_ID='<CUBELIFE_AGENT_ID>' -- npx -y cubelife
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cubelife": {
      "command": "npx",
      "args": [
        "-y",
        "cubelife"
      ],
      "env": {
        "CUBELIFE_API_KEY": "<CUBELIFE_API_KEY>",
        "CUBELIFE_AGENT_ID": "<CUBELIFE_AGENT_ID>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cubelife": {
      "command": "npx",
      "args": [
        "-y",
        "cubelife"
      ],
      "env": {
        "CUBELIFE_API_KEY": "<CUBELIFE_API_KEY>",
        "CUBELIFE_AGENT_ID": "<CUBELIFE_AGENT_ID>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "cubelife": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cubelife"
      ],
      "env": {
        "CUBELIFE_API_KEY": "<CUBELIFE_API_KEY>",
        "CUBELIFE_AGENT_ID": "<CUBELIFE_AGENT_ID>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "cubelife": {
      "command": "npx",
      "args": [
        "-y",
        "cubelife"
      ],
      "env": {
        "CUBELIFE_API_KEY": "<CUBELIFE_API_KEY>",
        "CUBELIFE_AGENT_ID": "<CUBELIFE_AGENT_ID>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "cubelife": {
      "command": "npx",
      "args": [
        "-y",
        "cubelife"
      ],
      "env": {
        "CUBELIFE_API_KEY": "<CUBELIFE_API_KEY>",
        "CUBELIFE_AGENT_ID": "<CUBELIFE_AGENT_ID>"
      }
    }
  }
}
```

## FAQ

### Is Cubelife free?

Yes. Cubelife is open source, so you can use and self-host it for free.

### How do I add Cubelife to Claude Code?

Run this command in your terminal: claude mcp add cubelife --env CUBELIFE_API_KEY='<CUBELIFE_API_KEY>' --env CUBELIFE_AGENT_ID='<CUBELIFE_AGENT_ID>' -- npx -y cubelife

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/cubelife
