pixel-art-mcp
Turn images into pixel art, extract and remap palettes, and upscale sprites without blur.
我該用這個嗎
品質與安全性
發現項目(3)
- LOW在 pixelate_image 中
- LOW在 remap_palette 中
- LOW在 upscale_pixel_art 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"pixel-art-mcp": {
"command": "npx",
"args": [
"simplepixelart-mcp"
]
}
}
}可執行的套件
0.1.1stdio遠端端點
https://mcp.simplepixelart.com/mcpstreamable-http它能做什麼
工具清單
工具(5)
⚪pixelate_image(image_url, image_base64, width, colors, palette, ...)
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.
輸入結構描述
{
"type": "object",
"properties": {
"image_url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of a PNG or JPEG (max 4 MB, 2048x2048)"
},
"image_base64": {
"type": "string",
"description": "PNG or JPEG as base64 (or a data: URL), if there is no public URL"
},
"width": {
"type": "integer",
"minimum": 4,
"maximum": 256,
"default": 64,
"description": "Width of the pixel grid in pixels (height keeps the aspect ratio)"
},
"colors": {
"type": "integer",
"minimum": 2,
"maximum": 64,
"default": 16,
"description": "Number of colours when no palette is given"
},
"palette": {
"type": "string",
"description": "Palette name (pico-8, sweetie-16, endesga-32, game-boy, 1-bit) or hex colours like \"#1a1c2c,#5d275d\""
},
"scale": {
"type": "integer",
"minimum": 1,
"maximum": 32,
"default": 8,
"description": "Nearest-neighbour upscale of the returned PNG, capped at 1024 px"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢extract_palette(image_url, image_base64, colors)
Pull the main colours out of an image (median cut). Returns hex codes plus a GIMP/Aseprite .gpl palette.
輸入結構描述
{
"type": "object",
"properties": {
"image_url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of a PNG or JPEG (max 4 MB, 2048x2048)"
},
"image_base64": {
"type": "string",
"description": "PNG or JPEG as base64 (or a data: URL), if there is no public URL"
},
"colors": {
"type": "integer",
"minimum": 2,
"maximum": 64,
"default": 8,
"description": "How many colours to extract"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪remap_palette(image_url, image_base64, 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.
輸入結構描述
{
"type": "object",
"properties": {
"image_url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of a PNG or JPEG (max 4 MB, 2048x2048)"
},
"image_base64": {
"type": "string",
"description": "PNG or JPEG as base64 (or a data: URL), if there is no public URL"
},
"palette": {
"type": "string",
"description": "Palette name (pico-8, sweetie-16, endesga-32, game-boy, 1-bit) or hex colours like \"#1a1c2c,#5d275d\""
}
},
"required": [
"palette"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪upscale_pixel_art(image_url, image_base64, scale)
Scale pixel art up by a whole number with nearest neighbour, so pixels stay sharp. Output is capped at 1024 px.
輸入結構描述
{
"type": "object",
"properties": {
"image_url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of a PNG or JPEG (max 4 MB, 2048x2048)"
},
"image_base64": {
"type": "string",
"description": "PNG or JPEG as base64 (or a data: URL), if there is no public URL"
},
"scale": {
"type": "integer",
"minimum": 2,
"maximum": 64,
"default": 8
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_palettes
List the built-in pixel art palettes and their colours.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據