# Contentrain Studio Documentation > Contentrain Studio is an AGPL-licensed, open-core content governance workspace for teams and AI agents, managing structured content over Git. Connect a GitHub repo, define content models, edit through an AI chat agent or UI, and ship changes through review — with media, forms, CDN, webhooks, and APIs on the same `.contentrain/` contract used across the Contentrain AI ecosystem. - [Full documentation as a single file (for LLMs)](https://docs.contentrain.io/llms-full.txt) ## Contentrain Products - [Website](https://contentrain.io) - [Studio](https://studio.contentrain.io) - [Migrate, WordPress to Astro migration](https://migrate.contentrain.io) - [Bridge, free WordPress plugin on WordPress.org](https://wordpress.org/plugins/contentrain-bridge/) - [AI package docs](https://ai.contentrain.io/llms.txt) - [GitHub organization](https://github.com/Contentrain) ## About Contentrain Studio connects to GitHub repositories and provides: - AI-powered content operations via Claude (Haiku on every paid plan through the Studio-hosted key; Sonnet and Opus need the Advanced AI Models feature — Pro and above; plans also differ on monthly AI credits and BYOA) - Four content model kinds: Collection, Singleton, Document, Dictionary - 27 built-in field types - Git-backed review workflow with branch diffs (cr/* → contentrain → main) - Media library with image variants and blurhash (Enterprise Edition) - Form submissions with approval workflow (Turnstile CAPTCHA); an approved submission can become a content entry - Comments on content entries with a moderation queue (stored in the Studio database, not in Git), public submission API, and import - Scheduled publishing: an entry's publish_at / expire_at dates gate delivery on top of its status - Deploy hooks: trigger a rebuild of your site when content ships - CDN delivery with API key management (Enterprise Edition) - Outbound webhooks for content events (Enterprise Edition) - Conversation API for programmatic chat (Enterprise Edition) - MCP Cloud — a hosted HTTP MCP endpoint that lets external AI agents/IDEs operate on a project's content, plus a Remote MCP OAuth connector for apps such as Claude - Migrated sites: sites moved with Contentrain Migrate arrive as Studio projects with a setup wizard (see /guide/migrated-sites) - Two-tier role system (workspace: Owner/Admin/Member + project: Editor/Reviewer/Viewer; Reviewer and Viewer are Enterprise Edition features) - Open core model: AGPL core (Community Edition) + proprietary Enterprise Edition (ee/). Edition and plan tier are independent checks: a feature needs both. Roadmap items (not yet available): SSO (SAML/OIDC), white-label branding, custom CDN and MCP Cloud domains, forms and comments spam filters, forms file upload, CDN preview branch This documentation site is itself built with Contentrain: its pages are `document` entries and its navigation is a `docs-nav` collection, all under `.contentrain/`. ## API Surfaces - Public, versioned, key-gated APIs (stable external contract): `/api/{forms,comments,media,cdn,conversation,mcp}/v1/...` - Internal application API (cookie/session auth, not a stable contract): workspaces, projects, content, chat, branches, comments moderation, deploy hooks, auth, profile, webhook management ## Documentation Structure - /guide/ — User guide (getting started, content management, features, administration) - /developer/ — Developer docs (architecture, self-hosting, internals, API reference) ## Key Pages - [Getting Started](https://docs.contentrain.io/guide/) - [Quickstart](https://docs.contentrain.io/guide/quickstart) - [Core Concepts](https://docs.contentrain.io/guide/concepts) - [Content Models](https://docs.contentrain.io/guide/content-models) - [AI Chat](https://docs.contentrain.io/guide/ai-chat) - [Branches & Review](https://docs.contentrain.io/guide/branches-and-review) - [Billing & Plans](https://docs.contentrain.io/guide/billing) - [Account Settings](https://docs.contentrain.io/guide/account-settings) - [Workspaces](https://docs.contentrain.io/guide/workspaces) - [Team Management](https://docs.contentrain.io/guide/team-management) - [Connected Apps](https://docs.contentrain.io/guide/connected-apps) - [Comments](https://docs.contentrain.io/guide/comments) - [Scheduled Publishing](https://docs.contentrain.io/guide/scheduled-publishing) - [Deploy Hooks](https://docs.contentrain.io/guide/deploy-hooks) - [Migrated Sites](https://docs.contentrain.io/guide/migrated-sites) - [Troubleshooting](https://docs.contentrain.io/guide/troubleshooting) - [Self-Hosting](https://docs.contentrain.io/developer/self-hosting) - [Environment Variables](https://docs.contentrain.io/developer/environment-variables) - [API Reference](https://docs.contentrain.io/developer/api-reference/) - [Comments API](https://docs.contentrain.io/developer/api-reference/comments) - [Deploy API](https://docs.contentrain.io/developer/api-reference/deploy) - [MCP Cloud](https://docs.contentrain.io/developer/mcp-cloud) - [MCP Connector (Remote MCP OAuth)](https://docs.contentrain.io/developer/mcp-connector) - [Architecture](https://docs.contentrain.io/developer/architecture) - [Field Types](https://docs.contentrain.io/developer/field-types) - [Roles & Permissions](https://docs.contentrain.io/developer/roles-permissions) - [Enterprise Edition](https://docs.contentrain.io/developer/enterprise-edition) ## Tech Stack - Framework: Nuxt 4 (full-stack) - UI: Radix Vue + Tailwind CSS 4 - Auth: Provider interface (GitHub/Google OAuth, magic link; Supabase Auth or built-in managed auth) - Database: Provider interface (Supabase PostgreSQL + RLS, or plain PostgreSQL with the managed pair) - Billing: payment-plugin registry (Polar by default; Stripe supported) - AI: Claude API (Haiku 5.5, Sonnet 5.5, Opus 5.5 models) - Content: Contentrain format (.contentrain/ directory in Git repos) ## Licensing - Core: AGPL-3.0-only (with LICENSE-EXCEPTIONS §7 additional terms) - Enterprise (ee/): Proprietary - Self-hosted first, open-core model ## Contact - [GitHub](https://github.com/Contentrain/studio) - [Website](https://contentrain.io)