SuperAPI AI Directory

lightcms

CMS managed via natural language: publish content and manage templates, assets, themes, redirects and multi-site forks, with versioning and semantic search.

Open website

About this tool

LightCMS is a self-hosted content management system (CMS) built with the Go language, positioned as a content management platform for the AI era. It emphasizes being lightweight, AI-native, and operable by agents, with a clear codebase structure that is easy to understand and extend. The system supports both manual operation through an admin interface and headless programmatic management via REST and MCP APIs.

【Main Capabilities】

In terms of content management, LightCMS provides a template system (supporting custom fields such as text, rich text, images, dates, dropdown selections, Markdown, etc.), static page generation, content version history with diff comparison and one-click rollback, soft delete and restore, content tags, reusable HTML snippets, the lc:query directive (which expands real-time content queries into rendered lists at publish time), automatic paginated lists for content collections, folder and URL hierarchy organization, a rich text editor based on Quill 2, site-wide or scoped RE2 regex search and replace (with a preview step), batch operations of up to 100 pages per API call, scheduled publishing, content locking during editing, and incremental static regeneration (regenerating pages in batches).

The import pipeline supports periodic import of RSS/Atom feeds, import of Markdown files and ZIP archives (YAML frontmatter controls title, slug, folder, template, tags, and publish time, compatible with Notion exports, Obsidian vaults, Hugo/Jekyll site migrations, and AI-generated content), CSV batch import, and real-time viewing of import job status via SSE.

Content Fork Workspaces allow the creation of named staging workspaces in which page modifications can be authored, previewed, and reviewed before going live. It uses a sparse model, where only edited pages exist in the fork. Fork preview mode is activated via a floating bar, and merge supports conflict detection. Fork copies do not appear in content lists and search by default, and cannot be published directly or in bulk—only merged. There is also a Hold flag that prevents drafts from being published by any means.

Bulk and parallel operations are designed for agents that prefer high-throughput parallel workflows, including bulk_update_content (updating up to 100 pages in a single call, with merge semantics), bulk_field_operation (applying a single operation to a field of matching pages), publish_multiple, export_content, etc. The officially recommended agent mode is: list_content → parallel conversion → bulk_update_content → publish_multiple.

The AI chat component (v4.2+) can be embedded into any page via a single script tag, using a two-stage pipeline: hybrid semantic and full-text search to retrieve relevant content excerpts, then streaming conversational answers generated via Claude Haiku. When there is no Anthropic API key, it degrades to a search-style chat experience.

Multi-user access control and approval (v2.0+, v6.0+) provides RBAC with four roles (admin, editor, contributor, viewer), a contributor role, configurable approval workflows, an approval dashboard, content discussions (inline threaded comments with @mentions), user management, audit logs, a rate limiting dashboard, user-scoped API keys, and forced password changes.

Intelligent end-user search uses hybrid search (exact full-text matching + Voyage AI semantic vector search, merged via reciprocal rank fusion), with ranking weights configurable in the backend, support for title weighting, autocomplete suggestions, full-text fallback when there are no embeddings, and rate limiting.

For developers and integrations, it provides a complete /api/v1/ REST API, an MCP server with 130 tools and 3 prompt resources (supporting stdio and HTTP streaming), OAuth 2.1 (authorization code flow with PKCE), a CLI tool, URL redirect rules, webhooks (HMAC-SHA256 signatures, 6 event types), automatic Cloudflare cache purging, edge cache headers, and structured JSON logs.

Site customization supports theme customization (colors, fonts, corner radius, custom CSS, with version history), header and footer HTML control, and asset management.

[How to Use]

Running LightCMS requires Go 1.24 or later, as well as a MongoDB Atlas account (the free tier works). The basic steps are: clone the repository; copy config.dev.json.example to config.dev.json; edit that file to fill in the MongoDB connection string; run go run cmd/server/main.go; visit http://localhost:8082/cm and log in with email and password. On first run, an administrator account is created. You can specify the email via the LIGHTCMS_ADMIN_EMAIL setting, otherwise it defaults to admin@localhost. MongoDB Atlas configuration includes creating an account, creating a cluster (choose the M0 FREE tier), setting up a database user, and adding an IP address.

[Use Cases]

LightCMS is suitable for teams that want a CMS to collaborate with AI rather than work around it. Typical scenarios include: managing website content through natural language conversation; letting Claude Code or MCP-compatible agents read, write, publish, and bulk import content; editorial teams that need content forking, review, and merge workflows; websites that need semantic search and in-site AI chat; and developers who want to customize development by forking the codebase.

[Limitations]

Requires Go 1.24+ and MongoDB Atlas. RSS/Atom feed URLs and webhook URLs must be publicly accessible; private and loopback addresses will be rejected. Without an Anthropic API key, the chat component degrades to a search-style experience; without a Voyage API key, search degrades to full-text search. Forked copies cannot be published directly or in bulk, and can only go live through merging. The materials do not provide specific fee or pricing information.