
willibrandon/pixel-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
willibrandon/pixel-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/willibrandon/pixel-mcp.
Обзор
willibrandon/pixel-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/willibrandon/pixel-mcp.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который открывает возможности пиксельного арта и анимации Aseprite для AI-ассистентов, позволяя создавать и редактировать спрайты с использованием естественного языка.
Пример сцены, созданной с использованием pixel-mcp: 64x64 индексированный спрайт с пользовательской 16-цветной палитрой, демонстрирующий рисование примитивов (прямоугольники, круги) и управление палитрами.
Особенности
- Управление Canvas и слоями: RGB, Gray и Indexed цветовые режимы с поддержкой многослойного использования и удалением слоёв
- Рисование примитивов: Пиксели, линии, прямоугольники, круги, полилинии, заполнение с пакетными операциями и рисование с учётом палитры
- Инструменты выбора: Прямоугольник, эллипс, выбор всего, копирование, вырезка, вставка, перемещение выборок с несколькими режимами смешивания (замена/добавление/вычитание/пересечение)
- Профессиональные инструменты пиксельного арта:
- Референсный анализ: Извлекать палитры, карты яркости, определять края и направлять по композиции из изображений
- Квантование цвета: Уменьшить количество изображений до 2-256 цветов с помощью алгоритмов median_cut, k-средних или октри с опциональной дизерингом Флойда-Штейнберга
- Автоматическое затенение: Применяйте геометрическое затенение с тремя стилями (ячейка/гладкая/мягкая), 8 направлениями света и регулируемая интенсивность
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Aseprite MCP Server
A Model Context Protocol (MCP) server that exposes Aseprite’s pixel art and animation capabilities to AI assistants, enabling you to create and edit sprites using natural language.
Example scene created using pixel-mcp: 64x64 indexed sprite with custom 16-color palette, demonstrating drawing primitives (rectangles, circles) and palette management.
Features
- Canvas & Layer Management: RGB, Grayscale, and Indexed color modes with multi-layer support and layer deletion
- Drawing Primitives: Pixels, lines, rectangles, circles, polylines, flood fill with batch operations and palette-aware drawing
- Selection Tools: Rectangle, ellipse, select all, copy, cut, paste, move selections with multiple blend modes (replace/add/subtract/intersect)
- Professional Pixel Art Tools:
- Reference Analysis: Extract palettes, brightness maps, edge detection, and composition guides from images
- Color Quantization: Reduce images to 2-256 colors using median_cut, k-means, or octree algorithms with optional Floyd-Steinberg dithering
- Automatic Shading: Apply geometry-based shading with 3 styles (cell/smooth/soft), 8 light directions, and adjustable intensity
- Dithering: 16 patterns including Bayer matrices (2x2, 4x4, 8x8), Floyd-Steinberg, checkerboard, and textures (grass, water, stone, cloud, brick, dots, diagonal, cross, noise, lines)
- Palette Management: Set custom palettes (1-256 colors), sort by hue/luminance, analyze color harmonies (complementary/triadic/analogous), and extract from reference images
- Shading Tools: Apply palette-constrained shading with smooth, hard, or pillow styles and 8 light directions
- Antialiasing: Detect jagged diagonal edges and suggest intermediate colors for smoother curves (manual or auto-apply)
- Transform Operations: Flip, rotate, scale, crop, resize canvas, apply outlines, and downsample for pixel art conversion
- Palette-Aware Drawing: All drawing tools support snapping to nearest palette color using LAB color space
- Animation Tools: Frame durations, tags, frame duplication/deletion, linked cels
- Inspection Tools: Read pixel data with pagination for verification and analysis
- Export Formats: PNG, GIF, JPG, BMP, and spritesheet export (horizontal/vertical/grid layouts)
- Cross-platform: Windows, macOS, Linux
- MCP Integration: Works with Claude Desktop and other MCP clients
Requirements
- Go 1.23+
- Aseprite 1.3.0+ (1.3.10+ recommended)
Quick Start
1. Install
# Clone the repository
git clone https://github.com/willibrandon/pixel-mcp.git
cd pixel-mcp
# Build the server
make build
2. Configure
Create ~/.config/pixel-mcp/config.json:
{
"aseprite_path": "/path/to/aseprite",
"temp_dir": "/tmp/pixel-mcp",
"timeout": 30,
"log_level": "info",
"log_file": "",
"enable_timing": false
}
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"aseprite": {
"command": "/absolute/path/to/pixel-mcp"
}
}
}