{
  "name": "EmailTemplate",
  "description": "Email template engine: create, version, render and export email templates from HTML/MJML, with AI generation billed per credit.",
  "homepage": "https://emailtemplate.theboomer.dev",
  "updated": "2026-12-01",
  "docs": {
    "llms": "https://emailtemplate.theboomer.dev/llms.txt",
    "openapi": "https://api.emailtemplate.theboomer.dev/openapi.json",
    "integrations": {
      "claude-code": "https://emailtemplate.theboomer.dev/integraciones/claude-code/",
      "codex": "https://emailtemplate.theboomer.dev/integraciones/codex/",
      "cursor": "https://emailtemplate.theboomer.dev/integraciones/cursor/",
      "vscode": "https://emailtemplate.theboomer.dev/integraciones/vscode/",
      "chatgpt": "https://emailtemplate.theboomer.dev/integraciones/chatgpt/"
    }
  },
  "mcp": {
    "transport": "streamable-http",
    "url": "https://mcp.emailtemplate.theboomer.dev/mcp",
    "legacy_sse": "https://mcp.emailtemplate.theboomer.dev/sse",
    "health": "https://mcp.emailtemplate.theboomer.dev/health",
    "auth": {
      "type": "bearer",
      "header": "Authorization",
      "scheme": "Bearer",
      "key_prefix": "et_",
      "create_key": "https://dash.emailtemplate.theboomer.dev/dashboard/api-keys"
    },
    "tools": [
      "list_templates",
      "get_template",
      "create_template",
      "update_template",
      "duplicate_template",
      "list_versions",
      "get_version",
      "create_version",
      "diff_versions",
      "list_branches",
      "switch_branch",
      "generate_template",
      "suggest_improvements"
    ]
  },
  "api": {
    "base_url": "https://api.emailtemplate.theboomer.dev/api/v1",
    "auth": "Same bearer key as MCP: Authorization: Bearer et_...",
    "notes": "Renders are metered per POST /render call; AI actions consume credits."
  },
  "agent_accounts": {
    "description": "An agent can self-register, get its own API key and claim code, and later be linked to a human Clerk account.",
    "register": {
      "method": "POST",
      "path": "/agents/register",
      "body": {
        "name": "string",
        "client": "string"
      },
      "returns": [
        "agentId",
        "apiKey",
        "claimCode",
        "claimCodeExpiresAt",
        "expiresAt",
        "quota",
        "claimUrl"
      ],
      "idempotency": "Send Idempotency-Key header to avoid duplicate agents on retry."
    },
    "me": {
      "method": "GET",
      "path": "/agents/me"
    },
    "claim": {
      "method": "POST",
      "path": "/agents/claim",
      "body": {
        "claimCode": "etclaim_..."
      },
      "ui": "https://dash.emailtemplate.theboomer.dev/dashboard/agents?claim=etclaim_..."
    }
  },
  "credits": {
    "currency": "EUR",
    "costs": {
      "generate_template": 10,
      "suggest_improvements": 5
    },
    "packs": [
      {
        "credits": 500,
        "price_eur": 9
      },
      {
        "credits": 2000,
        "price_eur": 29
      },
      {
        "credits": 5000,
        "price_eur": 69
      },
      {
        "credits": 10000,
        "price_eur": 119
      }
    ],
    "note": "Packs never expire; plan credits reset each billing period."
  },
  "contact": "https://dash.emailtemplate.theboomer.dev/contact"
}
