diypets
This MCP server lets a coding agent drive the DIYPets desktop mascots—making them speak, animate, play, spawn, and follow the cursor.
Speak quietly —
sayshows a calm speech bubble (up to 160 chars, 1–15 s) above the primary pet without interrupting its walk/sleep state.React physically —
react_pettriggers a hop, happy, sleep, walk, or ball animation across all active pets, with an optional caption for build/test celebrations.Create mascots —
create_pet_from_svgaccepts inline SVG (≤64 KB) or a local.svgpath, auto-rigs it by archetype (quadruped, biped, bird, crawler, swimmer), installs it, and optionally spawns it immediately.Spawn a pack —
spawn_petadds an existing pack (highland_cow, dog, polar_bear, goat, stegosaurus, or custom) to the herd, up to 8 pets.Drop a toy —
drop_ballreleases a bouncy ball for pets to chase and kick.Enable play mode —
set_follow_cursortoggles cursor-following on or off for all pets.Inspect the herd —
list_herd(read-only) returns the count and pack IDs of active mascots.
All actions are local-only and non-destructive (no open-world access); only list_herd is read-only.
Lets agents create a new desktop mascot from a 128x128 left-facing SVG, supplied either as inline markup (up to 64 KB) or as a path to a local .svg file, optionally using semantic groups (body, front_leg, back_leg, wing, tail, face) for auto-rigging; the server rigs the artwork against a physics archetype (quadruped, biped, bird, crawler, swimmer), exports it as a pack, installs it and can spawn it on the desktop.
diypets
Cross-platform desktop mascot engine written in Rust (~7.8 MB idle RAM), with multi-pet herds, a built-in 2D/SVG sprite studio, and an MCP server for coding agents.
Live sandbox: shivammahajan.com/diypets · Package: crates.io/crates/diypets

