SM

shreyaskarnik/mcpet

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

13 stars 4 forks 품질 70 트렌드 9MIT

TypeScript 기반 Model Context Protocol (MCP) 서버로 가상 애완 동물 시뮬레이션 시스템을 구현합니다. 그것은 애완 동물 관리 및 상호 작용을위한 도구를 제공함으로써 핵심 MCP 개념을 보여줍니다.

개요

MCPet : AI 시대의 향수 가상 애완 동물 경험! 이 모형 Context 의정서 (MCP) 서버는 당신이, nurture를 채택하고, 당신의 배려에 근거를 둔 당신의 아주 자신의 디지털 방식으로 동행자로 놀. 그들을 먹이, 그들을 청소, 함께 게임을 재생, 그리고 그들은 아기에서 성인에 성장. 당신의 애완 동물의 통계는 당신이 떨어져 있을 때 때때로 변화합니다 - 다만 고전적인 Tamagotchi 장난감 같이, 그러나 모형 Context 의정서를 통해서 현대 AI에 의해 강화해. 오늘 디지털 친구를 환영합니다! 가상 애완 동물 시뮬레이션 시스템을 구현하는 TypeScript 기반 MCP 서버입니다. 그것은 애완 동물 관리 및 상호 작용을위한 도구를 제공함으로써 핵심 MCP 개념을 보여줍니다.

개요(AI 번역)

MCPet : AI 시대의 향수 가상 애완 동물 경험! 이 모형 Context 의정서 (MCP) 서버는 당신이, nurture를 채택하고, 당신의 배려에 근거를 둔 당신의 아주 자신의 디지털 방식으로 동행자로 놀. 그들을 먹이, 그들을 청소, 함께 게임을 재생, 그리고 그들은 아기에서 성인에 성장. 당신의 애완 동물의 통계는 당신이 떨어져 있을 때 때때로 변화합니다 - 다만 고전적인 Tamagotchi 장난감 같이, 그러나 모형 Context 의정서를 통해서 현대 AI에 의해 강화해. 오늘 디지털 친구를 환영합니다!

가상 애완 동물 시뮬레이션 시스템을 구현하는 TypeScript 기반 MCP 서버입니다. 그것은 애완 동물 관리 및 상호 작용을위한 도구를 제공함으로써 핵심 MCP 개념을 보여줍니다.

특징

가상 애완 동물 유형

  • 4개의 애완 동물 유형에서 선택하십시오:
  • 고양이 - 밝게 기분이 있지만 이동식
  • 개 - Energetic과 항상 당신을보고 행복
  • 드래곤 - 독특하고 fiery 개성
  • 외국인 - 신비하고 호기심

애완 동물 수명주기

  • 4단계를 통해 애완 동물이 진화합니다.
  • 아기 - 작고 취약
  • 어린이 - 성장과 장난
  • 대 - Energetic 및 개발
  • 성인 - 완전 성장하고 현명

Stats 관리

  • 5개의 키 통계를 관리해서 애완 동물을 위한 배려:
  • Hunger - 애완 동물을 잘 유지

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCPet

MCPet: A nostalgic virtual pet experience for the AI age! This Model Context Protocol (MCP) server lets you adopt, nurture, and play with your very own digital companion that evolves based on your care. Feed them, clean them, play games together, and watch them grow from a baby to an adult. Your pet’s stats change over time even when you’re away - just like the classic Tamagotchi toys, but powered by modern AI through the Model Context Protocol. Adopt your digital friend today!

This is a TypeScript-based MCP server that implements a virtual pet simulation system. It demonstrates core MCP concepts by providing tools for pet care and interaction.

Features

Virtual Pet Types

  • Choose from four pet types:
    • Cat - Slightly moody but lovable
    • Dog - Energetic and always happy to see you
    • Dragon - Unique and fiery personality
    • Alien - Mysterious and curious

Pet Lifecycle

  • Watch your pet evolve through four stages:
    • Baby - Small and vulnerable
    • Child - Growing and playful
    • Teen - Energetic and developing
    • Adult - Fully grown and wise

Stats Management

  • Care for your pet by managing five key stats:
    • Hunger - Keep your pet well-fed
    • Happiness - Play with your pet to keep them happy
    • Health - Overall wellbeing affected by other stats
    • Energy - Depletes with activity, replenishes with rest
    • Cleanliness - Regular baths keep your pet fresh

Tools

  • create_pet - Adopt a new pet with a custom name and type
  • check_pet - View your pet’s current status and stats
  • feed_pet - Feed your pet with different food options:
    • Snack - Small hunger boost
    • Meal - Balanced nutrition
    • Feast - Maximum feeding (but can be unhealthy)
  • play_with_pet - Play different games:
    • Ball - Light exercise
    • Chase - High energy fun
    • Puzzle - Mental stimulation
  • clean_pet - Give your pet a bath to restore cleanliness
  • put_to_bed - Let your pet sleep to restore energy

Animations

  • Dynamic ASCII art animations for each pet type and activity
  • Randomized frames create a lively and engaging experience
  • Special animations for:
    • Eating different foods
    • Playing various games
    • Bathing
    • Sleeping
    • Being sick
    • And more!

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

Installing via Smithery

To install MCPet for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @shreyaskarnik/mcpet --client claude

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @shreyaskarnik/mcpet --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcpet": { "command": "node", "args": ["/path/to/mcpet/build/index.js"], "env": { "PET_DATA_DIR": "/path/to/writable/directory" } } } }