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 分

這個評分如何計算