C

cosmicjs.com

Cosmic is a headless CMS and AI-enabled content platform for managing structured content, media, and related workflows. Users create projects and buckets in the Cosmic dashboard, then access that content through APIs, MCP, and tooling.

5 integrations · MCP · REST · CLI

Cosmic exposes a bucket-scoped REST API, an agent-onboarding REST API on dapi.cosmicjs.com, hosted MCP endpoints for bucket and agent scopes, and an npm-distributed CLI; auth uses bucket read/write keys, personal access tokens, and agent keys depending on surface.

discovered 2mo ago
MCP servers2
REST · OpenAPI2
CLI1
Credentials
Bucket read keyapi_keyGet key

Log in to the Cosmic dashboard, open your bucket, then go to Settings → API Access to copy the bucket slug and read_key. This key is for read-only bucket access.

Personal Access TokenbearerGet token

Open Account Settings → API Tokens in the Cosmic dashboard and create a token. Tokens use the cos_ prefix and carry your full account permissions. This is the recommended auth for scripts, CI/CD, CLI login with --token, and dashboard-level API access.

Agent keybearerGet token

Create an agent-scoped signup session by calling `POST /v3/agents/sign-up` on https://dapi.cosmicjs.com. The response includes an agent_key with the agk_ prefix. Store it securely; it authenticates only the agent-flow endpoints and MCP agent scope.

conventions · 1/7 published

Publish these signals → /publishing