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: kayamcp
你将获得
设置完成后,你的 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 密钥
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
Generate, edit, style-match, turn, and animate game-ready pixel art at exact sizes.
Generate game assets with AI for 2D games, including sprites, tilesets, and animations.
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 gradedqualityCmaintenanceEnables AI agents to visually interact with LibreSprite for real-time pixel art creation and automated drawing with self-healing capabilities.MIT
- AlicenseAqualityAmaintenanceEnables AI agents to create and edit pixel art in a live Aseprite window, with tools for drawing, selection, transformation, and animation.4181,901 npm290MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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