LPC Character Generator — MCP
An MCP server that lets you create, preview, search, and export LPC pixel-art character spritesheets with engine-ready files and credits.
Search/list LPC items by query, category, body type, animation, type, completeness, and license.
Get item details: colors, variants, multi-color parts, animations, missing animations, and complete alternatives.
Generate character spritesheets from item lists (body, head, hair, clothes, etc.) with colors and variants.
Preview characters in chat as animated GIFs or stills, showing all 4 directions.
Randomly generate characters or batches of NPCs with seeds and fixed items.
Import/export generator site URLs and JSON clipboard links.
Export for Godot (.tres SpriteFrames), Unity (.meta, .controller, .anim), web (JSON atlas + demo), and site JSON.
Save to custom output directories, zip outputs, and split by animation, frame, or item.
Check animation completeness and license safety (e.g., CC0/OGA-BY for DRM stores) with warnings and replacements.
Manage cache and update item definitions from the official LPC repository.
Exports generated LPC character spritesheets for Unity, producing sliced PNG sprites, a Unity Animator Controller with one state per animation, and .anim files for use with SpriteRenderer and Animator.
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., "@LPC Character Generator — MCP Gera um ferreiro moreno com avental de couro e martelo e exporta para Godot"
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.
LPC Character Generator — MCP
English · Português
An MCP server that builds LPC pixel-art character spritesheets — the same parts as the Universal LPC Spritesheet Character Generator — and exports them ready for Godot, Unity and the web (Phaser/PixiJS).
Ask in plain language ("make a tanned blacksmith with a leather apron and a hammer") and your assistant assembles the character, shows an animated preview in the chat and saves the files.


Every character above was generated by this MCP — themed ones (knight, viking, wizard, skeleton, orc, legionary, pirate, king...) and random ones.

The in-chat preview (preview_character) is an animated GIF — here a blacksmith hammering:

Installation

