Retro Diffusion MCP Server
Generate real pixel art — sprites, animations, and tilesets — from any MCP-capable AI assistant. Grid-aligned pixels, controlled palettes, transparent backgrounds, with cost estimation always free.
README
<p align="center"> <img src="assets/logo.png" alt="Retro Diffusion" width="96" height="96"> </p>
<h1 align="center">Retro Diffusion MCP Server</h1>
<p align="center"> Generate <b>real pixel art</b> — sprites, characters, animations, and tilesets — from any MCP-capable AI assistant.<br> Grid-aligned pixels, controlled palettes, transparent backgrounds. Not "pixel-art style" images. The real thing. </p>
<p align="center"> <a href="https://retrodiffusion.ai">Website</a> · <a href="https://www.retrodiffusion.ai/app/guide/api">API Docs</a> · <a href="https://github.com/Retro-Diffusion/api-examples">API Examples</a> · <a href="https://discord.gg/retrodiffusion">Discord</a> </p>
<p align="center"> <a href="cursor://anysphere.cursor-deeplink/mcp/install?name=retro-diffusion&config=eyJ1cmwiOiJodHRwczovL21jcC5yZXRyb2RpZmZ1c2lvbi5haS9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiJCZWFyZXIgWU9VUl9BUElfS0VZIn19"><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add to Cursor"></a> <img src="https://img.shields.io/badge/license-MIT-green" alt="MIT License"> <img src="https://img.shields.io/badge/transport-Streamable%20HTTP-blue" alt="Streamable HTTP"> </p>
This is a hosted, remote MCP server — nothing to install or run locally. Point your client at the endpoint, add your API key, and your assistant can browse 90+ pixel art styles, estimate costs for free, generate game-ready art, and repair enlarged or softened pixel art.
Endpoint: https://mcp.retrodiffusion.ai/mcp (Streamable HTTP)
Auth: Authorization: Bearer <your API key> (keys start with rdpk-)
Get an API key (2 minutes)
- Create a free account at retrodiffusion.ai — new accounts include free starter credits.
- Open Developer Tools and click Create API Key.
Pricing is pay-per-generation (from ~$0.01 per image), prepaid, no subscription, and credits never expire. Cost estimation is always free, so your agent can check the price of anything before spending.
Setup by client
Claude Code
claude mcp add --transport http retro-diffusion https://mcp.retrodiffusion.ai/mcp \
--header "Authorization: Bearer rdpk-YOUR-KEY"
Or install the plugin (bundles the server plus a pixel-art workflow skill):
/plugin marketplace add Retro-Diffusion/retro-diffusion-mcp
/plugin install pixel-art@retro-diffusion
Cursor
Click the Add to Cursor badge above, then replace YOUR_API_KEY — or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"retro-diffusion": {
"url": "https://mcp.retrodiffusion.ai/mcp",
"headers": { "Authorization": "Bearer rdpk-YOUR-KEY" }
}
}
}
VS Code (GitHub Copilot)
Add to mcp.json (Command Palette → "MCP: Add Server" → HTTP):
{
"servers": {
"retro-diffusion": {
"type": "http",
"url": "https://mcp.retrodiffusion.ai/mcp",
"headers": { "Authorization": "Bearer rdpk-YOUR-KEY" }
}
}
}
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"retro-diffusion": {
"serverUrl": "https://mcp.retrodiffusion.ai/mcp",
"headers": { "Authorization": "Bearer rdpk-YOUR-KEY" }
}
}
}
Claude Desktop
Use mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"retro-diffusion": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.retrodiffusion.ai/mcp",
"--header",
"Authorization: Bearer rdpk-YOUR-KEY"
]
}
}
}
Anything else
Any MCP client that speaks Streamable HTTP works: URL https://mcp.retrodiffusion.ai/mcp, header Authorization: Bearer rdpk-YOUR-KEY.
Tools
Generate
| Tool | What it does |
|---|---|
create_inference |
Generate images, animations (GIF/sprite sheet), or tilesets. Prefer RD Pro styles for top quality |
start_inference_job |
Start generation as an async job — recommended for animations and batches |
get_inference_job |
Poll an async job for status and results |
list_inference_jobs |
List your recent async jobs — recover a task_id after a lost submission response instead of re-submitting and double-charging |
estimate_inference_cost |
Free price check for any generation before running it |
Edit — post-process any image
| Tool | What it does |
|---|---|
list_edit_tools |
Enabled edit tools with their fields, costs, and limits |
run_edit_tool |
Run an edit tool: background remover, palette converter, color reducer, pixel correction, rotation, K-centroid downscale (free–$0.01) · image edit, inpainting, outpainting, seam tiling (premium) |
estimate_edit_tool_cost |
Free cost/duration estimate for any edit |
fix_pixel_art |
Free recovery of the native pixel grid from enlarged, softened, AI-rendered, or compressed pixel art |
Styles
| Tool | What it does |
|---|---|
list_available_styles |
Live style catalog with per-style size limits and capabilities |
list_available_models |
The model families: RD Fast, RD Plus, RD Pro, RD Mini |
get_style_usage |
Usage guidance and constraints for a specific style |
create_user_style |
Create a custom style from a reference image (RD Pro template) |
update_user_style |
Modify one of your custom styles |
delete_user_style |
Remove one of your custom styles |
Account
| Tool | What it does |
|---|---|
authenticate |
Validate an API key and attach it to the session |
get_balance |
Check remaining prepaid balance and credits |
get_service_status |
Subsystem health check (no auth required) |
logout |
Clear the stored session key |
fix_pixel_art accepts PNG or JPEG as raw base64 or a data URL. Images must be at least 16×16 and
no more than 4 megapixels. Standard and neural share a 10 requests/minute limit per API key;
request JSON is capped at 900,000 bytes and successful response JSON at 850,000 bytes. Use the
standard engine for native Rust grid detection or the neural engine with optional target width and
height values.
What you can make
- Sprites & characters — 90+ styles: portraits, game assets, isometric, top-down, platformer, 1-bit, Minecraft items/textures, UI elements, item sheets, character turnarounds
- Animations — walk/idle/jump/crouch/attack cycles from a start frame, four-angle walk cycles, 8-direction rotations, VFX, battle sprites; GIF or sprite-sheet output
- Tilesets — Wang/blob tilesets, tile variations, single tiles, scene objects
- Consistent characters — generate once with RD Pro, then pass the output as a reference image in follow-up generations (up to 9 references)
- Edits — img2img, seamless tiling, transparent backgrounds, palette-constrained output
- Pixel repair — reconstruct enlarged or softened pixel art at its detected native resolution
Example prompts to try once connected:
"List the available pixel art styles for animations, then estimate what a 64×64 walking animation would cost."
"Generate a 128×128 pixel art knight resting by a campfire, RD Pro default style, transparent background."
"Create a 16×16 Wang tileset: grey stone path tiles blending into lush grass."
"Fix this enlarged sprite back to its native pixel grid using the standard Pixel Fixer."
Prompting tips (important)
- Describe the subject only — never write "pixel art" in the prompt; the style handles the rendering.
- Sizes run 16×16 to 384×384 depending on style;
list_available_stylesgives exact per-style limits. - Costs range from ~$0.015 (RD Fast) to $0.18/image (RD Pro); animations $0.07–$0.25; tilesets $0.10.
estimate_inference_costis always free — use it first. - Reuse a seed to iterate on the same composition while changing only the prompt.
Who makes this
Retro Diffusion is built by Astropulse — a pixel artist with seven years of freelance experience before building the tool — and is used in production by studios and platforms including Replicate, Poe (Quora), and Scenario. It's designed by artists and held to artist-grade quality standards.
Support
- Discord community — fastest answers, the founder is active daily
- Full API reference and runnable examples
- Service status (no auth required)
License
The contents of this repository (documentation and manifests) are MIT licensed. The Retro Diffusion service itself is governed by its Terms of Service.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。