Cosmic (Headless CMS & Content API)

Cosmic (Headless CMS & Content API) MCP Connector for Claude

A+

Manage your content, media, and object types via Cosmic — list objects, create content, and handle media assets directly through any AI agent.

21 tools Official Updated Oct 1, 2026 Official Vinkius Partner

Connect your Cosmic headless CMS to any AI agent to manage your content infrastructure through natural language. Cosmic provides a powerful API-first approach to content management, and this MCP server brings those capabilities directly to your AI workflows.

What you can do

  • Content Management — Create, read, update, and delete objects across your buckets with full metadata support.
  • Media Library — List, upload, and manage your media assets including images, videos, and documents.
  • Schema Control — Manage object types and structures programmatically to maintain your content model.
  • Version Control — Access and manage revisions to track changes and restore previous versions of your content.
  • Batch Operations — Execute multiple object operations in a single request for high-efficiency updates.

How it works

  1. Subscribe to this server
  2. Provide your Cosmic Bucket Slug, Read Key, and Write Key
  3. Start managing your headless CMS from Claude, Cursor, or any MCP client

Who is this for?

  • Developers — Quickly query content structures or update metadata without leaving the code editor.
  • Content Managers — Use AI to draft new objects, organize media, or audit existing content entries.
  • Product Teams — Automate content updates and maintain consistency across multiple buckets.
cms-apicontent-infrastructuremedia-managementapi-firstjson-api

21 tools expose this connector's capabilities to your AI agent.

delete_object_type

Specify both the slug and the bucket slug. Delete an Object Type

list_agent_conversations

Supply the agent ID. List conversations for an AI Agent

get_revision

Provide the object ID, revision ID, and bucket slug. Get a single Revision for an Object

list_object_types

Specify the bucket slug. List Object Types in a Cosmic Bucket

list_objects

Use the query parameter (URL encoded JSON) to filter results. List Objects in a Cosmic Bucket

update_object_type

Provide the slug and ensure the object type exists. Update an Object Type

batch_objects

Limit operations to a maximum of 25. Perform batch operations on Objects (Max 25)

create_media

Specify the target bucket slug for the media payload. Create/Upload Media

create_object

Specify the object type and the target bucket slug. Create a new Object

create_object_type

Specify the bucket slug where the type belongs. Create a new Object Type

create_revision

Supply the object ID, bucket slug, and the revision body. Add a Revision for an Object

delete_media

Provide both the media ID and the bucket slug. Delete Media

delete_object

Provide both the object ID and the bucket slug. Delete an Object

get_agent_conversation_history

Pass the agent ID and conversation ID. Get history for a specific Agent conversation

get_object

Provide the bucket slug if the object is not in the default bucket. Get a single Object by ID

get_object_type

Provide the slug and the bucket slug. Get a single Object Type by slug

list_media

Use the query parameter to filter results. List Media in a Cosmic Bucket

list_revisions

Supply the object ID and bucket slug. Get Revisions for an Object

send_agent_message

Provide the agent ID and the message content. Send a message to an AI Agent

update_media

Provide the media ID and the bucket slug. Update Media metadata

update_object

Supply the object ID and the bucket slug for accurate targeting. Update an existing Object

See how to talk to your AI agent using Cosmic (Headless CMS & Content API).

List the last 5 objects of type 'news' in my bucket.

I've retrieved the latest 'news' objects. Here are the most recent entries: 'Product Launch' (ID: abc1), 'New Partnership' (ID: abc2), and 3 others. Would you like to see the full content of any of these?

Create a new draft post titled 'AI and CMS' with the type 'blog-posts'.

Successfully created the draft object 'AI and CMS' (ID: xyz789) in the 'blog-posts' category. You can now add metadata or publish it when ready.

Show me all media files currently in the bucket.

I found 12 media assets in your bucket. Recent uploads include 'hero-banner.jpg', 'logo-white.png', and 'intro-video.mp4'. Do you need the URL for any specific file?

Yes! Use the `list_objects` tool and provide a JSON query string like `{"type":"blog-posts"}` in the query parameter to filter your results.

Related Connectors