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.
Описание
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.
Установка Tamagotchi
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/misaelvillaverde/tamagotchi-mcp-2FAQ
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
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
автор: passerbyflutterdannote/figma-use
Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.
автор: dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
автор: NOVA-3951PIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
автор: jangjo123Compare Tamagotchi with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории design