You need uv and Git. uv fetches the right Python and the package by itself — nothing to clone, no dependencies to install.
Install uv (once):
Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Prepare the server (downloads the item definitions, ~10 s, only once):
uvx lpc-character-mcp --setupRegister it in your assistant (below). The command is always
uvx lpc-character-mcp.
To run the latest code straight from GitHub, replace uvx lpc-character-mcp with
uvx --from git+https://github.com/kyuza1/lpc-character-mcp lpc-character-mcp in any example.
Characters are saved to ~/lpc-characters (on Windows, C:\Users\<you>\lpc-characters).
Set LPC_OUTPUT_DIR to change it — for example, to your Godot/Unity sprites folder.
lpc-character-mcp --where prints every folder in use. Messages are in English; set
LPC_LANG=pt for Portuguese.
Claude Code
claude mcp add lpc --scope user -- uvx lpc-character-mcpClaude Desktop
One click: download lpc-character-mcp.mcpb from the
latest release and open it
(or drag it into Settings → Extensions). You can pick the output folder and language
during install.
Or add it by hand in Settings → Developer → Edit config (claude_desktop_config.json):
{
"mcpServers": {
"lpc": { "command": "uvx", "args": ["lpc-character-mcp"] }
}
}Codex (OpenAI)
codex mcp add lpc -- uvx lpc-character-mcpOr edit ~/.codex/config.toml (on Windows, %USERPROFILE%\.codex\config.toml):
[mcp_servers.lpc]
command = "uvx"
args = ["lpc-character-mcp"]
startup_timeout_sec = 60Check with codex mcp list. The same file is used by the Codex VS Code extension.
Antigravity (Google)
In the agent panel click … → MCP Servers → Manage MCP Servers →
View raw config and add to mcp_config.json (~/.gemini/config/mcp_config.json;
on Windows, %USERPROFILE%\.gemini\config\mcp_config.json):
{
"mcpServers": {
"lpc": { "command": "uvx", "args": ["lpc-character-mcp"] }
}
}Save and click Refresh on the MCP Servers page. In the Antigravity CLI, use /mcp.
Directories
Listed on Smithery,
Glama and the official MCP Registry
as io.github.kyuza1/lpc-character-mcp, which clients and directories that read the
registry pick up automatically.
Other MCP clients
Any client that runs stdio servers works with the same uvx lpc-character-mcp command.
Without uv (pip)
pip install lpc-character-mcp
lpc-character-mcp --setupThen register the lpc-character-mcp command (no arguments) in your assistant.
Tips
Free disk space:
lpc-character-mcp --clear-cachedeletes cached images (--clear-cache 30only those unused for 30 days).Update:
uvx lpc-character-mcp@latest --versionApp can't find
uvx: use the full path (where uvxon Windows,which uvxelsewhere).
Related MCP server: Sprixen MCP server
Example requests
"Make a tanned blacksmith with a leather apron and a hammer, export for Godot"
"Show me an animated preview of him hammering"
"Generate 10 random villagers with seed 1, with Unity files"
"Open this link and generate the character: https://liberatedpixelcup.github.io/...#sex=male&body=..."
"Which aprons have an idle animation for the male body?"
Tools
Tool | What it does |
| Builds the PNG, the credits, the animation report and (optionally) engine files |
| In-chat preview: animated GIF with the 4 directions |
| Searches items with filters; complete items first |
| Colors, variants, multi-color parts and the animations available per body |
| Lists item categories |
| Rolls a random character |
| Generates many random NPCs at once |
| Reads / builds generator site links (including old links); |
| Pulls new items and palettes from the official repository |
| Deletes cached images (or only those unused for N days) |
Example items:
[
{"id": "body/body", "color": "bronze"},
{"id": "head/heads/human/heads_human_male"},
{"id": "hair/short/hair_plain", "color": "dark_brown"},
{"id": "torso/shirts/longsleeve/torso_clothes_longsleeve", "color": "white"},
{"id": "torso/aprons/torso_aprons_overalls", "variant": "leather"},
{"id": "legs/pants/legs_cuffed", "color": "white"},
{"id": "feet/boots/feet_boots_basic", "color": "brown"},
{"id": "tools/tool_hammer", "color": ["steel", "walnut"]}
]Colors
"color": "blonde"— one color (seecolorsinget_item)."color": ["steel", "walnut"]— multi-part items (head and handle, armor and belt...). Parts are listed incolor_partsfromget_item;nullkeeps a part's default.Head, ears, nose and other skin items without a color inherit the body color.
One item per type, like the site: asking for two hairstyles keeps the last one (and says so in
warnings).
Where to save
output_dir saves straight into a folder — e.g. your game's sprites folder:
"generate the blacksmith in C:/my-game/art/npcs and export for Godot". Otherwise files go
to LPC_OUTPUT_DIR or ~/lpc-characters.
Layout and parts
layout: "standard"(default) — same as the site: 832px wide, every animation always on the same row (walk at y=512, slash at y=768...). Oversized animations go below y=3456.layout: "compact"— only the requested animations, stacked.split— also saves pieces:"animation"(one PNG per animation),"frame"(one PNG per frame in<name>_frames/<animation>/<direction>_NN.png) and/or"item"(one sheet per item, for swapping outfits in-game). Accepts a list:["animation", "frame"].
Oversized animations
Big weapons and tools (swords, spears, hammer, axe, bow...) use 128 or 192px frames. They
are added automatically when their base animation is requested (asking for slash with
the hammer also produces tool_hammer).
Complete animations
Not every LPC item has art for all 15 animations (e.g. the apron has no idle, run,
jump...). In those animations the item simply disappears. To avoid surprises:
Every result warns you.
generate_characteralways returnsanimation_check:"animation_check": { "complete": false, "incomplete_items": { "torso/aprons/torso_aprons_apron": { "missing": ["climb", "idle", "jump", "sit", "emote", "run", ...], "complete_alternatives": ["torso/aprons/torso_aprons_overalls", ...] } }, "summary": "ATENÇÃO: nem todas as animações ficaram completas: Apron não tem ..." }The preview, batches and the web demo warn too.
prefer_complete: truereplaces each incomplete item with the closest item that has every animation, keeping the color (e.g. apron → overalls). Replacements are listed inreplaced. The assistant is told to ask you first.Search puts complete items first.
search_itemslists them first, showsmissing_animationsfor the others and acceptscomplete_only: true.get_itemshows what is missing and suggestscomplete_alternatives.Random characters only use complete items.
Not counted as missing: face, nose, beard, glasses and necklaces in climb (the character
faces away), expressions in hurt, weapons/tools/shields — which by nature only appear in
their own animations (listed in equipment_only_in) — and animations the body itself
lacks (listed in body_missing).
Licenses (Steam, App Store)
LPC art comes under several licenses. For stores with DRM (Steam, App Store...) only
CC0 and OGA-BY art is safe. Pass licenses: ["CC0", "OGA-BY"] to search_items,
random_character, generate_batch or generate_character to stick to them — every art
part of the chosen body must offer one of those licenses (stricter than the site, which
accepts an item if any part does). Every result also has license_check:
"license_check": {"drm_safe": true, "share_alike_required": false, "summary": "..."}Exporting to engines
Pass export to generate_character (you can combine them). Animations play in the same
frame order as the official generator (walk skips the standing frame, idle/sit/emote hold
frames...), and the site's extra animations are included: 1h_slash (one-handed slash) and
watering (with the watering can). zip: true packs everything into <name>.zip.
| Files | How to use |
|
| Generate with |
|
| Generate with |
|
| TexturePacker-style (hash) atlas with |
|
| Paste it into the generator site's Import from Clipboard (JSON) button to keep editing there. |
Art credits
Every generation writes <name>_credits.txt and <name>_credits.csv with authors,
licenses and links for only the art that was used, plus a ready-to-paste text for your
game's credits screen (credits.statement). The sprites are LPC art
(CC-BY-SA 3.0, OGA-BY 3.0, GPL 3.0 and others) — if you ship a game, include these credits.
Limitations
Some types have no complete version at all (capes, backpacks, dresses, skirts). With
prefer_completethey stay as they are andanimation_checksays so.The LPC muscular, child and pregnant bodies lack some animations (e.g. muscular has no
shootorclimb);animation_checkreports them inbody_missing.Godot 3 is not supported (Godot 4 only). Unity was tested on Unity 6.
Runs locally (stdio); it does not work with clients that only accept remote servers.
Development
git clone https://github.com/kyuza1/lpc-character-mcp.git
cd lpc-character-mcp
pip install -e ".[dev]"
python -m pytest -qFrom a clone, definitions, cache and output live inside the clone (lpc/, cache/,
output/). Tests run on GitHub Actions on Linux, Windows and macOS on every push and
every Monday (to catch changes in the official LPC repository). Releases are published to
PyPI automatically when a GitHub release is created. See CHANGELOG.md.
License
Code under MIT. The downloaded art belongs to the LPC artists and follows their licenses (see the generated credits files).
Available Tools
11 toolsclear_cacheA
Deletes cached images (they are downloaded again when needed). older_than_days: only delete images unused for more than N days (0 = all). dry_run: only report how much would be freed, without deleting.
Inputs: dry_run, older_than_days.
from_site_urlA
Reads a link from the LPC generator site (e.g. ...Character-Generator/#sex=male&body=Body_Color_light&...)
and returns {body_type, items} ready for generate_character (old links work too). Also
accepts the JSON from the site's "Export to Clipboard (JSON)" button.
Unrecognized parameters are listed in unresolved.
Inputs: url (required).
generate_batchB
Generates many random characters at once (e.g. villagers for a town). Saves _01.png, _02.png... and the credits for each. body_types: bodies to pick from (default: male and female). fixed_items: items everyone gets (e.g. [{"id": "tools/tool_hammer"}]).
Inputs: seed, count, split, export, +7 more.
generate_characterA
Builds the character spritesheet and saves it as PNG.
Every result has animation_check: whether every item has every animation and, if not,
what is missing plus complete alternatives. TELL the user when complete=false.
prefer_complete=True swaps incomplete items for the closest item with every animation
(keeping the color when possible) and lists the swaps in replaced. Only use it with the
user's consent: it changes the look (e.g. apron becomes overalls).
output_dir: folder to save into (e.g. the game project's sprites folder). Inside a Godot
project the .tres gets the right res:// path; for Unity, save inside Assets/.
Default: LPC_OUTPUT_DIR or ~/lpc-characters.
items: list of {"id": "", "color": "" | ["<color 1>", "<color 2>"], "variant": ""}.
Include a body (body/body) and a head (e.g. head/heads/human/heads_human_male).
Skin items (head, ears, nose...) without a color inherit the body color.
Multi-part items (see color_parts in get_item) accept a list of colors.
body_type: male | female | muscular | pregnant | teen | child
animations: subset of walk, idle, slash, thrust, spellcast, shoot, hurt, run, jump... (default: all).
Oversized weapon/tool animations (e.g. slash_128, tool_hammer) are added automatically
when their base animation (slash, thrust...) is requested.
layout: "standard" = same layout as the site (832px wide, each animation always on the same
row; oversized animations below y=3456). It is what Godot/Unity/RPG Maker importers expect.
"compact" = only the requested animations, stacked.
split: also save pieces. True or "animation" = one PNG per animation (_anims/);
"frame" = one PNG per frame (_frames//_NN.png);
"item" = one sheet per item (_items/), for swapping outfits in-game.
Can be a list: ["animation", "frame"].
export: engine-ready files: "godot" (SpriteFrames .tres), "unity" (sliced sprites .meta,
.anim clips and an AnimatorController), "web" (JSON atlas for Phaser/PixiJS + demo page),
"site" (JSON for the generator site's "Import from Clipboard" button).
licenses: license families you accept (e.g. ["CC0", "OGA-BY"] for Steam). Items outside
them are listed in warnings. Every result has license_check (drm_safe,
share_alike_required) computed from the art actually used.
zip: also pack everything generated for this character into .zip.
Always writes _credits.txt and _credits.csv with authors and licenses of the art
used, including a ready-to-paste credits-screen statement (credits.statement).
Inputs: items (required), zip, split, export, +7 more.
get_itemC
Item details: supported bodies, animations with art per body, missing animations and complete alternatives, colors or variants, multi-color parts and oversized animations.
Inputs: item_id (required).
list_categoriesA
Lists item categories (e.g. body, hair, torso/shirts) with how many items each has.
Inputs: no named parameters.
preview_characterA
Shows the character in the chat without saving files: the 4 directions side by side. animated=True (default) returns an animated GIF of the animation; False, a still image. animation: walk, idle, slash, run..., 1h_slash, watering, or an oversized one (tool_hammer, slash_128...). Use it to check the look before generate_character.
Inputs: items (required), animated, animation, body_type.
random_characterA
Rolls a random character (skin, head, hair, clothes, shoes and sometimes a beard, hat or
vest), using only items that have every animation. Does not render: returns
{items, body_type, url} to review and pass to generate_character. fixed_items are always
added (e.g. a weapon). Use seed to repeat the same roll. licenses limits the roll to
those license families (e.g. ["CC0", "OGA-BY"]).
Inputs: seed, licenses, body_type, fixed_items.
search_itemsA
Searches items. All filters are optional and combine:
query: words in the name/id (all must match), e.g. "leather armour".
category: id prefix, e.g. 'hair', 'torso/shirts', 'weapons/sword'.
body_type: only items that exist for this body (male, female, teen...).
animation: only items with art for this animation (idle, walk, slash...) for body_type
(or male if body_type is not given).
type_name: item type (hair, clothes, legs, shoes, weapon, hat...).
complete_only: only items with every animation. Otherwise complete items come first.
licenses: only items whose every art part is available under one of these license
families (CC0, CC-BY, CC-BY-SA, OGA-BY, GPL). For DRM stores (Steam, App Store)
use ["CC0", "OGA-BY"]. Each result has drm_safe.
Each result says whether it is complete and which animations are missing (for body_type or male).
Inputs: limit, query, category, licenses, +4 more. Returns: result
to_site_urlC
Builds a generator site link with these items, to open and tweak the character in a browser.
Inputs: items (required), body_type. Returns: result
update_definitionsB
Pulls new items and palettes from the official LPC generator repository. clear_image_cache=True also deletes downloaded PNGs so they are fetched again.
Inputs: clear_image_cache.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools target clearly distinct operations (search, get, list, generate, preview, import/export URL, cache/definitions). Some overlap exists between random_character (returns items for review) and generate_batch (saves many random characters), and between preview_character and generate_character, but the descriptions do clarify the distinction.
Eight of eleven tools follow a verb_noun pattern (generate_character, search_items, etc.), but to_site_url and from_site_url use a directional preposition pattern, and random_character is adjective_noun. All are snake_case and readable, so these are minor deviations.
The 11 tools are well-scoped for a character generator, covering item discovery, randomization, single/batch generation, preview, URL conversion, and maintenance. Each tool earns its place without redundancy.
The core lifecycle is covered: discover items (search/list/get), randomize, preview, generate single and batch, import/export URLs, and manage cache/definitions. Minor gaps include no dedicated tool to list all body types or animations, though agents can infer these from descriptions or use search filters.
Maintenance
Related MCP Connectors
Generate, search and export game-ready sprite sheets for Godot, Unity and other game engines.
Create indexed pixel sprites and animations. Export to Godot, Unity, Phaser, and Aseprite.
Generate sprites, animations, tilesets, 3D models, VFX and game audio, and export them.
Create AI animations and export transparent sprite sheets, alpha video, frames, and game assets.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables generating game assets from natural language prompts, including sprite sheets, animations, voiceover, sound effects, chiptune music, tilesets, backgrounds, VFX, and cohesive asset packs with shared style and audio DSP presets.-

Sprixen MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to create style-locked game projects and generate sprites, animations, tiles, maps, music, 3D models, and VFX, then export engine-ready packages for Godot, Phaser, Unity, GameMaker, or RPG Maker MZ.MIT- AlicenseBqualityCmaintenanceEnables users to automate the creation, editing, animation, and export of pixel-art game assets through a multi-agent pipeline that derives style specs and blueprints, generates Lua build scripts, and drives the canvas editor to produce .aseprite files, spritesheets, atlases, GIFs, and previews.123MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to compose and render game-ready Universal LPC character spritesheets headlessly, supporting item selection, palette recoloring, standard animations, and automatic attribution files.30 npm3GPL 3.0