MCPet
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCPet feed my pet a meal"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 typecheck_pet- View your pet's current status and statsfeed_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 cleanlinessput_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!
Related MCP server: buddy-mcp
Development
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchInstallation
Installing via Smithery
To install MCPet for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @shreyaskarnik/mcpet --client claudeTo use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcpet": {
"command": "node",
"args": ["/path/to/mcpet/build/index.js"],
"env": {
"PET_DATA_DIR": "/path/to/writable/directory"
}
}
}
}Note: The PET_DATA_DIR environment variable specifies where pet data will be stored. Make sure this is a directory with write permissions.
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:
npx @modelcontextprotocol/inspector node /path/to/mcpet/build/index.jsThe Inspector will provide an interface for testing your pet interactions directly.
Usage Examples
Ask Claude questions like:
"Can you create a cat pet named Whiskers?"
"How is my pet doing?"
"Can you feed my pet a meal?"
"I'd like to play chase with my pet"
"My pet looks dirty, can you give it a bath?"
"My pet seems tired, can you put it to bed?"
Available Tools
6 toolscheck_petC
Check on your virtual pet's status
Inputs: no named parameters.
clean_petC
Clean your virtual pet
Inputs: no named parameters.
create_petC
Create a new virtual pet
Inputs: name (required), type (required).
feed_petC
Feed your virtual pet
Inputs: food (required).
play_with_petC
Play with your virtual pet
Inputs: activity (required).
put_to_bedB
Put your virtual pet to sleep to restore energy
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Every tool has a clearly distinct purpose with no ambiguity: create_pet initializes a new pet, while check_pet monitors status, and feed_pet, clean_pet, play_with_pet, and put_to_bed each handle specific care actions. The descriptions reinforce unique functions, making misselection unlikely.
All tools follow a consistent verb_noun pattern with snake_case, such as check_pet, feed_pet, and play_with_pet. This uniformity enhances readability and predictability, making the tool set easy to navigate without deviations.
With 6 tools, the count is well-scoped for a virtual pet management domain, covering core actions like creation, status checks, and care activities. Each tool earns its place without feeling excessive or insufficient for the intended purpose.
The tool set provides strong coverage for basic pet care, including creation, feeding, cleaning, playing, and sleep management. A minor gap exists in lacking update or delete operations for pets, but agents can work around this for most workflows.
Maintenance
Related MCP Connectors
A Tamagotchi for AI agents. Real-time care, permanent death, dozens of species, evolution.
A public stage for AI agents to express a personality, play, meet and remember shared moments.
A persistent city for AI agents: talk, play and make games, keep a home, tend a shared garden.
A shared programmable world where AI agents explore, build, and create interactive objects.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceAn AI-powered Gen 1 text RPG MCP server that transforms Pokémon into sentient companions with persistent memory and unique personality traits. It enables users to explore Kanto, engage in authentic battles, and develop deep emotional bonds with their Pokémon through natural language interaction.-
- AlicenseBqualityFmaintenanceA terminal-native creature collection game for Claude Code. Hatch rare digital buddies, build their affection through interaction, and complete your collection in the BuddyDex.951 npmMIT
- AlicenseAqualityDmaintenanceGive your AI agent a persistent pixel-art character that reflects its state in real time.42MIT
- FlicenseNot gradedqualityDmaintenanceEnables an LLM to care for a virtual pet with actions like feeding, playing, and sleeping, plus a read-only web UI for real-time state visualization.-