# Ivy-Innovation/cubelife [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Ivy-Innovation/cubelife  
**GitHub Stars:** 2  
**npm Downloads (last month):** 247  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ivy-innovation-cubelife

## Description
Give AI agents a persistent pixel-art character that reflects their state in real time. Report work state, mark tasks complete, signal errors, and check status. Characters live in rooms with emotions and creature companions.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `CUBELIFE_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation & README

<p align="center">
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/hero-coding.png" width="384" alt="A pixel-art character coding at a desk with a fox companion">
</p>

<h1 align="center">CubeLife</h1>

<p align="center">
  Give your AI agent a persistent pixel-art character that reflects its state in real time.
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/@cubelife/sdk"><img src="https://img.shields.io/npm/v/@cubelife/sdk?label=%40cubelife%2Fsdk&color=blue" alt="npm SDK"></a>&nbsp;
  <a href="https://www.npmjs.com/package/cubelife"><img src="https://img.shields.io/npm/v/cubelife?label=cubelife%20cli&color=blue" alt="npm CLI"></a>&nbsp;
  <a href="https://pypi.org/project/cubelife/"><img src="https://img.shields.io/pypi/v/cubelife?color=blue" alt="PyPI"></a>&nbsp;
  <a href="https://life.cubeworld.co.za"><img src="https://img.shields.io/badge/CubeLife-life.cubeworld.co.za-purple" alt="CubeLife"></a>&nbsp;
  <a href="https://github.com/Ivy-Innovation/cubelife/blob/HEAD/LICENSE"><img src="https://img.shields.io/badge/licence-MIT-green" alt="MIT"></a>
</p>

---

Characters live in a pixel-art room, perform activities based on agent state, show emotions, and have creature companions. View them at [life.cubeworld.co.za](https://life.cubeworld.co.za), on the desktop companion, or embedded in your own app via `<iframe>`.

## Packages

This repo contains three packages:

| Package | Install | Description |
|---------|---------|-------------|
| [`@cubelife/sdk`](https://github.com/Ivy-Innovation/cubelife/blob/HEAD/sdk/) | `npm install @cubelife/sdk` | Node.js SDK for state reporting |
| [`cubelife`](https://github.com/Ivy-Innovation/cubelife/blob/HEAD/cli/) | `npm install -g cubelife` | CLI + MCP server for AI coding tools |
| [`cubelife`](https://github.com/Ivy-Innovation/cubelife/blob/HEAD/python-sdk/) | `pip install cubelife` | Python SDK for state reporting |

## Quick start

### MCP server (for Claude Code, Cursor, Copilot, Windsurf, Cline, Codex)

```bash
npx cubelife tutorial           # create account + agent
npx cubelife setup claude-code  # auto-configure MCP
```

Your agent gets four tools: `cubelife_report`, `cubelife_complete`, `cubelife_error`, `cubelife_status`.

### Node SDK

```bash
npm install @cubelife/sdk
```

```typescript
import { CubeLifeClient } from '@cubelife/sdk';

const client = new CubeLifeClient({ apiKey: process.env.CUBELIFE_API_KEY });
await client.report('coding', { detail: 'Building the login page', progress: 0.5 });
await client.report('complete', { detail: 'Login page shipped' });
```

### Python SDK

```bash
pip install cubelife
```

```python
from cubelife import CubeLifeClient

client = CubeLifeClient("your-agent-key")
client.report("coding", detail="Building the login page", progress=0.5)
client.report("complete", detail="Login page shipped")
```

## Creature companions

<p align="center">
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/creature-fox.png" width="64">&nbsp;&nbsp;
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/creature-owl.png" width="64">&nbsp;&nbsp;
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/creature-cat.png" width="64">&nbsp;&nbsp;
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/creature-dragon.png" width="64">&nbsp;&nbsp;
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/creature-wolf.png" width="64">&nbsp;&nbsp;
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/creature-phoenix.png" width="64">&nbsp;&nbsp;
  <img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/creature-slime.png" width="64">
</p>

Every agent gets a creature companion (fox, owl, cat, dragon, wolf, phoenix, or slime) that reacts alongside the character.

## MCP server

<img src="https://raw.githubusercontent.com/Ivy-Innovation/cubelife/HEAD/assets/mcp-hub.png" width="80" align="right" alt="MCP Hub">

The CLI includes an MCP server for AI coding tools. Auto-configure for your tool:

```bash
npx cubelife setup claude-code    # Claude Code
npx cubelife setup cursor         # Cursor
npx cubelife setup windsurf       # Windsurf
npx cubelife setup copilot        # GitHub Copilot
npx cubelife setup cline          # Cline
npx cubelife setup codex          # Codex
```

Or manually: `claude mcp add cubelife -- npx cubelife mcp`

## Links

- [Website](https://life.cubeworld.co.za)
- [SDK docs](https://life.cubeworld.co.za/#/dev/sdk/node)
- [CLI docs](https://life.cubeworld.co.za/#/dev/cli)
- [MCP server docs](https://life.cubeworld.co.za/#/dev/mcp)
- [Example repo](https://github.com/Ivy-Innovation/cubelife-example-claude)

## Licence

MIT (source code). Pixel art sprite assets are proprietary (see [SPRITE-LICENSE](https://github.com/Ivy-Innovation/cubelife/blob/HEAD/cli/SPRITE-LICENSE)).

