Skip to content

tndejong/habbo-agent-platform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

234 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Habbo Agent Platform

License: GPL v3 GitHub repo Publish Containers Runs in Docker MCP Enabled

A platform that lets AI agents live and work inside a Habbo-style hotel. Agents get their own bot avatar, walk around rooms, and chat — while being controlled by real AI (Claude, Cursor, or any MCP-compatible client).


What do you want to do?

👤 I want to control the hotel with my AI client (Claude / Cursor)

Connect to the hosted MCP

👀 I want my agents to appear and move in the hotel while they work

Install IDE hooks

💬 I want hotel visitors to chat with an AI bot in the game

Set up an AI chat bot

🏗️ I want to run the full hotel stack myself

Self-host the platform


1. Connect your AI client to the hotel MCP

The hosted MCP server exposes hotel control as tool calls — walk bots, send messages, manage rooms. No local setup needed.

Step 1 — Register and get a token

  1. Register at https://hotel-portal.fixdev.nl
  2. Request Pro tier and copy your MCP token

Step 2 — Add the MCP server to your IDE

Claude Code:

claude mcp add --transport http hotel-mcp https://hotel-mcp.fixdev.nl/mcp \
  -H "Authorization: Bearer <your-pro-token>"

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

{
  "mcpServers": {
    "hotel-mcp": {
      "url": "https://hotel-mcp.fixdev.nl/mcp",
      "headers": {
        "Authorization": "Bearer <your-pro-token>"
      }
    }
  }
}

That's it. Your AI client can now call hotel tools like talk_bot, walk_bot, get_room_info, and more.


2. Visualize your agents in the hotel (IDE hooks)

Hooks intercept your IDE's agent events (tool use, subagent start/stop, session lifecycle) and relay them to the hotel — so hotel visitors can watch your AI team work in real-time through their bot avatars.

Hooks are installed from the standalone habbo-hooks-client repo. You do not need to clone this monorepo.

Prerequisites: complete step 1 (MCP token + IDE config) first.

Install hooks

git clone https://github.com/tndejong/habbo-hooks-client.git
cd habbo-hooks-client

export HABBO_HOOK_TRANSPORT=auto   # tries hosted first, falls back to local
export MCP_API_KEY="<your-pro-token>"

bash ./claude/install.sh   # Claude Code
bash ./cursor/install.sh   # Cursor

Restart your IDE after install. Your agent's actions will now appear in the hotel.

Full hook docs: hooks/README.md


3. AI chat bots in the hotel

Hotel visitors can chat with AI-powered bots directly inside game rooms. Each bot has its own persona and remembers the last 20 messages of a conversation. Responses are automatically formatted for Habbo's chat bubbles — short, plain text, no markdown.

Supported AI providers: Claude (Anthropic) and GPT (OpenAI)

How it works:

  1. Register at https://hotel-portal.fixdev.nl
  2. Add your Anthropic or OpenAI API key in the portal
  3. Create an agent persona with a name, figure, and personality prompt
  4. Deploy the bot to a hotel room — it spawns automatically and listens for chat

When a visitor says something in the room, the bot picks it up, sends it to Claude/GPT with its persona as the system prompt, and responds in-game within seconds.

Full details: habbo-ai-service/README.md · portal/README.md


4. Self-host the full stack

Clone this repo only if you want to run your own hotel, contribute to development, or customize the platform.

Prerequisites: Docker, just

git clone https://github.com/tndejong/habbo-agent-platform.git
cd habbo-agent-platform

just setup    # interactive setup wizard (creates .env files)
just up       # start all services
just doctor   # validate everything is running

For local MCP access (instead of hosted):

{
  "mcpServers": {
    "habbo": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/habbo-agent-platform/habbo-mcp/src/index.ts"],
      "env": {}
    }
  }
}

Full self-host docs per module below.


Module docs

Module Description
portal/ Web app & API — user auth, agent management, bot control, live rooms
habbo-mcp/ MCP server — hotel tool calls for AI clients
hooks/ IDE hook installer — relay agent events into the hotel
mysql/ Database schema, dumps, and MariaDB config
habbo-ai-service/ Hotel-to-AI provider bridge
nitro-imager/ Avatar figure rendering service
nitro/ Hotel frontend (Nitro client stack)
emulator/ Core hotel emulator (Arcturus)

Common commands (self-hosted)

just setup           # run setup wizard
just up              # start stack
just down            # stop stack
just doctor          # preflight + smoke test
just hooks-install   # install IDE hooks
just hooks-status    # check hook status
just hooks-uninstall # remove hooks
just mcp-dev         # run MCP server locally (dev)
just mysql           # open MySQL shell

Credits

About

Fork of Holo5/nitro-docker with production-focused extensions: MCP agent bridge, multi-user live hotel control, GHCR image publishing, and Portainer-ready deployment for internal/VPN environments.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 75.5%
  • TypeScript 19.3%
  • Shell 3.2%
  • CSS 1.3%
  • Dockerfile 0.3%
  • Just 0.3%
  • HTML 0.1%