Install
Windows (PowerShell):
irm [https://raw.githubusercontent.com/smresponsibilities/diypets/main/install.ps1](https://raw.githubusercontent.com/smresponsibilities/diypets/main/install.ps1) | iexmacOS / Linux:
curl -fsSL [https://raw.githubusercontent.com/smresponsibilities/diypets/main/install.sh](https://raw.githubusercontent.com/smresponsibilities/diypets/main/install.sh) | bashFrom source via Cargo:
cargo install diypetsRelated MCP server: AVGE Engine
Usage
diypets # start desktop pet runner
diypets say "Build passed" # trigger a speech bubble on the active pet
diypets mcp # run stdio MCP server for Claude / Cursor / Codex
diypets hooks install all # auto-wire Claude Code & Cursor lifecycle hooks
diypets export-gif pet.xml # export a lossless transparent looping GIF
diypets doctor # print config path, logs, herd state, and build info
diypets --version # print version, git commit, and target triple
diypets-settings # open herd & behavior settings UI
diypets-creator # open 2D/SVG pet studioRight-click any pet or the system tray icon to drop a bouncy ball, toggle Follow Cursor, headpat, sleep, or clone up to 8 pets. Settings live in %APPDATA%\diypets\settings.toml (Windows) or ~/.config/diypets/settings.toml (macOS/Linux); rotating logs auto-prune after 7 days in the sibling logs/ directory.
What's included
Component | Details |
Runner ( | Per-pixel layered transparency (Win32 |
Packs | 5 built-in pixel mascots (Highland Cow, Dog, Polar Bear, Goat, Stegosaurus) plus on-demand eSheep XML pack catalog (27+ community packs). |
Studio ( | 128x128 layered pixel editor, Marquee Select, Mirror X, Onion Skinning, 1-click Auto-Outline, SVG auto-rigging, 4x EPX RotSprite rotation, live sandbox, and XML export. |
Agent MCP ( | Stdio & local HTTP bridge exposing |
MCP configuration
Add to Claude Desktop, Cursor, or Claude Code (mcp.json):
{
"mcpServers": {
"diypets": {
"command": "diypets",
"args": ["mcp"]
}
}
}Building & testing
cargo test --all-targets
cargo clippy --all-targets -- -D warnings
python scripts/validate_sprites.py # checks sprite transparency, foot baselines, and generates walk GIFsSee CONTRIBUTING.md and TICKETS.md for open starter issues and roadmap items.
License
Dual-licensed under MIT or Apache-2.0.
Available Tools
7 toolscreate_pet_from_svgAIdempotent
Generate, auto-rig, install, and optionally spawn a brand-new animated DIYPets desktop mascot from a 128x128 2D SVG facing LEFT (accepts inline svg markup up to 64 KB or a local svg_path). Use when the user asks to create or draw a custom mascot.
Inputs: svg, name, spawn, author, +3 more.
drop_ballA
Drop a bouncy pixel toy ball onto the desktop for all active pets to chase and kick around.
Inputs: no named parameters.
list_herdARead-onlyIdempotent
Read-only query returning the count and pack IDs of all currently active DIYPets desktop mascots.
Inputs: no named parameters.
react_petA
Trigger a physical animation reaction and optional speech bubble on all active DIYPets desktop mascots (use when builds pass/fail, tests finish, or you want visual celebration; do not use when only showing text without hopping—use say instead).
Inputs: mood (required), text, duration_ms.
sayAIdempotent
Display a calm floating speech bubble above the primary DIYPets desktop mascot without forcing a jump or disrupting ongoing walk/sleep state (use for non-intrusive status updates).
Inputs: text (required), duration_ms.
set_follow_cursorAIdempotent
Toggle Play Mode cursor-following across all active desktop pets.
Inputs: enabled (required).
spawn_petA
Add another existing mascot pack to the active desktop herd (up to 8 simultaneous pets). Call list_herd first if you need to check active count.
Inputs: pack_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool maps to a distinct action: spawn vs. create are differentiated by 'add existing pack' vs. 'generate from SVG', and react_pet vs. say are explicitly contrasted (hopping vs. calm bubble). Only spawn_pet/create_pet_from_svg carry mild residual overlap, but the descriptions resolve it.
Nearly all tools follow a snake_case verb_noun pattern (spawn_pet, set_follow_cursor, list_herd, react_pet, create_pet_from_svg, drop_ball). The lone exception is the bare verb 'say', which is readable but breaks the pattern slightly.
Seven tools is well-scoped for a desktop-pet server, with each tool covering a distinct capability (lifecycle, query, interaction, creation, toy). No tool feels redundant or padding.
The surface supports spawning and creating pets but has no way to dismiss/remove a pet from the herd or manage the 8-pet cap, and no tool lists available pack IDs that spawn_pet requires. These are notable gaps that will make agents guess or dead-end.
Maintenance
Related MCP Connectors
- LumorigDeprecatedcom.lumorig
Create, animate and export mascots from your coding agent, as Lottie, SVG or transparent clips.
Create consistent mascot assets and animations for products through AI agents.
Pixel art for AI agents: free image to pixel art, plus sprite generation and animation.
Rig and animate 3D animals and characters from a sentence. Get FBX and GLB for any engine.
Related MCP Servers
- AlicenseAqualityDmaintenanceTurns plain-language descriptions into animated SVGs with a live preview and conversational editing.81MIT
- FlicenseNot gradedqualityDmaintenanceVector illustration tools for AI agents — create scenes, characters, and graphics with shapes, armatures, materials, and rendering.1-

Rayzia MCPofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents to drive a live SVG/vector editor, allowing a full observe-and-act loop on a canvas with real tools, state reading, and PNG rendering.2MIT- FlicenseNot gradedqualityDmaintenanceEnables MCP-compatible coding agents to control a posable, rigged stickman character by setting joint angles and facial expressions, and to render still frames or full animations as SVG, PNG, GIF, or MP4.-