pixel-art-topdown-lessons
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.
2D Pixel Art Asset & Animation RAG + MCP (pixel-art-topdown-lessons)
Offline-ready Hybrid RAG (SQLite FTS5 BM25 + ChromaDB ONNXMiniLM_L6_V2 + cross-encoder/ms-marco-MiniLM-L-6-v2 Reranker + Reciprocal Rank Fusion) and stdio JSON-RPC 2.0 MCP documentation server synthesizing 2D Top-Down & Front-View (48–64px) Pixel Art asset creation, anime/chibi eyes & hair coordinate recipes, copy-paste hex color ramps, code-drawn mask algebra, tilesets/autotiling (Wang-16, Blob-47, Dual-Grid), animation cycles, combat smears, pixel VFX, UI/icons, and Aseprite-to-engine export pipelines.
Repository Layout
docs/— 14 curated practitioner guides (00_through13_, including 48–64px Front-View Anime/Chibi & Equipment in11_, Copy-Paste Hex Palettes in12_, Code-Drawn Mask Algebra in13_, 40-item Pitfall & QA Gate in09_, and Courses Compendium in10_).assets/references/— 6 labeled visual pixel-art reference PNGs generated bygenerate_references.py(3x3/5x5anime eyes,64x64chibi coordinates, hair & equipment, hex swatches, mask shading vs pillow shading, 3/4 top-down & Dual-Grid).AGENTS.md— System instruction rules directing AI agents to querypixel-art-topdown-lessonsbefore creating or exporting 2D pixel art.fetch_sources.py— Reproducible downloader pulling YouTube transcripts/chapters (yt-dlp), free web guides (Slynyrd,FinalBossBlues,Saint11,Wang/Blob), and companion GitHub scripts into gitignoredraw_sources/.ingest.py— Buildsdata/lessons.sqlite3(FTS5 + structuredpitfalls+ pre-extractedsummary/actionable_jsonper meaning-chunk) anddata/chroma/(pixel_art_topdown_lessons), and warms up the local cross-encoder cache.pixel_rag.py— Standalone CLI + bilingual (Vietnamese/English) Hybrid RAG + Cross-Encoder Reranker + Automated PNG QA + stdio JSON-RPC 2.0 MCP server (5read-only tools).eval_queries.json&eval_rag.py— Continuous 40-query evaluation suite trackingRecall@1,Recall@3,Recall@5, andMRR.smoke_test.py— End-to-end verification suite (CLI stats, safe query expansion, empty-arg & error handling, PNG QA, and strict stdio MCP protocol validation).
Related MCP server: Aseprite MCP Server
Curated Knowledge Base (docs/)
File |
| Coverage |
|
| 10-stage pipeline, integer resolutions ( |
|
| Clean lines, jaggies/doubles removal, pixel clusters, banning pillow shading & banding, manual AA & sel-out |
|
| Hue-shifted ramps, grayscale value validation, ramp bridging, figure-ground contrast |
|
| 3/4 oblique projection, chibi proportions, silhouette clarity, 3/4/5/8-direction turnarounds, contact shadows & feet pivot |
|
| Seamless 3x3 tiling, Wang-16, Blob-47 bitmask folding, Dual-Grid 15-tile offset, cliff elevation & water shores |
|
| Modular leaf-cluster trees, wood/stone/metal/glass materials, top-down props, exteriors & interior room caps |
|
| 12 principles, sub-pixel animation, 4f idle, 4f/6f/8f walk/run ( |
|
| 5-phase weapon attacks ( |
|
| 9-slice UI, 16x16/24x24 icons, pixel fonts, Aseprite CLI/Lua automation, 1px tile extrusion, Unity/Godot/Phaser import |
|
| 40-item bug matrix (including AI code-gen/image-gen pitfalls) + 10-Point Pre-Delivery QA Gate |
|
| Complete indexed map of free YouTube playlists, flagship tutorials, web blogs & GitHub repos |
|
| 48–64px front-view anime/chibi Y-budgets, |
|
| Copy-paste hex ramps (Skin, Hair, Steel, Gold, Leather, Capes, Ground) + Endesga 32, DawnBringer 32, PICO-8 |
|
| Layer masks, |
Quick Setup & Verification
# 1. Install dependencies (Python >= 3.10)
pip install -r requirements.txt
# 2. (Optional) Generate reference PNG sheets & fetch upstream sources
python generate_references.py
python fetch_sources.py all
# 3. Build local SQLite FTS5 + Chroma vector index + cache Cross-Encoder
python ingest.py
# 4. Query via CLI (English or Vietnamese; defaults to curated tier)
python pixel_rag.py search "vẽ mắt anime ở 64px"
python pixel_rag.py pitfalls
python pixel_rag.py qa --asset-type character --image assets/references/ref_chibi_64px_proportions.png
python pixel_rag.py review-logs
# 5. Verify RAG + MCP protocol + Recall@5 benchmark
python smoke_test.py
python eval_rag.pyExposed MCP Tools (pixel-art-topdown-lessons)
search_pixel_lessons(query, topic=None, tier="curated", limit=6)— Returnssummary,actionable(rules,numbers,hex_colors,code_or_coords),reference_images, andsnippet.read_pixel_lesson(doc_id, section=None, offset=0, limit=16000)get_pixel_pitfalls(symptom_or_topic="", category=None, limit=8)— Works with or without arguments.get_qa_checklist(asset_type="all", image_path=None, max_colors=32)— Executable QA checklist + automated Pillow/NumPy pixel check whenimage_pathis provided.list_pixel_topics_and_courses(tier="curated")
Security & Privacy
Runs 100% offline at query time (
HF_HUB_OFFLINE=1,?mode=roSQLite, telemetry disabled) — see SECURITY.md.Query telemetry (
data/query_log.jsonl) is strictly local, append-only, and inspectable viapython pixel_rag.py review-logs(setPIXEL_RAG_DISABLE_LOG=1to disable).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Generate, edit, style-match, turn, and animate game-ready pixel art at exact sizes.
Generate sprites, animations, tilesets, 3D models, VFX and game audio, and export them.
Create indexed pixel sprites and animations. Export to Godot, Unity, Phaser, and Aseprite.
Search, generate, refine, and export pixel art VFX for games, including sprite sheets and Godot 4.
Related MCP Servers
- AlicenseCqualityCmaintenanceProvides AI agents with tools to manage and enforce consistent pixel-art style for 2D RPG games, including style definitions, asset registry, art memory, QA checks, provider execution, and versioning.126ISC
- 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
- AlicenseAqualityBmaintenanceEnables agents to author, validate, inspect, patch, and render editable JSON pixel-art and animation recipes through local tools, producing PNG contact sheets, APNGs, sprite atlases, and related export bundles.281,642 npm152MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to control Aseprite for pixel-art drawing, animation, critique, auto-shading, perceptual palettes, and game-ready export through 156 tools. Includes quality checks and iteration features that help produce more polished sprites and animations.1563MIT