• MISSING
  • MISMATCH
  • VALID
  • HUMAN

How to validate component schemas with your AI

Connect Magnolia to your AI client to audit component definitions. Once connected, your agent can inspect template structures for missing or incorrect fields.

Ask AI about this page

Short answer

How can I use AI to check my Magnolia component schemas?

Your AI uses the Magnolia connector to pull the exact schema for any template. It then compares those definitions against your requirements to find missing fields or type mismatches. You get a clear list of exactly which components need fixing.

Where every issue lands.

Validation outcomes

The AI processes the schema data and organizes the results into these categories.

MISSING

Missing required fields

The AI identifies components where mandatory fields are absent from the schema. You get a list of specific templates that need updates.

MISMATCH

Data type errors

The agent flags where a field's type doesn't match your expected structure. This helps catch configuration mistakes before they hit production.

VALID

Verified components

Components that pass the audit are marked as compliant. You can rely on these definitions for your content modeling.

HUMAN

Manual review needed

If the AI finds ambiguous definitions, it flags them for you. You decide how to resolve complex structural conflicts.

The workflow

What your AI does when the schema request arrives.

The AI handles the heavy lifting of reading and comparing technical definitions.

  1. Fetch schema

    Your agent pulls the current template definition directly from your Magnolia instance.

    mg.get_template_schema
  2. Analyze structure

    The AI compares the retrieved schema against your provided requirements or standard component models.

    mg.get_template_schema
  3. Identify gaps

    The agent looks for missing properties, incorrect field types, or broken hierarchies.

    mg.get_template_schema
  4. Report findings

    The AI presents a clean summary of what works and what needs a developer's attention.

    mg.get_template_schema

Try it

Copy these to start.

Use these prompts to begin your audit.

Starting points

Swap the bracketed text with your specific template names or field requirements.

Magnolia CMS Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_u6bjdVVF5duWxI08JFgNFgIEqXftnazuC33oVsOc/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Magnolia CMS capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "magnolia-enterprise-headless-cms-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_u6bjdVVF5duWxI08JFgNFgIEqXftnazuC33oVsOc/mcp"
    }
  }
}
Copy into chat04
  • Get the schema for the 'HeroBanner' template and check if it has a 'buttonLink' field.

  • Compare the current component schemas in Magnolia against this list of required fields: [list].

  • List all templates in Magnolia that are missing a 'description' field in their schema.

  • Audit the 'Article' template schema to ensure all image fields use the correct media type.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Magnolia once, then ask.

One connection gives your AI access to your Magnolia schemas. Your credentials stay encrypted and secure on our side.

Connect Magnolia to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change my Magnolia templates?

    No. The AI can only read the schemas. You must manually make any changes in the Magnolia UI.

  • 02

    Does the AI delete any component definitions?

    No. This connector is read-only for schema validation. It cannot delete or modify your data.

  • 03

    How does the AI know what a 'correct' schema looks like?

    The AI relies on the requirements you provide in your prompt to determine if a schema is valid.

  • 04

    Can I audit multiple templates at once?

    Yes. You can provide a list of template names in a single prompt for the AI to check.

  • 05

    Will this work with custom Magnolia modules?

    Yes, as long as the templates are accessible via the standard Magnolia schema endpoints.

  • More questions about Magnolia? The Connector page answers them. See everything the Magnolia Connector can do

Connect Magnolia CMS to Claude, Cursor, ChatGPT & more