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.
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.
- Cosmic Hosted MCP (bucket scope)discovered
- Cosmic Hosted MCP (agent scope)discovered
- Cosmic Bucket REST APIdiscovered
- Cosmic Agents REST APIdiscovered
- Cosmic CLIdiscovered
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.
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.
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
- integrations.json——
- llms.txt✓https://cosmicjs.com/llms.txt
- API catalog✗
/.well-known/api-catalog - OpenAPI document✗
/api/schema/, /openapi.json, /swagger.json, /api/openapi.json, or /v1/openapi.json - MCP server card✗
/.well-known/mcp/server-card.json - OAuth protected resource✗
/.well-known/oauth-protected-resource - Agent card✗
/.well-known/agent-card.json - Agent skills✗
/.well-known/agent-skills/index.json
Publish these signals → /publishing