spritecook-mcp
Officialspritecook-mcp
将你的 AI 智能体(Cursor、VS Code、Claude、Codex、Grok Build 等)连接到 SpriteCook,用于 AI 驱动的像素艺术和游戏资源生成。
快速设置
npx spritecook-mcp setup这将:
检测你已安装的 AI 客户端,包括 Grok Build
验证在需要时使用 API 密钥;Grok Build 使用宿主管理的 OAuth
自动配置 MCP 连接
安装可选的智能体技能,以实现更智能的 AI 集成
可选的技能包括精选的指南,涵盖异步任务轮询、规范 sprite_url 输出、模型发现、GPT-Image-2 质量设置、引导式角色工作流、保存的预设、多图像风格参考、本地文件上传、背景清理、资源组织与恢复,以及 Godot 就绪的角色导出。
Related MCP server: mnehmos.aseprite.mcp
你将获得
设置完成后,你的 AI 智能体可以直接生成像素艺术和游戏资源:
"生成一个 64x64 像素艺术剑精灵"
"为我的平台游戏创建角色精灵表"
"制作一组带透明背景的药水图标"
"使用我的角色预设生成新的待机精灵"
"导入这个本地 Boss PNG,然后为其制作缓慢待机动作的动画"
"移除这个角色资源的背景,并给我透明的 PNG"
"将生成的剑资源重命名为 Iron Sword Pickup"
手动配置
如果你希望手动配置,请参考以下内容添加到编辑器的 MCP 配置中:
Cursor(.cursor/mcp.json):
{
"mcpServers": {
"spritecook": {
"url": "https://api.spritecook.ai/mcp/",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}VS Code(.vscode/settings.json):
{
"mcp": {
"servers": {
"spritecook": {
"type": "http",
"url": "https://api.spritecook.ai/mcp/",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
}Grok Build(.grok/config.toml 或 ~/.grok/config.toml):
[mcp_servers.spritecook]
url = "https://api.spritecook.ai/mcp/oauth"
enabled = true
tool_timeout_sec = 6000在 Grok Build 中打开 /mcps 并验证 spritecook。Grok 会存储并刷新 OAuth 凭据,而不会将其暴露给模型。如果工具没有出现,请运行 grok mcp doctor spritecook 和 grok inspect。
该仓库还包含一个根目录下的 .mcp.json,用于 Grok Build 市场提交。发布市场列表是一个单独的发布步骤。
环境变量
SPRITECOOK_API_URL- 覆盖 API 基础 URL(用于本地开发)
链接
SpriteCook - AI 游戏资源生成器
API 文档 - 完整的 API 参考
获取 API 密钥 - 注册并管理 API 密钥
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Pixel art for your game, from your coding agent. Generate sprites, items and tiles in your game's style (64 to 1024 px), make variants, reskins and N/E/S/W directions, then edit everything in a full pixel art editor that syncs into your project. Works with Claude, Claude Code, Cursor and ChatGPT; sign in with OAuth, no API key.
Pixel art for AI agents: free image to pixel art, plus sprite generation and animation.
AI game assets for agents: consistent sprites, 2D animations, tiles, maps, music and engine exports.
Generate pixel art sprites, animations, 8-direction rotations and palettes for games.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI sprite generation and semantic tools for Aseprite, allowing LLMs to create pixel art, add animations, and manage projects with visual feedback.61GPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create, inspect, edit, and export pixel art, sprites, animations, and spritesheets using headless Aseprite, and to convert arbitrary images into indexed pixel art.MIT
- AlicenseBqualityCmaintenanceEnables an AI agent to create and edit pixel art directly in Aseprite — building sprites, layers, frames, animation tags and palettes, painting pixels and primitives, inspecting the rendered result, and exporting GIFs or sprite sheets. All work lands on real .aseprite files that can be opened and edited by hand.431MIT
- AlicenseBqualityBmaintenanceEnables AI agents to create and refine pixel art and sprite animations through MCP tools, including seeded generators, indexed palettes, shading, animation presets, inline PNG previews, and multi-format export.28MIT