Cosmic

com.cosmicjs/mcp

Manage Cosmic CMS content, media, object types, and AI generation from any MCP client.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cosmicjs/mcp@1.6.0"
      ],
      "env": {
        "COSMIC_BUCKET_SLUG": "<your COSMIC_BUCKET_SLUG>",
        "COSMIC_READ_KEY": "<your COSMIC_READ_KEY>",
        "COSMIC_WRITE_KEY": "<your COSMIC_WRITE_KEY>"
      }
    }
  }
}
Environment variables
  • COSMIC_BUCKET_SLUGrequiredSlug of the Cosmic bucket to operate on
  • COSMIC_READ_KEYrequiredsecretBucket read key. Enables the read-only tools
  • COSMIC_WRITE_KEYsecretBucket write key. Required for create, update, delete, and AI generation

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
AI & ML
Version
1.6.0
Registry
active
Published
7/31/2026

Remotes

  • streamable-httphttps://mcp.cosmicjs.com/v1/buckets/{bucket_slug}
Browse all AI & ML →

Add the badge to your site

Show visitors that Cosmic is listed here — it’s also the link we check for a free listing.

Cosmic — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/com-cosmicjs-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Cosmic — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Cosmic — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/com-cosmicjs-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.