{
  "$schema": "https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/schema/draft/server-card.schema.json",
  "serverInfo": {
    "name": "magicpixel-mcp",
    "title": "MagicPixel",
    "version": "0.8.1",
    "description": "MagicPixel tools for pixel-art discovery and creation. Browse and purchase marketplace sprites into your library; generate sprites, variants, and directional sheets; list projects, assets, and style references; check credit balance.",
    "homepage": "https://magicpixel.art",
    "icon": "https://magicpixel.art/favicon.png",
    "vendor": {
      "name": "MagicPixel",
      "url": "https://magicpixel.art"
    }
  },
  "transport": {
    "type": "streamable-http",
    "url": "https://sddsilidjhvtvejzvolx.supabase.co/functions/v1/mcp"
  },
  "capabilities": {
    "tools": { "listChanged": false },
    "resources": false,
    "prompts": false,
    "logging": false
  },
  "auth": {
    "type": "oauth2",
    "authorizationServers": [
      "https://sddsilidjhvtvejzvolx.supabase.co/auth/v1"
    ],
    "protectedResourceMetadata": "https://magicpixel.art/.well-known/oauth-protected-resource",
    "dynamicClientRegistration": true,
    "audience": "authenticated"
  },
  "tools": [
    { "name": "whoami", "description": "Confirm auth and return the MCP server version." },
    { "name": "get_credit_balance", "description": "Return remaining generation credits for the signed-in user." },
    { "name": "list_projects", "description": "List the user's MagicPixel projects." },
    { "name": "list_assets", "description": "List assets in a project, optionally filtered by folder." },
    { "name": "get_asset", "description": "Fetch an asset's artboards and PNG previews." },
    { "name": "create_project", "description": "Create a new MagicPixel project." },
    { "name": "create_folder", "description": "Create a folder within a project (art or component scope)." },
    { "name": "list_style_references", "description": "List the user's saved style-reference images." },
    { "name": "list_marketplace_assets", "description": "Browse published marketplace assets by category, genre, size, and price (prefer before generating)." },
    { "name": "get_marketplace_asset", "description": "Inspect one marketplace listing with preview before purchase." },
    { "name": "purchase_marketplace_asset", "description": "Clone a marketplace asset into the user's library (confirm:true for paid)." },
    { "name": "generate_pixel_art", "description": "Generate a new pixel-art sprite from a text prompt (Generate → New)." },
    { "name": "generate_variants", "description": "Generate variants of an existing artboard (Variants: max / quality / quantity)." },
    { "name": "generate_directions", "description": "Generate directional/rotated views of an artboard (Directions: max / quality)." }
  ],
  "documentation": {
    "connectInstructions": "https://magicpixel.art/connect",
    "userGuide": "https://magicpixel.art/guides/ai-tips"
  },
  "contact": {
    "url": "https://magicpixel.art"
  }
}
