• CONTENT
  • FILES
  • INDEX
  • HUMAN

How to fetch entries and assets with your AI

Connect Statamic once. After that, your agent handles the heavy lifting of pulling data from your CMS.

Ask AI about this page

Short answer

How can I pull Statamic data into my AI?

Your agent uses specific tools to grab individual entries, list all available entries, or pull asset metadata. This lets you audit content or check file details without leaving your chat window. You'll get precise data for any entry or asset you target.

Data outcomes

What your agent delivers

The specific information your agent pulls from Statamic.

CONTENT

Specific entry data

The agent pulls the exact fields and values for a single entry. You get the raw content needed for audits or updates.

FILES

Asset metadata

The agent retrieves details about your uploaded files. This includes file paths and metadata for quick verification.

INDEX

Full entry lists

The agent scans your collection to show what exists. You get a clear view of your current content structure.

HUMAN

Manual verification

The agent provides the data, but you decide if the content meets your standards. You remain the final editor.

The workflow

What your AI does when <the thing arrives>.

The agent translates your natural language requests into direct CMS queries.

  1. Identify the target

    Your agent looks at your request to decide if you need a single item or a full list of content.

    list_entries
  2. Pull entry details

    Once the target is identified, the agent grabs the specific field values for that entry.

    get_entry
  3. Locate assets

    The agent finds the files you're asking about within your Statamic media library.

    list_assets
  4. Extract file info

    The agent pulls the specific metadata for a single asset to answer your question.

    get_asset

Try it

Copy these to start.

Use these prompts to trigger the first data pull.

Starting points

Swap out the bracketed text for your actual Statamic collection names or file paths.

Statamic Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_TYdyu4gPevs1GTdyQszP1GFqHfzyigrCSBY80c66/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 — Statamic capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "statamic-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_TYdyu4gPevs1GTdyQszP1GFqHfzyigrCSBY80c66/mcp"
    }
  }
}
Copy into chat04
  • List all entries in my 'blog' collection.

  • Get the details for the entry with ID 'about-us'.

  • Show me all the assets in my media library.

  • Get the metadata for the image named 'hero-banner.jpg'.

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

Start here

Connect Statamic once, then ask.

Just follow the link to connect your account. Your credentials stay encrypted, and you can immediately start querying your CMS.

Connect Statamic to your AI

FAQ

How this task behaves

  • 01

    Can the AI edit my Statamic entries?

    No. This connector only provides tools to read and list data. It cannot change, delete, or create content.

  • 02

    Can I delete assets through the AI?

    No. The agent can only fetch and list asset metadata. Deleting files must be done manually in Statamic.

  • 03

    Does the AI see all my content?

    The AI only sees the data it fetches through the specific tools you trigger in your chat.

  • 04

    How does the AI find a specific entry?

    It uses the entry ID or collection name to target the exact data you're looking for.

  • 05

    Can the AI upload new images?

    No. The tools are limited to retrieving existing assets and listing what is already in your library.

  • More questions about Statamic? See everything the Statamic Connector can do

Connect Statamic to Claude, Cursor, ChatGPT & more