WP

willibrandon/pixel-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

162 stars 29 forks 品質 60 トレンド 0MIT

Willibrandon/Pixel-MCPは、https://github.com/willibrandon/pixel-mcp.からインポートされたMCPサーバー候補です。

概要

Willibrandon/Pixel-MCPは、https://github.com/willibrandon/pixel-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

モデルコンテキストプロトコル(MCP)サーバーで、Asepriteのピクセルアートやアニメーション機能をAIアシスタントに提供し、自然言語を使ってスプライトを作成・編集できるようにします。

pixel-mcpで作成された例:64x64インデックススプライトとカスタム16色パレット、描画プリミティブ(長方形、円)とパレット管理のデモンストレーション。

特徴

  • キャンバス&レイヤー管理: RGB、グレースケール、インデックスカラーモード、マルチレイヤー対応とレイヤー削除対応
  • 描画プリミティブ: ピクセル、線、長方形、円、ポリライン、バッチ操作によるフラッドフィル、パレット認識型描画
  • 選択ツール: 長方形、楕円、全選択、コピー、カット、ペースト、複数のブレンドモード(置換/追加/減算/交差)で選択を移動
  • プロフェッショナルなピクセルアートツール:
  • 参照解析: 画像からパレット、明るさマップ、エッジ検出、構図ガイドを抽出します
  • **色量子化:★ オプションのフロイド・スタインバーグ・ディザリングを用いて、median_cut、k-mean、またはオクトリーアルゴリズムを用いて画像を2〜256色に減らす
  • 自動シェーディング: 3つのスタイル(セル/スムース/ソフト)、8方向の光、強度調整可能なジオメトリベースのシェーディングを適用

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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
}
GitHub で README 全文を見る

インストール

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" } } }