SpriteCook

ai.spritecook由 spritecook.ai 发布官方发布者v0.2.17更新于 Oct 25, 2026

Generate game assets with AI for 2D games, including sprites, tilesets, and animations.

已验证Streamable HTTP可网页运行开发者工具媒体与设计

概览

AI 生成的概览

SpriteCook 让 AI 助手通过托管的远程 MCP 端点生成 2D 游戏美术资源,如精灵图、图块集、动画和图标。

可以做什么
根据文字提示或预设生成像素画与游戏素材,包括精灵图、图块集、动画和透明背景图标。制作角色精灵表与待机动画,也可基于上传的本地图片生成。去除背景并返回透明 PNG。整理生成的素材,例如重命名、管理已保存的预设和风格参考。
适用场景
适合在开发 2D 或像素风游戏时,让 AI 代理在编辑器内直接产出或迭代精灵图、图块集、动画和图标。也适合需要去背景或为 Godot 等引擎导出角色的工作流。
运行要求
需要能访问网络的远程 MCP 端点 api.spritecook.ai。必须认证:使用以 Authorization Bearer 头发送的 SpriteCook API 密钥,或在 Grok Build、Antigravity 等客户端使用由宿主管理的 OAuth。需要 SpriteCook 账号以获取密钥。可选的安装命令通过 npx 运行,需要 Node.js。
安装前请注意
Authorization 头中携带有效的 API 密钥,请勿放入共享配置或提交到代码仓库。生成可能消耗付费的 SpriteCook 额度,请确认套餐。服务器会在你的 SpriteCook 账号中创建、重命名和删除素材,上传的本地图片会发送给第三方服务。

AI 概览如何生成和校验

安装

在 SourceWeft 中

  1. 打开 控制台中的 SpriteCook,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.spritecook%2Fgenerate/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "spritecook": {
      "type": "http",
      "url": "https://api.spritecook.ai/mcp"
    }
  }
}

README

spritecook-mcp

Connect your AI agent (Cursor, VS Code, Claude, Codex, Grok Build, Antigravity, and others) to SpriteCook for AI-powered pixel art and game asset generation.

Quick Setup

npx spritecook-mcp setup

This will:

  1. Detect your installed AI clients, including Grok Build and Antigravity
  2. Authenticate with an API key where required; Grok Build and Antigravity use host-managed OAuth
  3. Configure MCP connections automatically
  4. Install an optional agent skill for smarter AI integration

The optional skills include current guidance for asynchronous job polling, canonical sprite_url output, model discovery, GPT-Image-2 quality settings, guided character workflows, saved presets, multi-image style guide references, local-file uploads, background cleanup, asset organization and recovery, and Godot-ready character exports.

What You Get

After setup, your AI agent can generate pixel art and game assets directly:

"Generate a 64x64 pixel art sword sprite"

"Create a character sprite sheet for my platformer game"

"Make a set of potion icons with transparent backgrounds"

"Use my character preset for a new idle sprite"

"Import this local boss PNG, then animate it with a slow idle motion"

"Remove the background from this character asset and give me the transparent PNG"

"Rename the generated sword asset to Iron Sword Pickup"

Manual Configuration

If you prefer to configure manually, add this to your editor's MCP config:

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 or ~/.grok/config.toml):

[mcp_servers.spritecook]
url = "https://api.spritecook.ai/mcp/oauth"
enabled = true
tool_timeout_sec = 6000

Open /mcps in Grok Build and authenticate spritecook. Grok stores and refreshes OAuth credentials without exposing them to the model. If tools do not appear, run grok mcp doctor spritecook and grok inspect.

The repository also includes a root .mcp.json for a Grok Build marketplace submission. Publishing the marketplace listing is a separate release step.

Antigravity: setup installs the SpriteCook plugin for Antigravity, which bundles the MCP server and the skills. To install it yourself:

agy plugin install https://github.com/SpriteCook/antigravity-plugin

Then sign in once. In the app or editor, open Customizations > Installed and click Authenticate next to spritecook. In the CLI, type /plugin, open Installed > spritecook and choose Sign in. Antigravity stores and refreshes the sign-in, so there is no API key to paste. Setup also removes an older spritecook entry with an API key from ~/.gemini/config/mcp_config.json, so the tools don't load twice.

Environment Variables

  • SPRITECOOK_API_URL - Override the API base URL (for local development)

Links

来源:README.md,提交 266f764

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v0.2.17最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

这个评分如何计算