Pixel Art Mcp

io.github.comficker由 GitHub 账号 comficker 发布v0.1.2更新于 Nov 3, 2026

将图像转换为像素艺术,提取并重映射调色板,并无模糊地放大精灵图。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Turn images into pixel art, extract and remap palettes, and upscale sprites without blur.

已验证Streamable HTTP可网页运行文件与存储媒体与设计

概览

Pixel Art 的托管 MCP 服务(mcp.simplepixelart.com);无需登录;Streamable HTTP;5 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
mcp.simplepixelart.com
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Pixel Art Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.comficker%2Fpixel-art-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "pixel-art": {
      "type": "http",
      "url": "https://mcp.simplepixelart.com/mcp"
    }
  }
}

README

simplepixelart-mcp

An MCP server that gives AI assistants (Claude, Cursor, Windsurf, VS Code…) real pixel art tools: turn any image into pixel art, extract a palette, recolour sprites to PICO-8 or Game Boy colours, and upscale without blur.

Runs locally, works on PNG and JPEG files or image URLs, no API keys, no native dependencies.

Tools

ToolWhat it does
pixelate_imageImage → pixel art. Shrinks to a pixel grid (e.g. 64 px wide), reduces to N colours with median cut or maps to a named palette, saves a PNG (optionally upscaled for preview).
extract_palettePulls the main colours out of an image and returns hex codes plus a GIMP / Aseprite .gpl palette.
remap_paletteRecolours existing pixel art so every pixel uses a palette colour — PICO-8, Sweetie 16, ENDESGA 32, Game Boy, 1-bit or your own hex list.
upscale_pixel_artNearest-neighbour upscale by a whole number, so pixels stay sharp.
list_palettesLists the built-in palettes.

Install

Add it to your MCP client config. For Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most other clients:

json
{  "mcpServers": {    "pixel-art": {      "command": "npx",      "args": ["-y", "simplepixelart-mcp"]    }  }}

Claude Code:

bash
claude mcp add pixel-art -- npx -y simplepixelart-mcp

Requires Node.js 18 or newer.

Hosted (no install)

A remote endpoint runs at https://mcp.simplepixelart.com/mcp (Streamable HTTP, no auth). Images go in as a public URL or base64 and come back as PNG. Limits: 4 MB / 2048x2048 input, 1024 px output, 20 requests a minute.

bash
claude mcp add --transport http pixel-art https://mcp.simplepixelart.com/mcp
json
{  "mcpServers": {    "pixel-art": { "url": "https://mcp.simplepixelart.com/mcp" }  }}

To run the HTTP server yourself: npm run start:http (listens on 127.0.0.1:4020, set PORT / HOST to change).

Examples

Ask your assistant things like:

  • "Turn ~/photos/cat.jpg into 48 px wide pixel art with the PICO-8 palette, and save an 8x preview."
  • "Extract a 6-colour palette from this screenshot and give me the .gpl file."
  • "Recolour every sprite in assets/ to the Game Boy palette."
  • "Upscale hero.png 10x for the store page."

Use it as a library

js
import { loadImage, pixelate, saveImage } from 'simplepixelart-mcp/src/pixel.js'
const img = await loadImage('photo.jpg')const { display, palette } = pixelate(img, { width: 64, palette: 'sweetie-16', scale: 8 })await saveImage(display, 'photo-pixel.png')

Want to edit the result?

The tools get you a clean starting grid; the fun part is fixing it by hand. Open the PNG in SimplePixelArt, a free online pixel art editor with layers, animation and tileset tools, or try its in-browser pixel art converter for live adjustments. No account needed.

Development

bash
npm installnpm test        # starts the server over stdio and calls every tool

License

MIT © Comficker

来源:README.md,提交 6363e48

工具

5

pixelate_image

Image to pixel art

Turn a photo or illustration into pixel art: shrink it to a pixel grid and reduce it to a few colours (or a named palette). Returns the PNG.

输入参数scalewidthcolorspaletteimage_urlimage_base64

extract_palette

Extract palette

Pull the main colours out of an image (median cut). Returns hex codes plus a GIMP/Aseprite .gpl palette.

输入参数colorsimage_urlimage_base64

remap_palette

Recolour to a palette

Recolour an existing pixel art image so every pixel uses a colour from the given palette (e.g. PICO-8 or Game Boy). Size is kept. Returns the PNG.

输入参数palette必填image_urlimage_base64

upscale_pixel_art

Upscale without blur

Scale pixel art up by a whole number with nearest neighbour, so pixels stay sharp. Output is capped at 1024 px.

输入参数scaleimage_urlimage_base64

list_palettes

List built-in palettes

List the built-in pixel art palettes and their colours.

无需输入参数。

版本历史

2
  1. v0.1.2最新Nov 3, 2026
  2. v0.1.1Nov 1, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分