SHADE is young: 0.1.0-next.2 is a pre-release, and 0.1.0 isn't out yet.

SHADE
AI assistants

Connecting an AI assistant

SHADE offers a small, fixed set of tools over the Model Context Protocol so an AI assistant can help write and restructure content. The AI always works as an AI user: it edits drafts, a person reviews and publishes.

Address: https://admin.example.com/api/mcp (Streamable HTTP).

1. Create an AI user and a token

  1. Users → New user: name it after the assistant or person using it (e.g. "Claude – Anna"), role ai, no password (AI users cannot sign in to the admin).
  2. API tokens → New token: kind MCP, "Acts as user" = that AI user. Copy the token (shd_…): it is shown once. One token per person or device makes revoking easy.

2. Connect a client

Claude Code

claude mcp add --transport http shade https://admin.example.com/api/mcp \
  --header "Authorization: Bearer shd_…"

Claude Desktop

Claude Desktop's custom connectors expect OAuth, which SHADE does not provide. Use the mcp-remote bridge in claude_desktop_config.json (Settings → Developer → Edit config):

{
  "mcpServers": {
    "shade": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://admin.example.com/api/mcp",
        "--header", "Authorization:Bearer ${SHADE_TOKEN}"
      ],
      "env": { "SHADE_TOKEN": "shd_…" }
    }
  }
}

Restart Claude Desktop; "shade" appears in the tools menu.

3. What the AI can and can't do

Can (these are the only tools; what each needs is in AI assistants):

ToolWhat it does
website_list_pagesList pages with status
website_get_pageRead a page's draft content, a tree of elements and text (with its untranslated texts in another language)
website_set_structured_dataSet a page draft's structured data presets
website_translate_textsTranslate texts of a draft into another language
list_data_sourcesData sources for List and Cards: names, settings, item fields
website_get_layoutRead published navigation and footer
search_mediaFind images by filename or alt text
list_media_without_alt_textImages missing alt text
website_create_draft_pageCreate a new unpublished page
website_add_nodeAdd an element, a text or a component to a draft
website_update_nodeChange an element, a text or a component in a draft
website_list_componentsRead the component library
website_list_startersRead the starters an admin can add to the library
website_get_siteRead the site's languages and what styles may set
website_get_stylesRead a page's own styles
website_set_element_styleStyle one element (live when the page is published)
website_get_animationsRead a page's animations
website_set_animationsSet a page's animations (live when the page is published)
website_get_themeRead the theme's draft and published tokens
website_save_theme_draftChange the theme's draft (a person publishes it)
website_duplicate_nodeCopy an element or a text in a draft, or into another page
website_make_componentMake a library component of elements in a draft
website_duplicate_pageCopy a page as a new unpublished page
website_move_nodeMove an element or a text within a draft
website_remove_node_from_draftRemove an element or a text from a draft (history keeps it)
set_alt_textSet an image's alt text (nothing else about the image); images on the live site are left to a person

Collections (only those that allow AI; see Collections):

ToolWhat it does
list_collectionsContent types available to the AI, with their fields
list_entriesEntries of a collection (with filters)
get_entryOne entry with its current version
create_draft_entryA new unpublished entry
update_draft_entryA new draft version of an entry (published version untouched)

Can't, by design: no tool exists for it and the AI role lacks the permission:

  • publish or unpublish anything, or trigger a rebuild
  • delete pages or media, upload files
  • edit navigation, footer or site settings (including the build hook), or publish the theme (it only drafts it)
  • see or manage users, roles, API tokens or the audit log
  • change an image's focal point or filename

Every tool call is checked again before it runs, and it needs the AI user's MCP token: the AI user gets nothing any other way.

Every AI change is a new version by the AI user, recorded in the audit log as made over MCP. The live site never changes until a person publishes.

4. Reviewing AI changes

AI changes in the admin lists every version an AI made. "Awaiting review" means it is still the page's latest draft. Open it in the editor, compare with the previous version, then publish, or Revert, which restores the previous version as a new version (nothing is lost).

Revoking access

API tokens → Revoke stops the client immediately. Deactivating the AI user revokes all its access.