MCP ExplorerExplorer

Tamagotchi Mcp Server

@wai-imyenon a year ago
1 MIT
FreeCommunity
AI Systems
實作簡易的 Tamagotchi MCP Server,模擬電子雞遊戲

Overview

What is Tamagotchi Mcp Server

The tamagotchi-mcp-server is a simple implementation of a Tamagotchi MCP Server that simulates the experience of raising a virtual pet, specifically an electronic chicken.

Use cases

Use cases include creating interactive educational tools, developing simple games, and providing a platform for users to engage with virtual pets in a simulated environment.

How to use

To use the tamagotchi-mcp-server, set up a virtual environment, install the required dependencies, and start the FastAPI server using Uvicorn. You can then interact with the server to perform various actions with your virtual chicken.

Key features

Key features include naming your chicken, checking its status, shaking the egg, feeding, playing, letting it rest, bathing, taking it to the doctor, cleaning its nest, and resetting the game.

Where to use

The tamagotchi-mcp-server can be used in educational settings, game development, and as a fun project for learning about server-side programming and API development.

Content

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:以「電子雞養成遊戲」為例

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers