Tamagotchi MCP Server

by wai-imyen

244 downloads
Not rated
GitHub

About

Tamagotchi MCP Server is a simple Model Context Protocol server that simulates a virtual pet (Tamagotchi) game. It allows you to raise a digital pet by issuing natural language commands through an MCP client like Claude Desktop.

Details

Author
wai-imyen
Downloads
244
Categories
Other

- Name your virtual pet chick.
- Check the pet’s current status.
- Shake the egg to hatch.
- Feed, play, and rest with the pet.
- Bathe, clean, and take the pet to the vet.
- Reset the game at any time.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Tamagotchi MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Set up a Python 3.11 virtual environment, install dependencies from requirements.txt, and start the FastAPI server with uvicorn tamagotchi:app --host 0.0.0.0 --port 8000. Then configure Claude Desktop to point to the server script. Once configured, you can interact with your virtual pet using commands such as “幫小雞取名字” (name the chick) or “餵小雞吃飯” (feed the chick).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "tamagotchi mcp server": {
            "tamagotchi-mcp-server": {
                "command": "python3",
                "args": [
                    "-m",
                    "venv",
                    "tamagotchi-mcp-env"
                ]
            }
        }
    }
}

McpServers

{
    "tamagotchi-mcp-server": {
        "command": "python3",
        "args": [
            "-m",
            "venv",
            "tamagotchi-mcp-env"
        ]
    }
}

Tamagotchi MCP Server

實作一個簡易的 Tamagotchi MCP Server,模擬養電子雞的遊戲。

Prerequisites

- Python 3.11
- uvicorn

Setup

1. 建立虛擬環境

python3 -m venv tamagotchi-mcp-env

2. 使用虛擬環境

source tamagotchi-mcp-env/bin/activate

3. 安裝依賴套件

pip install -r requirements.txt

4. 啟動 FastAPI 伺服器

uvicorn tamagotchi:app --host 0.0.0.0 --port 8000

5. 配置 Claude Desktop

{
  "mcpServers": {
    "tamagotchi-mcp-server": {
      "command": "/path/to/your/tamagotchi-mcp-server/tamagotchi-mcp-env/bin/python3",
      "args": ["/path/to/your/tamagotchi-mcp-server/server.py"]
    }
  }
}

Usage

基本動作

- 「幫小雞取名字」
- 「查看小雞狀況」
- 「搖晃蛋」
- 「餵小雞吃飯」
- 「跟小雞玩」
- 「讓小雞休息」
- 「幫小雞洗澡」
- 「帶小雞看醫生」
- 「清理小雞的窩」
- 「重置遊戲」

Implementation

🔗 實作 MCP Server:以「電子雞養成遊戲」為例
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.