{
  "serverInfo": {
    "name": "duqqan",
    "version": "1.0.0"
  },
  "transport": {
    "endpoint": "https://duqqan.app/api/mcp"
  },
  "capabilities": [
    "tools"
  ],
  "tools": [
    {
      "name": "list_plans",
      "title": "List plans",
      "description": "The one website package Duqqan sells — a yearly plan, with its price (integer minor units + currency) and what it includes — and how long the free demo (no card) and the package's free trial (card at checkout) last."
    },
    {
      "name": "list_verticals",
      "title": "List verticals",
      "description": "The verticals and business categories Duqqan supports."
    },
    {
      "name": "list_examples",
      "title": "List examples",
      "description": "The example sites Duqqan showcases — each one opens. Empty, with a note, while they are being prepared."
    },
    {
      "name": "get_site_info",
      "title": "Get site info",
      "description": "A concise, machine-readable summary of Duqqan (same content as /llms.txt)."
    },
    {
      "name": "list_my_sites",
      "title": "List my sites",
      "description": "The signed-in customer's own sites (businessId, slug, business name, status) — the businesses whose site their role may see — with the plan where their role may read billing. Start here: every other site tool takes a businessId from this list.",
      "scopes": [
        "sites:read"
      ]
    },
    {
      "name": "get_site",
      "title": "Get site outline",
      "description": "Call this first, before reading or changing anything. The outline of the site's DRAFT: its languages, its pages (pageId, address, title, and per language the search title and description with the revision set_page_seo needs), each page's sections (sectionId, block, visible, revision, a short summary), the header and footer blocks (sectionId chrome:<BLOCK-ID>), and whether there are unpublished changes. Every edit tool needs a sectionId and the revision read here.",
      "scopes": [
        "sites:read"
      ]
    },
    {
      "name": "read_section",
      "title": "Read section",
      "description": "One section of the draft (or a header or footer block, chrome:<BLOCK-ID>): its revision, every editable text in every language the site serves — path, current words, whether it may be emptied, its length budget — and its photo slots with the photo and alt text each holds. Read a section before you edit it.",
      "scopes": [
        "sites:read"
      ]
    },
    {
      "name": "list_photos",
      "title": "List photos",
      "description": "The business's photos that a section's photo slot may take, newest first (at most 200): mediaId, address, size and where each came from. Logos and icons are not listed.",
      "scopes": [
        "sites:read"
      ]
    },
    {
      "name": "review_changes",
      "title": "Review changes",
      "description": "What publishing the draft would change on the live site, entry by entry: words before and after, sections shown or hidden, photos replaced, pages added or removed. An entry marked sensitive carries a phone number, email, web address, price, licence or registration number, or a review — call this before publish_site and show the owner EVERY sensitive change, in full, for them to confirm.",
      "scopes": [
        "sites:read"
      ]
    },
    {
      "name": "edit_text",
      "title": "Edit text",
      "description": "Change the words of one section (or a header or footer block, chrome:<BLOCK-ID>) in one language. The change goes to the DRAFT, which visitors do not see until publish_site. `edits` is a list of { \"path\": a text path from read_section, \"text\": its new words } — text null empties a text that may be empty; each path at most once. Send the revision you read; on a `conflict` refusal, read the section again and redo the edit. Never invent facts — prices, phone numbers, addresses, licences, awards, reviews or people's names: write only what the owner told you or the site already says. The owner is responsible for what is published. Returns the section's new revision, and `changed: false` when the words were already those.",
      "scopes": [
        "sites:write"
      ]
    },
    {
      "name": "set_section_visible",
      "title": "Show or hide section",
      "description": "Show or hide one section of a page, in the DRAFT — visitors see the change only after publish_site. The header and footer cannot be hidden, nor the section carrying a page's headline, nor a page's last visible section. Send the revision you read; on a `conflict` refusal, read again. Returns the section's new revision, and `changed: false` when it was already so.",
      "scopes": [
        "sites:write"
      ]
    },
    {
      "name": "add_photo_from_url",
      "title": "Add photo from URL",
      "description": "Fetch an image from a public http(s) address — a JPEG, PNG or WebP of at most 8 MB — and add it to the business's photos as the owner's own. Only add a photo the owner gave you or confirmed is theirs to use. It is not placed anywhere yet: place it with set_section_photo. Returns the new photo's mediaId.",
      "scopes": [
        "sites:write"
      ]
    },
    {
      "name": "set_section_photo",
      "title": "Set section photo",
      "description": "Put one of the business's photos (a mediaId from list_photos or add_photo_from_url) in a section's photo slot (from read_section), in the DRAFT — visitors see it only after publish_site. The photo needs alt text describing it in every language the site serves: `alt` is a list of { \"locale\": a language code, \"text\": what the photo shows }, one entry per language. Send the revision you read; on a `conflict` refusal, read again. Returns the section's new revision, and `changed: false` when nothing changed.",
      "scopes": [
        "sites:write"
      ]
    },
    {
      "name": "set_page_seo",
      "title": "Set page search title and description",
      "description": "Set one page's search-engine title (at most 70 characters; about 60 show) and description (at most 200; about 155 show) in one language. Unlike the draft edits this is LIVE AT ONCE — there is no publish step and no review — so confirm the exact words with the owner first. An empty title falls back to the business's name. Take the pageId, and the revision beside that language's search title and description, from get_site; the owner may change them in their panel too, so on a `conflict` refusal read get_site again and confirm the words with the owner anew. Never invent facts in it. Returns the pair as stored, and `changed: false` when the page already held it.",
      "scopes": [
        "sites:write",
        "sites:publish"
      ]
    },
    {
      "name": "publish_site",
      "title": "Publish site",
      "description": "Make the whole draft live: every page, the header and the footer. Before calling it, call review_changes and show the owner every change marked sensitive, and publish only once the owner has said yes. The owner is responsible for what the site says. Returns the number of pages published and the review of what went live.",
      "scopes": [
        "sites:publish"
      ]
    }
  ]
}