MCPet
by shreyaskarnik
MCPet is a Model Context Protocol (MCP) server that provides a nostalgic virtual pet experience for the AI age. Adopt, nurture, and play with your very own digital companion that evolves based on your care.
Last updated: N/A
What is MCPet?
MCPet is a TypeScript-based MCP server that implements a virtual pet simulation system. It allows users to adopt, care for, and interact with a virtual pet through various commands and activities, demonstrating core MCP concepts.
How to use MCPet?
Install MCPet using Smithery or manually, configure it with Claude Desktop, and then interact with your pet through Claude by asking questions and giving commands like creating a pet, checking its status, feeding it, playing with it, cleaning it, or putting it to bed.
Key features of MCPet
Virtual Pet Types (Cat, Dog, Dragon, Alien)
Pet Lifecycle (Baby, Child, Teen, Adult)
Stats Management (Hunger, Happiness, Health, Energy, Cleanliness)
Tools for pet care and interaction (create_pet, check_pet, feed_pet, play_with_pet, clean_pet, put_to_bed)
Dynamic ASCII art animations for each pet type and activity
Use cases of MCPet
Providing a fun and engaging virtual pet experience powered by AI
Demonstrating the capabilities of the Model Context Protocol
Learning about pet care and responsibility in a virtual environment
Integrating with AI assistants like Claude for natural language interaction
FAQ from MCPet
How do I install MCPet?
How do I install MCPet?
You can install MCPet automatically via Smithery or manually by cloning the repository and following the installation instructions in the README.
How do I configure MCPet with Claude Desktop?
How do I configure MCPet with Claude Desktop?
Add the server configuration to your claude_desktop_config.json file, specifying the command, arguments, and environment variables (including PET_DATA_DIR).
Where is the pet data stored?
Where is the pet data stored?
Pet data is stored in the directory specified by the PET_DATA_DIR environment variable. Make sure this directory has write permissions.
How can I debug MCPet?
How can I debug MCPet?
Use the MCP Inspector to test your pet interactions directly. Run npx @modelcontextprotocol/inspector node /path/to/mcpet/build/index.js
.
What kind of commands can I use to interact with my pet?
What kind of commands can I use to interact with my pet?
You can use commands like create_pet
, check_pet
, feed_pet
, play_with_pet
, clean_pet
, and put_to_bed
to care for and interact with your pet.