Content
# Tamagotchi MCP Server
Implement a simple Tamagotchi MCP Server to simulate a virtual pet game.
## Prerequisites
- Python 3.11
- uvicorn
## Setup
### 1. Create a virtual environment
```bash
python3 -m venv tamagotchi-mcp-env
```
### 2. Activate the virtual environment
```bash
source tamagotchi-mcp-env/bin/activate
```
### 3. Install dependencies
```bash
pip install -r requirements.txt
```
### 4. Start the FastAPI server
```bash
uvicorn tamagotchi:app --host 0.0.0.0 --port 8000
```
### 5. Configure Claude Desktop
```json
{
"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
Basic actions
- "Name the pet"
- "Check the pet's status"
- "Shake the egg"
- "Feed the pet"
- "Play with the pet"
- "Let the pet rest"
- "Give the pet a bath"
- "Take the pet to the doctor"
- "Clean the pet's nest"
- "Reset the game"
## Implementation
[🔗 Implement MCP Server: Take "Tamagotchi Game" as an example](https://wai-imyen.github.io/posts/tamagotchi-mcp-server/)
Connection Info
You Might Also Like
markitdown
Python tool for converting files and office documents to Markdown.
OpenAI Whisper
OpenAI Whisper MCP Server - 基于本地 Whisper CLI 的离线语音识别与翻译,无需 API Key,支持...
claude-flow
Claude-Flow v2.7.0 is an enterprise AI orchestration platform.
Cliclaw
Your CLI coding agent shouldn't need a babysitter. cliclaw is a...
Hermes-iOS
Hermes agents don't have iPhones. Now yours does. This app gives Hermes...
dynoxide
A lightweight DynamoDB emulator backed by SQLite. No Docker. No JVM....