This is a TypeScript-based Model Context Protocol (MCP) server that implements a virtual pet simulation system. It demonstrates core MCP concepts by
This is a TypeScript-based Model Context Protocol (MCP) server that implements a virtual pet simulation system. It demonstrates core MCP concepts by providing tools for pet care and interaction. The mcpet mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.
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!
Everything the assistant can do here goes through one of these:
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 boostMeal — Balanced nutritionFeast — Maximum feeding (but can be unhealthy)play_with_pet — Play different games:Ball — Light exerciseChase — High energy funPuzzle — Mental stimulationclean_pet — Give your pet a bath to restore cleanlinessput_to_bed — Let your pet sleep to restore energyYou will need one environment variable: PET_DATA_DIR. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCPet's toolset — create_pet, check_pet, feed_pet and 11 more — is a fair guide to whether it matches your workflow. It is maintained by shreyaskarnik; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against MCPet's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| 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 |
| Tools | The Tools tool exposed by this server. |
| Animations | The Animations tool exposed by this server. |
{
"mcpServers": {
"mcpet": {
"command": "npx",
"args": ["-y", "@smithery/cli"],
"env": {
"PET_DATA_DIR": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| PET_DATA_DIR | Filesystem location the server is allowed to use. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.