{
  "markdown": "# spritecook-mcp\n\nConnect your AI agent (Cursor, VS Code, Claude, Codex, Grok Build, and others) to [SpriteCook](https://spritecook.ai) for AI-powered pixel art and game asset generation.\n\n## Quick Setup\n\n```bash\nnpx spritecook-mcp setup\n```\n\nThis will:\n\n1. **Detect** your installed AI clients, including Grok Build\n2. **Authenticate** with an API key where required; Grok Build uses host-managed OAuth\n3. **Configure** MCP connections automatically\n4. **Install** an optional agent skill for smarter AI integration\n\nThe 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.\n\n## What You Get\n\nAfter setup, your AI agent can generate pixel art and game assets directly:\n\n> \"Generate a 64x64 pixel art sword sprite\"\n\n> \"Create a character sprite sheet for my platformer game\"\n\n> \"Make a set of potion icons with transparent backgrounds\"\n\n> \"Use my character preset for a new idle sprite\"\n\n> \"Import this local boss PNG, then animate it with a slow idle motion\"\n\n> \"Remove the background from this character asset and give me the transparent PNG\"\n\n> \"Rename the generated sword asset to Iron Sword Pickup\"\n\n## Manual Configuration\n\nIf you prefer to configure manually, add this to your editor's MCP config:\n\n**Cursor** (`.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"spritecook\": {\n      \"url\": \"https://api.spritecook.ai/mcp/\",\n      \"headers\": { \"Authorization\": \"Bearer YOUR_API_KEY\" }\n    }\n  }\n}\n```\n\n**VS Code** (`.vscode/settings.json`):\n\n```json\n{\n  \"mcp\": {\n    \"servers\": {\n      \"spritecook\": {\n        \"type\": \"http\",\n        \"url\": \"https://api.spritecook.ai/mcp/\",\n        \"headers\": { \"Authorization\": \"Bearer YOUR_API_KEY\" }\n      }\n    }\n  }\n}\n```\n\n**Grok Build** (`.grok/config.toml` or `~/.grok/config.toml`):\n\n```toml\n[mcp_servers.spritecook]\nurl = \"https://api.spritecook.ai/mcp/oauth\"\nenabled = true\ntool_timeout_sec = 6000\n```\n\nOpen `/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`.\n\nThe repository also includes a root `.mcp.json` for a Grok Build marketplace submission. Publishing the marketplace listing is a separate release step.\n\n## Environment Variables\n\n- `SPRITECOOK_API_URL` - Override the API base URL (for local development)\n\n## Links\n\n- [SpriteCook](https://spritecook.ai) - AI game asset generator\n- [API Documentation](https://spritecook.ai/docs) - Full API reference\n- [Get API Key](https://app.spritecook.ai) - Sign up and manage API keys\n",
  "bytes": 2828,
  "sha": "46c43e6f141fe55ea6d8fd3bc2e79d7a3874e126008016ff33f9159ceff16192",
  "repo_slug": "spritecook/spritecook-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_ai_spritecook_generate_3f426886/readme"
}