Skip to main content
Glama

spritecook-mcp

AIエージェント(Cursor、VS Code、Claude、Codex、Grok Build など)を SpriteCook に接続し、AIを活用したピクセルアートやゲームアセットの生成を実現します。

クイックセットアップ

npx spritecook-mcp setup

これにより、以下の処理が行われます:

  1. 検出 - Grok Build を含む、インストール済みのAIクライアントを検出します

  2. 認証 - 必要な場合にAPIキーで認証します。Grok Build はホスト管理のOAuthを使用します

  3. 設定 - MCP接続を自動的に設定します

  4. インストール - よりスマートなAI統合のためのオプションのエージェントスキルをインストールします

オプションのスキルには、非同期ジョブのポーリング、標準の sprite_url 出力、モデル検出、GPT-Image-2 の品質設定、ガイド付きキャラクターワークフロー、保存済みプリセット、マルチイメージのスタイルガイド参照、ローカルファイルのアップロード、背景のクリーンアップ、アセットの整理と復元、Godot対応のキャラクターエクスポートに関する最新のガイダンスが含まれます。

Related MCP server: mnehmos.aseprite.mcp

得られるもの

セットアップ後、AIエージェントがピクセルアートやゲームアセットを直接生成できるようになります:

「64x64のピクセルアートの剣スプライトを生成して」

「プラットフォーマーゲーム用のキャラクタースプライトシートを作成して」

「透明背景のポーションアイコンセットを作って」

「新しい待機スプライトに私のキャラクタープリセットを使って」

「このローカルのボス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 を実行してください。

このリポジトリには、Grok Build のマーケットプレイス提出用のルート .mcp.json も含まれています。マーケットプレイスへの掲載は別のリリース手順となります。

環境変数

  • SPRITECOOK_API_URL - APIのベースURLを上書きします(ローカル開発用)

リンク

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
    • A
      license
      B
      quality
      C
      maintenance
      Enables 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.
      43
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables 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.
      28
      MIT