Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Create and verify pixel-art assets with atomic Aseprite edits and Phaser export.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
ASEPRITE_PATH, ASEPRITE_MCP_WORKSPACE, ASEPRITE_MCP_TOOLS, ASEPRITE_MCP_LOCK_WAIT你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"aseprite-agent": {
"command": "uvx",
"args": [
"aseprite-agent-mcp"
],
"env": {
"ASEPRITE_PATH": "your-value",
"ASEPRITE_MCP_WORKSPACE": "your-value",
"ASEPRITE_MCP_TOOLS": "your-value",
"ASEPRITE_MCP_LOCK_WAIT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add aseprite-agent --env ASEPRITE_PATH=your-value --env ASEPRITE_MCP_WORKSPACE=your-value --env ASEPRITE_MCP_TOOLS=your-value --env ASEPRITE_MCP_LOCK_WAIT=your-value -- uvx aseprite-agent-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"aseprite-agent": {
"command": "uvx",
"args": [
"aseprite-agent-mcp"
],
"env": {
"ASEPRITE_PATH": "your-value",
"ASEPRITE_MCP_WORKSPACE": "your-value",
"ASEPRITE_MCP_TOOLS": "your-value",
"ASEPRITE_MCP_LOCK_WAIT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"aseprite-agent": {
"type": "stdio",
"command": "uvx",
"args": [
"aseprite-agent-mcp"
],
"env": {
"ASEPRITE_PATH": "your-value",
"ASEPRITE_MCP_WORKSPACE": "your-value",
"ASEPRITE_MCP_TOOLS": "your-value",
"ASEPRITE_MCP_LOCK_WAIT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
ASEPRITE_MCP_WORKSPACE envASEPRITE_MCP_TOOLS envASEPRITE_MCP_LOCK_WAIT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
注册名称已通过 GitHub 账户 SarutobiSasuke8 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:ASEPRITE_PATH
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于24天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, City by Month
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read-only city climate normals, daylight and month-by-month data. Every answer cites its page.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Local-first pixel-art authoring and verified game-asset export over MCP stdio.
Status: 0.2.0 alpha. Built on aseprite-mcp by Brendan Malloy (MIT), pinned to 8caabf9ce240a040ca2c94d3d7366c9d8dd63653. The added production layer provides atomic edits with previews, strict asset contracts, verified Phaser export, tool profiles, cast tools, workspace locking and crash-safe saves. See NOTICE, LICENSE and UPSTREAM_INVENTORY.json. The inherited Python namespace remains aseprite_mcp; the package and command are aseprite-agent-mcp.
114 tools cover native documents, pixel drawing, layers, cels, frames, palettes, tags, slices, transforms, tilemaps, inspection and exports. The production path adds atomic edits with image feedback, strict typed asset contracts, labelled all-frame previews, character-cast tools and Phaser bundles verified against reopened native masters. By default the server exposes a 42-tool core profile (see Tool profiles). See the generated tool reference for exact schemas.
Install Python 3.10+, uv or pipx, and your own licensed Aseprite with Lua scripting support. You may also build Aseprite yourself under its EULA. This package only invokes your installed executable via ASEPRITE_PATH; it does not bundle Aseprite, its installer, Lua runtime or art assets.
For the published package:
uvx aseprite-agent-mcp
Set ASEPRITE_PATH before running. Example MCP client commands (replace the paths):
# Windows (PowerShell)
claude mcp add aseprite --env ASEPRITE_PATH=C:\\path\\to\\Aseprite.exe -- uvx aseprite-agent-mcp
claude mcp add aseprite --env ASEPRITE_PATH=/Applications/Aseprite.app/Contents/MacOS/aseprite -- uvx aseprite-agent-mcp
claude mcp add aseprite --env ASEPRITE_PATH=/path/to/aseprite -- uvx aseprite-agent-mcp
For clients that take JSON (including Codex MCP configuration), use this shape:
{
"mcpServers": { "aseprite": { "command": "uvx", "args": ["aseprite-agent-mcp"], "env": { "ASEPRITE_PATH": "/path/to/aseprite", "ASEPRITE_MCP_WORKSPACE": "/path/to/assets" } } } }
Grok clients that support local stdio MCP servers can use the same executable, arguments and environment fields. Client-specific configuration keys may vary.
For a source checkout and development:
uv sync --locked --group dev
$env:ASEPRITE_PATH = 'C:\path\to\aseprite.exe' $env:ASEPRITE_MCP_WORKSPACE = 'C:\path\to\assets' uv run --no-sync aseprite-agent-mcp
The command speaks MCP on stdin/stdout and waits for a client. Diagnostic logs go to stderr. Use mcp-config.example.json in a client after replacing its placeholder paths. This project does not modify client settings.
The small GIF is procedural example art, generated by uv run python scripts/generate_demo.py. It demonstrates the intended pixel-art output; it is not a screenshot of a live Aseprite session. A full Aseprite MCP round-trip proof is described under Verification.
Every tool description and schema costs the agent context, so the server exposes a profile chosen by ASEPRITE_MCP_TOOLS, a comma-separated list of names:
| Value | Exposes |
|---|---|
core (default) | 42 tools: generate/import, create, draw, animate, preview, validate, export and the cast tools |
all | Every supported tool (114) |
| a group | One tool module, e.g. tilemap, effects, slices, palette, workflow |
| a tool name | One extra tool, e.g. core,add_outline |
Unknown names stop the server at startup. The groups are listed at the top of the tool reference.
| Variable | Default | Meaning |
|---|---|---|
ASEPRITE_PATH | auto-detect | Aseprite executable |
ASEPRITE_MCP_WORKSPACE | workspace/ in the project | Root for relative paths |
ASEPRITE_MCP_TOOLS | core | Tool profile, as above |
ASEPRITE_MCP_LOCK_WAIT | 15 | Seconds a call waits for a busy workspace (0 fails at once) |
ASEPRITE_MCP_TIMEOUT | 90 | Seconds per Aseprite process |
ASEPRITE_MCP_ALLOW_ABSOLUTE | off | Allow absolute path syntax inside allowed roots |
ASEPRITE_AGENT_ALLOWED_ROOTS | [] | JSON list of extra roots |
Let an image model draw the character and key poses, then use import_generated_image to turn one PNG into a pixel grid and assemble_animation to clean and align an ordered pose list. Both tools are in the default core profile.
import_generated_image(filename="base.png", output_directory="base-clean",
width=32, height=32, colours=16) assemble_animation(filenames=["idle-1.png", "idle-2.png", "idle-3.png", "idle-4.png"], output_directory="idle-clean", width=32, height=48, tag="idle", colours=16, alignment="bounding-box", durations_ms=[180, 140, 180, 140], outline="#152b32")
method="nearest" samples a grid; "majority" chooses the most frequent RGBA value in each source cell, with deterministic ties. Majority only downsamples.width and height accept grids up to 256px per edge. For detailed sprites, use height=128, colours=32 to 48, method="majority" and palette_first=True. Palette-first mode snaps one shared source palette before voting, so near-identical generated shades count together. It is opt-in; existing calls keep their previous behaviour.palette=["#RRGGBB", ...] snaps to explicit colours. Otherwise colours builds one shared automatic palette across the animation. Alpha is binary after alpha_threshold (default 128). Transparency is excluded from the colour count; an optional 1px outline can add one colour and is clipped at the cell boundary.background="#RRGGBB" removes only border-connected matching pixels, with an optional background_tolerance. It preserves enclosed details and is a colour key, not semantic segmentation. Existing transparency needs no background key.alignment="anchor" accepts one source [x,y] per same-size input and places it at (width//2,height-2), rejecting clipping. "none" keeps each canvas. Keep pose scale and padding consistent and inspect the returned preview.Each new output directory contains master.aseprite, cleaned frame PNGs, sheet.png, sheet.json and qa.json. The native master is reopened through Aseprite's Lua API; every rendered frame, the tag range, durations and sheet pixels are checked before an atomic, no-overwrite directory publication. Source PNGs are preserved. Inputs are bounded to 4 million pixels each, 16 million total, 128 frames and 1 million output pixels.
The generated courier demo includes the original model output, a cleaned base, a 4-frame idle, editable masters and a reproducible local script. Pixel verification proves file integrity. It does not approve art quality or make a coherent animation out of inconsistent key poses.
The walk demo uses an 8-pose generation pass, 128px-high cells, a shared 48-colour palette and explicit feet anchors. It includes a looping GIF and a 64px/128px comparison from the same source and palette.
health_check proves the local CLI and Lua path can create and export.create_sprite creates an editable .aseprite master.ase_apply_and_preview applies a typed batch in one transaction and returns a rendered PNG. A failed operation leaves the file unchanged. A later preview failure explicitly reports that the edit was saved.ase_preview_animation shows every frame without smoothing.ase_validate_asset_contract checks geometry, frame count, exact tag ranges, tag playback, palette membership, binary alpha, empty frames and optional per-row foot/centre drift. Unknown fields are errors.ase_export_phaser creates a bundle directory with sheet PNG, hash atlas JSON, animation timing, loader JS, contract and QA. It reopens the master and exported PNG and compares every frame's RGBA pixels before publishing. An existing directory is rejected unless replace=true, which swaps a previous bundle by rename. The native master remains.draw_pixel_rows paints a whole frame from text rows and a colour key, e.g. rows=["..oo..", ".oxxo."], key={"o": "#203040", "x": "#f0c060"}. Unknown characters are errors; . and space are skipped.copy_cel and offset_cel batch ops (bobs and steps without redrawing) and tag each animation.derive_mirrored_tag creates walk_left from walk_right.save_sprite_as a template, then recolor_sprite it into each character, or start characters from a shared base with copy_frames_from.ase_preview_animation shows one labelled row per tag over a checkerboard.ase_export_cast_atlas validates every master against its own contract and writes one Phaser atlas: frames / _ , animations : .Edits save through a sibling temporary file and a rename, so a killed Aseprite process cannot leave a half-written master. Frame numbers must exist: an out-of-range frame is an error, never clamped to the nearest frame. All frames are 1-based. A contract row names an exact contiguous animation tag. Palette entries are inline hex colours, not arbitrary file paths. Hide reference layers before final validation/export: locked layers are still visible pixels.
{
"name": "robot", "cell": {"width": 16, "height": 16}, "rows": [ {"tag": "walk_down", "frames": 4}, {"tag": "idle", "frames": 2, "playback": "pingpong"}, {"tag": "sleep", "frames": 2, "repeat": 0, "check_anchor": false} ], "alpha": "binary", "palette": ["#315c88", "#8bd5ed", "#223344"], "anchor": {"max_foot_drift": 0.0, "max_center_drift": 0.0} }
uv run pytest
uv run pytest --run-aseprite uv run python scripts/proof_stdio.py --output ./workspace/proof-final
Use a fresh output directory for each proof run. The proof talks to the server through a real MCP stdio client, creates 16 distinct synthetic frames, compares a saved/reopened master, exports a sheet and GIF, tests rollback and overwrite/path rejection, and confirms that a deliberately damaged asset cannot pass export QA. It writes proof.json and visual artifacts. See verification.
To play that output in Phaser 3.90.0:
npm ci --prefix examples/phaser --ignore-scripts
uv run python -m http.server 8795 --bind 127.0.0.1
Open http://127.0.0.1:8795/examples/phaser/. The page reports success only after all four frames in all four animations have played. It uses a local npm dev dependency; the MCP itself has no network dependency after installation. For a fresh run under workspace/my-proof, use `http://127.0.0.1:8795/examples/phaser/?pr
只显示了开头部分;其余内容请在仓库中阅读