Skip to content

Aurora 1.5 is out!

What's new →
Docs menu

AI and integrations

AI: MCP, the assistant and Write with AI

Connect Claude and other apps, chat with the assistant, and let AI write and translate.

The MCP server

At POST /mcp (Streamable HTTP, OAuth with Laravel Passport).

  • Connecting: Claude Desktop and claude.ai add it as a custom connector. Claude Code, VS Code and Cursor sign in through the browser. Scripts use personal access tokens. AI › Connect AI apps has step-by-step setup with copy buttons, the apps and tokens you've connected, and what your assistant can do.
  • Tools: sites and identity (whoami, list_sites); pages (list_pages, get_page, create_page, update_page, delete_page, publish_page); blocks (list_block_types, set_page_blocks, add_block, update_block, move_block, remove_block); history (list_revisions, restore_revision); media (list_images, upload_image_from_url); menus (get_menus, add_menu_item, update_menu_item, remove_menu_item); the website's own records (list_models, list_records, get_record, save_record, delete_record) v1.5.2; and list_forms, list_layouts, seo_report. Layouts' own fields are listed by list_layouts, read by get_page and set with layout_settings on create_page and update_page.
  • Permissions: the AI acts as the person who connected it. Tools their role can't use aren't even listed. Publishing needs the publish permission. Changes to live pages wait as unpublished changes, and appear in the page history under the person's name.
  • The website's own models v1.5.2: the models in the site's app/Models (customers, products, events …) are offered to AI without tools of their own, and their policies decide everything. Someone sees a model when its policy's viewAny allows, and each read, create, change and delete asks view, create, update or delete. A model without a policy is for Super Admins only, and someone who may see none gets no record tools. Hidden ($hidden) and encrypted fields are never shown or written, only fillable fields are written, and a model's Filament resource lends its form's labels, choices and required fields. #[HiddenFromAi] on a model keeps it out; Aurora's own models keep their own tools.
  • Custom HTML v1.5.1: the AI builds pages from the site's blocks. It adds a custom HTML (Custom code) block only when you ask for one, or for something no other block can do, and asks you first. Adding one also takes the Custom code blocks permission, which no role has by default.
  • Restricted callbacks: OAuth clients may only redirect to Claude, localhost or the Claude, Cursor and VS Code app schemes.
  • Development: expose the site (for example herd share) and set MCP_PUBLIC_URL. php artisan mcp:start cms runs a local stdio server as MCP_USER.
Connect AI apps: step-by-step setup for Claude and other apps, with copy buttons
AI › Connect AI apps: setup for each app, with copy buttons.

The assistant in the admin

Set up under Settings › AI Assistant.

  • Providers: Anthropic (Claude), OpenAI, Google Gemini, Mistral, Groq, xAI, DeepSeek, or any OpenAI-compatible or Anthropic-compatible endpoint, including OpenRouter, Ollama and LM Studio.
  • What it uses: the same tools as MCP, with the same permissions, logged as "Assistant".
  • What it knows: the screen you're on, so "make the heading shorter" needs no page name.
  • Attachments: images, PDFs, text and CSV. Uploaded images only join the media library when a page uses them.
  • Conversations are kept and can be exported as Markdown, and open editors redraw when it changes the page.

Write with AI, translation, alt text and tags

  • Write with AI is a sparkle button on text fields. It writes from the rest of the form and the page, with an optional instruction, and for alt text it looks at the image.
  • AI translation translates pages block by block, form fields and every label.
  • Alt text, written automatically: switch on Write alt text for images automatically under Settings › AI Assistant, and the assistant describes each image added to the media library, in the website's language, on the queue. Switching it on also describes the images already there without alt text. Alt text someone wrote is never replaced.
  • Alt text for selected images v1.2.3: select images in the media library and choose Write alt text with AI from the bulk actions. Add an instruction if you like (where the photos were taken, say), and the assistant describes the ones without alt text, on the queue. This works whether or not alt text is written automatically.
  • Tags, chosen automatically v1.3.7: switch on Tag images automatically under Settings › AI Assistant, and the assistant gives each image added to the media library a few tags, on the queue. It uses the library's tags where they fit and adds a new one only when none does. Switching it on also tags the images already there without tags, and Tag images in the media library's bulk actions tags the selected ones, with an optional instruction, whether or not tagging is automatic. Tags someone chose are never changed.

The AI activity log

AI › Activity log records every tool call by an AI: the channel (an app over MCP, or the assistant), the tool, the person it acted for, the outcome and the arguments, with a link to the page it changed.