• NEW
  • EDIT
  • BULK
  • REVIEW

How to create and update content with your AI

Connect Cosmic to your AI client once. From there, your agent handles the heavy lifting of drafting and editing your headless CMS entries.

Ask AI about this page

Short answer

How can I use my AI to manage Cosmic content?

Your AI uses the Cosmic MCP to draft new objects and edit existing ones in your bucket. You can trigger these changes through simple chat commands to keep your CMS updated without manual entry.

Where every change lands.

Content outcomes

The AI maps your requests to specific actions within your Cosmic bucket.

NEW

Fresh content entries

The AI builds new objects based on your descriptions. These land as ready-to-publish entries in your CMS.

EDIT

Updated existing data

Your agent modifies specific fields in current entries. This keeps your site data current without manual clicking.

BULK

Mass content updates

You can instruct the AI to apply changes to multiple objects at once. This handles repetitive cleanup tasks instantly.

REVIEW

Human oversight

The AI performs the technical writes, but you decide which changes are actually pushed to your live site.

The workflow

What your AI does when a request arrives.

The AI translates your natural language into specific API calls to your Cosmic bucket.

  1. Find the target

    The AI looks through your existing Cosmic objects to identify exactly which entry you want to change or reference.

    list_objects
  2. Draft new entries

    When you want to add something new, the AI builds the object structure and populates the fields.

    create_object
  3. Modify existing data

    The AI targets specific fields in an existing entry to update text, numbers, or references.

    update_object
  4. Handle multiple items

    For larger tasks, the AI groups several updates into a single operation to keep things efficient.

    batch_objects

Try it

Copy these to start.

Use these prompts to kick off your first content task.

Starting points

Swap the bracketed text for your actual Cosmic collection names or specific field values.

Cosmic Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_y2ynjJhQkEayFecto8VFFnli76mgjWmwXZolbG6r/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 — Cosmic capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "cosmic-headless-cms-content-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_y2ynjJhQkEayFecto8VFFnli76mgjWmwXZolbG6r/mcp"
    }
  }
}
Copy into chat04
  • Create a new blog post object in my 'posts' collection with the title 'Summer Trends'.

  • Update the 'description' field for the object with ID '12345' to say 'Updated content'.

  • List all objects in my 'products' collection so I can see what's there.

  • Batch update the 'status' field to 'draft' for all objects in the 'articles' collection.

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

Start here

Connect Cosmic once, then ask.

Just click the link to connect your Cosmic account. Your credentials stay encrypted and secure, and you can immediately start chatting with your AI about your content.

Connect Cosmic to your AI

FAQ

How this task behaves.

  • 01

    Can the AI delete content from my Cosmic bucket?

    No. The current tools only allow for creating, listing, updating, and batching objects. Deletion is not supported.

  • 02

    Will the AI change my schema or field types?

    No. The AI can only update the values within existing fields. It cannot modify the underlying structure of your Cosmic collections.

  • 03

    Does the AI know which objects are in my collection?

    Yes, it uses the list tool to see what is currently stored in your bucket.

  • 04

    Can I update many items at the same time?

    Yes, you can use the AI to perform batch updates on multiple objects simultaneously.

  • 05

    Do I need to use the Cosmic dashboard to see changes?

    You can, but the changes the AI makes are applied directly to the data in your bucket.

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

Connect Cosmic to Claude, Cursor, ChatGPT & more