SkinForge MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
SkinForge MCP π¨π¨ (v2.0.0)
AI-First Model Context Protocol (MCP) Server, Procedural Hue-Shifted Pixel-Art Engine, Semantic Region Painter, Multimodal Self-Critique Loop, Portable RAG Packer & Real-Time SSE 3D WebGL Studio for Minecraft Skins.
SkinForge is built specifically so autonomous AI/LLM coding agents (Claude, Gemini, GPT-4o, Cursor, Windsurf, Kilo Code) and human pixel artists can design, shade, edit, inspect, audit, and visually verify top-tier Minecraft 64Γ64 skins (Classic 4px Steve & Slim 3px Alex, plus automatic 64Γ32 legacy conversion) in minimal tool round-trips.
π What's New in v2.0.0 (AI-First Architecture & Pixel-Art Craftsmanship)
1. Modular MCP Architecture (skinforge/mcp/)
The 2,125-line monolithic mcp_server.py has been decomposed into a clean, domain-driven package while preserving 100% backward compatibility:
skinforge/mcp/protocol.pyβ UnifiedMCPServer(officialmcpSDK + zero-dependency JSON-RPC 2.0 stdio fallback) + fuzzy"Did you mean...?"error suggestions (difflib) for mistyped UV part names and tool names.skinforge/mcp/schemas.pyβ Strict Pydantic v2 validation schemas.skinforge/mcp/tools_session.py,tools_editing.py,tools_design.py,tools_audit.py,tools_rag.py,resources.py.
2. Procedural Hue-Shifted Auto-Shading Engine (skinforge/shading.py β skin_auto_shade)
Solves the #1 LLM skin-authoring flaw (flat, plastic solid colors):
6 lighting & material styles:
directional,ambient_occlusion,cylindrical,fabric_folds,hair_strands, andmetallic.Real HSV/temperature hue-shifting (cooler/richer shadows toward blue-violet, warmer highlights toward yellow-gold) + optional ordered Bayer 2Γ2 pixel-art dithering.
Strictly ignores transparent pixels (
alpha == 0) and mathematically avoids beginner pillow-shading.
3. Semantic Multi-Face 3D Region Painter & 2D Primitives (skinforge/regions.py)
skin_paint_region: Paint entire 3D cuboids (head,hat,hair_cap,torso,jacket,arms,sleeves,legs,pants,shoes,hands) with 360Β° wrap-around patterns (solid,vertical_gradient,horizontal_stripes,vertical_stripes,checker,cuff,belt,collar) in 1 call instead of 6β12.skin_draw_primitive: Crisp Bresenhamline, 1pxoutline, 4-connectedflood_fill, 2-colordither_rect, and instant horizontal face symmetry (mirror_x).
4. Closed-Loop Multimodal Critic & Blueprint Inspector (skin_critic, skin_inspect_blueprint)
skin_critic: In 1 call, renders a 3D turnaround image (ImageContent) AND outputs quantitative craftsmanship metrics + exact copy-pasteable MCP tool recipes (skin_auto_fix,skin_auto_shade,skin_align_seams,skin_denoise_palette) to reachtop_tier(>= 0.85).skin_inspect_blueprint: Replaces 6β8 separate inspection calls with a single token-efficient JSON overview (model, Golden Rules, 6 metrics, top colors, active Layer 2 parts, seam count, fix recipes, optional region ASCII).
5. Expanded Outfits, Presets, Smart Harmonies & Turbo Batching
skin_generate_palette: Generates complete character palettes + hue-shifted ASCII dicts from a single seed color (analogous,complementary,split_complementary,triadic,monochromatic,cyberpunk), plus 2 new curated palettes (CYBER_NINJA,COZY_PASTEL).7 Full-Body Outfits (
skin_apply_outfit, Slim 3px & Classic 4px aware):techwear_hoodie,cargo_streetwear,casual_tshirt,fantasy_knight,cyber_ninja,formal_suit,cozy_sweater.10 Modular Presets (
skin_apply_preset):anime_eyes_2x2,hoodie_drawstrings,cargo_pocket,hair_bangs,sneakers,headphones,visor_glasses,crown,scarf,blush_and_mouth.Upgraded
skin_batch_actions: Now supports 20 action types (includingpaint_region,auto_shade,draw_primitive,set_ascii,apply_outfit,align_seams,auto_fix) plusreturn_preview=Truefor single-round-trip edit + 3D verification.
Related MCP server: mcp-minecraft-skins-editor
π§° Complete MCP Tool Catalog (63 Native Tools)
Category | Tools |
Session & History (9) |
|
AI Editing, Shading & Primitives (24) |
|
Design, Outfits & Palettes (8) |
|
Rendering, Blueprint & Critic (11) |
|
RAG & Lego Constructor (8) |
|
3D WebGL Studio (3) |
|
MCP Resources (5): skin://uv-map, skin://layer-rules, skin://palettes, skin://session-state, skin://regions-and-presets
MCP Prompts (3): create-skin, audit-and-fix-skin, restyle-skin
π Repository Layout
SkinForge-MCP/
βββ instructions.md # AI agent system instructions (synced with skinforge/instructions.md)
βββ pyproject.toml # Python packaging metadata (v2.0.0)
βββ README.md # Project overview & MCP documentation
βββ cli.py # CLI (`render`, `gif`, `inspect`, `shade`, `seams`, `convert`, `rag-pack`, `view`, `mcp`)
βββ mcp_server.py # Stdio MCP server entry point
βββ viewer.py # Interactive 3D WebGL Studio server with SSE (/api/events)
βββ skinforge/ # Modular library (v2.0.0)
β βββ __init__.py # Public exports (v2.0.0)
β βββ core/ # UV registry (72 zones), SkinCanvas, atomic PNG I/O, thread-safe SkinSession
β βββ color/ # Vectorized RGB/HSV/HSL/CIELAB spaces, curated palettes & harmony generator
β βββ audit/ # Aesthetic Engine v2 (6 metrics), 4 Golden Rules validator, 3D seam healer
β βββ mcp/ # Modular MCP server (protocol, schemas, session, editing, design, audit, rag, resources)
β βββ rag/ # Optional FTS5 BM25 + 299-dim CIELAB float16 search & portable .sfpack packer
β βββ shading.py # Procedural hue-shifted pixel-art auto-shading & Bayer 2x2 dithering (NEW)
β βββ regions.py # Semantic multi-face 3D region painter & 2D primitives (NEW)
β βββ outfits.py # 7 full-body coordinated outfit macros (Classic & Slim)
β βββ presets.py # 10 anatomical, facial & accessory presets
β βββ renderer.py # Software 3D Z-buffer rasterizer, 2D composite, turntable GIF
β βββ modular.py # Lego Constructor assembly & isolated mannequin previews
β βββ ascii_codec.py # ASCII DSL codec & color normalizer
β βββ templates.py # Solid humanoid base templates (0 holes)
β βββ typography.py # 3x5 pixel font & cyber symbol stamps
β βββ converter.py # Steve 4px <-> Alex 3px slim model converter
β βββ sampler.py # Reference image color & palette sampler
β βββ mcp_server.py # Slim backward-compatible MCP facade
βββ static/ # SkinForge Studio Three.js WebGL + SSE frontend
βββ examples/
β βββ build_syntren.py # Reference script building the Syntren skin
βββ scripts/
β βββ ingest_full_dataset.py # HuggingFace 900k dataset downloader & FTS5/CIELAB indexer
βββ tests/ # Automated unit & integration test suite
βββ test_mcp_server.py
βββ test_rag.py
βββ test_v1.py
βββ test_v2.py # v2.0.0 AI-first shading, regions, primitives, critic & harmony testsπ οΈ Quick Start
1. Installation
pip install -e .2. Connecting to an MCP Client (Claude Desktop, Cursor, Windsurf, Gemini CLI)
Add SkinForge to your .mcp.json / MCP client configuration:
{
"mcpServers": {
"skinforge": {
"command": "python3",
"args": ["/absolute/path/to/SkinForge-MCP/mcp_server.py"]
}
}
}3. CLI Usage
# Apply procedural hue-shifted auto-shading to any skin PNG
python3 cli.py shade skins/skin_syntren.png --style directional --strength 0.35 --out skins/shaded.png
# Pack a folder of .png skins or a .zip archive into a portable RAG database
python3 cli.py rag-pack ./skins --out data/skins_rag.sfpack --overwrite
# Launch SkinForge Studio (SSE 3D WebGL Viewer)
python3 cli.py view4. Running the Test Suite
PYTHONPATH=. python3 -m unittest discover -s tests -p "test_*.py" -vπ License
MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client
Generate game-ready 3D models, textures, and audio from natural language, over MCP.
Minecraft builds and skins made by your AI agent, live in your browser tab. Export .schem.
- VULKDeprecatedio.github.devjoaocastro
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to create, edit, validate, and package pixel-art textures for Minecraft resource packs through deterministic MCP tools.380 npm5MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude to create and edit Minecraft skins in real time inside the Minecraft Skins Editor, with painting tools, undo/redo, and skin downloads.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to create, validate, review, patch, save, share, and preview Minecraft textures and skins by compiling JSON specs deterministically to PNG, with review sheets, art feedback, docs, examples, and workspace-safe file operations.1478 npm1MIT
- AlicenseAqualityCmaintenanceEnables agents to build standard 64Γ64 Minecraft skins, validate technical texture properties, and generate inspection previews locally through MCP tools.4MIT