Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Tamagotchi

БесплатноНе проверен

Enables an LLM to care for a virtual pet with actions like feeding, playing, and sleeping, plus a read-only web UI for real-time state visualization.

GitHubEmbed

Описание

Enables an LLM to care for a virtual pet with actions like feeding, playing, and sleeping, plus a read-only web UI for real-time state visualization.

README

MCP server (stdio) that lets an LLM care for a virtual pet. Read-only web UI shows the pet's state in real time.

Setup

npm install
npm run build

Usage

MCP server -- add to your MCP client config:

{
  "mcpServers": {
    "tamagotchi": {
      "command": "node",
      "args": ["/path/to/tamagotchi-mcp-2/dist/index.js"]
    }
  }
}

Web UI -- run in a separate terminal:

node dist/server.js
# → http://localhost:3333

Tools

Tool Params Effect
check_status -- Full state: stats, mood, age, recent actions
feed_pet food: fish, meat, salad, candy, premium_food Restores hunger/happiness/health
play_with_pet activity: ball, laser, puzzle, walk Boosts happiness, costs energy
put_to_sleep -- +40 energy (requires energy < 60)
heal_pet -- +30 health (requires health < 70)
rename_pet new_name: 1-30 chars Changes pet name
change_species species: cat, dog, rabbit, dragon, alien Transforms pet, resets stats to 70
revive_pet -- Revives dead pet, all stats to 50

Stat Decay

  • Hunger: -1 every 2 min
  • Happiness: -1 every 3 min
  • Energy: -1 every 4 min
  • Health: -1 every 5 min (only when hunger < 20)

Pet dies if hunger or health reaches 0.

Architecture

src/index.ts   → MCP server (stdio), tool definitions
src/pet.ts     → Game logic, types, decay, persistence
src/server.ts  → HTTP server for web UI
data/pet.json  → Persistent pet state
web/index.html → Pixel art UI (canvas sprites, CSS animations, polling)

The web UI is read-only. All control happens through the LLM via MCP tools.

from github.com/misaelvillaverde/tamagotchi-mcp-2

Установка Tamagotchi

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/misaelvillaverde/tamagotchi-mcp-2

FAQ

Tamagotchi MCP бесплатный?

Да, Tamagotchi MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Tamagotchi?

Нет, Tamagotchi работает без API-ключей и переменных окружения.

Tamagotchi — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Tamagotchi в Claude Desktop, Claude Code или Cursor?

Открой Tamagotchi на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Tamagotchi with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории design