diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e9ff537 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# The MCP server wrapper must keep LF line endings: with core.autocrlf on +# Windows checkouts it would otherwise be rewritten to CRLF, which breaks +# bash execution of the script (Git Bash reads the shebang line with \r). +bin/pixel-mcp text eol=lf +*.sh text eol=lf + +# Platform binaries must never be touched by line-ending conversion +bin/pixel-mcp-* binary +bin/pixel-mcp.exe binary diff --git a/.mcp.json b/.mcp.json index 7c3b5e6..5513778 100644 --- a/.mcp.json +++ b/.mcp.json @@ -3,9 +3,6 @@ "aseprite": { "command": "${CLAUDE_PLUGIN_ROOT}/bin/pixel-mcp", "args": [], - "env": { - "PIXEL_MCP_CONFIG": "${HOME}/.config/pixel-mcp/config.json" - }, "disabled": false, "alwaysAllow": [], "description": "Pixel MCP Server - Provides pixel art creation, animation, and export capabilities" diff --git a/bin/pixel-mcp.exe b/bin/pixel-mcp.exe new file mode 100755 index 0000000..2276bf0 Binary files /dev/null and b/bin/pixel-mcp.exe differ diff --git a/skills/pixel-art-animator/SKILL.md b/skills/pixel-art-animator/SKILL.md index ae06cf3..5afa015 100644 --- a/skills/pixel-art-animator/SKILL.md +++ b/skills/pixel-art-animator/SKILL.md @@ -1,5 +1,5 @@ --- -name: Pixel Art Animator +name: pixel-art-animator description: Create and manage sprite animations with multiple frames, animation tags, frame durations, and linked cels. Use when the user wants to animate a sprite, add animation, create movement, make it move, mentions "animation", "animated", "frames", "keyframes", "frame rate", "FPS", "timing", "duration", "walk cycle", "run cycle", "idle animation", "attack animation", "jump", "movement", "motion", or describes actions like "walking", "running", "jumping", "attacking", "breathing", "bobbing", "bouncing". Trigger on animation tags, loops, playback, sequences, "add frames", "duplicate frame", "frame timing", "ping-pong", "loop", "sequence". Also for linked cels, static backgrounds, and frame optimization. allowed-tools: Read, Bash, mcp__aseprite__add_frame, mcp__aseprite__delete_frame, mcp__aseprite__duplicate_frame, mcp__aseprite__set_frame_duration, mcp__aseprite__create_tag, mcp__aseprite__delete_tag, mcp__aseprite__link_cel, mcp__aseprite__get_sprite_info, mcp__aseprite__draw_pixels, mcp__aseprite__draw_line, mcp__aseprite__draw_rectangle, mcp__aseprite__draw_circle --- diff --git a/skills/pixel-art-creator/SKILL.md b/skills/pixel-art-creator/SKILL.md index 2f6d1e7..c63e368 100644 --- a/skills/pixel-art-creator/SKILL.md +++ b/skills/pixel-art-creator/SKILL.md @@ -1,5 +1,5 @@ --- -name: Pixel Art Creator +name: pixel-art-creator description: Create new pixel art sprites from scratch with canvas creation, layer management, and basic drawing primitives. Use when the user wants to create a sprite, draw pixel art, make a new canvas, start a new image, begin a new project, or mentions pixel dimensions like "64x64", "32x32 sprite", "128 by 128", "16 pixel icon". Trigger on: "create", "new", "make", "draw", "sprite", "canvas", "image", "icon", "tile", "character", "background", dimensions (WxH), "from scratch", "blank canvas", "empty sprite", "Game Boy", "NES", "retro", color mode mentions ("RGB", "indexed", "grayscale"). Also use for drawing basic shapes like "circle", "rectangle", "line", "pixel", "fill", "outline". allowed-tools: Read, Bash, mcp__aseprite__create_canvas, mcp__aseprite__add_layer, mcp__aseprite__delete_layer, mcp__aseprite__get_sprite_info, mcp__aseprite__draw_pixels, mcp__aseprite__draw_line, mcp__aseprite__draw_rectangle, mcp__aseprite__draw_circle, mcp__aseprite__draw_contour, mcp__aseprite__fill_area, mcp__aseprite__set_palette, mcp__aseprite__get_palette --- diff --git a/skills/pixel-art-exporter/SKILL.md b/skills/pixel-art-exporter/SKILL.md index 329698d..0411f21 100644 --- a/skills/pixel-art-exporter/SKILL.md +++ b/skills/pixel-art-exporter/SKILL.md @@ -1,5 +1,5 @@ --- -name: Pixel Art Exporter +name: pixel-art-exporter description: Export sprites to PNG, GIF, or spritesheet formats with JSON metadata for game engines. Use when the user wants to "export", "save", "output", "render", "generate", "create file", mentions file formats like "PNG", "GIF", "animated GIF", "spritesheet", "sprite sheet", "texture atlas", "tile sheet", or game engine integration with "Unity", "Godot", "Phaser", "Unreal", "GameMaker". Trigger on layout terms ("horizontal", "vertical", "grid", "packed", "strip"), scaling ("2x", "4x", "upscale", "pixel-perfect"), file operations ("save as", "export to", "output to"), metadata formats ("JSON", "XML", "metadata", "atlas data"), and delivery terms ("for web", "for game", "for Twitter", "for itch.io", "optimized"). allowed-tools: Read, Bash, mcp__aseprite__export_png, mcp__aseprite__export_gif, mcp__aseprite__export_spritesheet, mcp__aseprite__get_sprite_info --- diff --git a/skills/pixel-art-professional/SKILL.md b/skills/pixel-art-professional/SKILL.md index f76ae65..b8dab1f 100644 --- a/skills/pixel-art-professional/SKILL.md +++ b/skills/pixel-art-professional/SKILL.md @@ -1,5 +1,5 @@ --- -name: Pixel Art Professional +name: pixel-art-professional description: Apply advanced pixel art techniques including dithering, palette optimization, shading, antialiasing, and color theory. Use when the user mentions "dithering", "dither", "Bayer", "Floyd-Steinberg", "palette", "colors", "reduce colors", "optimize palette", "color limit", "shading", "shadows", "highlights", "lighting", "light source", "antialiasing", "smooth", "smoothing", "anti-alias", "AA", "color ramp", "gradient", "hue shifting", "saturation", "value", "contrast", or wants to "refine", "polish", "improve", "enhance", "make better", "add depth", "add dimension" to existing pixel art. Trigger on retro palette names (NES, Game Boy, C64, PICO-8), texture terms ("metal", "fabric", "stone", "wood"), and visual quality terms ("professional", "clean", "smooth", "vibrant"). allowed-tools: Read, Bash, mcp__aseprite__get_sprite_info, mcp__aseprite__draw_pixels, mcp__aseprite__set_palette, mcp__aseprite__get_palette, mcp__aseprite__quantize_palette, mcp__aseprite__apply_auto_shading, mcp__aseprite__draw_with_dither, mcp__aseprite__add_layer, mcp__aseprite__flatten_layers ---