MCP directory
C

Cosmic

by cosmicjs.com · v1.7.1 · updated Nov 13, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}

Claude Code

claude mcp add --transport http mcp https://mcp.cosmicjs.com/v1/buckets/{bucket_slug}

Headers

  • Authorizationrequiredsecret

    Bearer <read_key> for reads, or Bearer <read_key>:<write_key> to allow writes

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cosmicjs/[email protected]

Environment variables

  • COSMIC_BUCKET_SLUGrequired

    Slug of the Cosmic bucket to operate on

  • COSMIC_READ_KEYrequiredsecret

    Bucket read key. Enables the read-only tools

  • COSMIC_WRITE_KEYsecret

    Bucket write key. Required for create, update, delete, and AI generation

More MCP servers