Rustango-CMS Rustango-CMS v0.4
Open source · Version 0.4.0 is out

The page-tree CMS for Rust.

Editors get a friendly admin with live preview. Developers get typed page types, a headless API and one binary to deploy. Start on SQLite, grow into PostgreSQL or MySQL.

Get started →Read the docs

zsh — quickstart
$ cargo install rcms-scaffold
$ rcms new mysite --template blog
$ cd mysite && cargo run -- makemigrations
$ cargo run -- quickstart
/cms-admin/pages/edit
The Rustango-CMS page editor with a live preview beside the form
Capabilities

Everything an editorial team expects.Everything a developer wants.

No plugin hunt. The pieces fit together because they were built together.

Hierarchical page tree

Pages live in a tree and every page has a type: the fields editors fill in and the template that draws it. Define types in Rust, or build them in the admin.

Live-preview editor

A block editor with an outline of the page, validation as you type, and a side-by-side preview of the real template.

Headless JSON API

The same content as JSON: pages, menus and translations, with a draft preview mode for your own frontend.

Multilingual in 6 languages

Translate content per locale, and use the admin in Ukrainian, Polish, French, German, Chinese or Japanese.

Members and sign-in

Gate pages by permission, let visitors sign up, and add Sign in with Google with account linking that cannot be abused.

Forms, media and SEO

A visual form builder, an image library with automatic renditions, redirects, a sitemap and per-page metadata.

SQLite, PostgreSQL, MySQL

One codebase, three databases. Start on SQLite with no server, and move when you outgrow it.

MCP-ready for AI agents

A built-in MCP server lets an agent read and edit pages with exactly the permissions of the person who issued its key.

Multi-tenant hosting

Serve many sites from one process, by hostname or path prefix, each with its own database, theme and users.

Revisions and workflow

Revision history on every page. Schedule publishing, set an expiry, and route pages through review before they go live.

Built-in analytics

A page-view dashboard in the admin, collected by your own server. No third-party script to add.

Themes in minutes

Start from a ready-made blog, news or portfolio theme, then change colours, fonts and menus from the admin.

Performance

Fast without trying.

Real requests against this documentation site's own content, measured on a laptop: first every request rendered from the database, then the same pages from the built-in page cache. No CDN in either case.

73,837req/s · page cache
1,380req/s · JSON API, uncached
< 1 msmedian · cached
2–4 msrender from the database
~36 MBmemory when idle
69 MBone executable
0failed requests

Served from the page cache

requests per second · 64 connections · scale to 74k
Blog index73,837
This landing page68,564
Blog post63,666
Documentation page63,191

Rendered from the database on every request

requests per second · 64 connections · scale to 1.4k
JSON API · page list1,380
Documentation page795
Blog index575
This landing page295

Measured on 11 November 2026 on an Apple M3 Pro laptop with a release build on SQLite, using oha for 10 seconds per page at 64 connections. The cached runs use the in-memory page cache with a 300-second lifetime; signed-in visitors are never served from it, and edits show once an entry expires. The landing page is the heaviest page on the site. Memory rose to about 150 MB under the uncached load. Your numbers will differ with hardware and database; run it yourself: oha -z 10s -c 64 https://your-site/

Why Rustango-CMS

One program you own.Not a stack you maintain.

Most content sites end up running a CMS, a database, a separate frontend app and a pile of plugins. Rustango-CMS folds that into a single program.

The usual setup

Several moving parts

  • Three things to deploy. A CMS server, a database and a separate frontend app, kept in sync.
  • Plugins for the basics. Forms, SEO, translations and sign-in, each with its own upgrade path.
  • Fields checked late. Page fields are validated when a visitor hits the page.
  • Headless as an add-on. An API bolted onto a site built without one.
  • Several processes to monitor, restart and upgrade.
Rustango-CMS

One binary

~36 MB idle
  • One binary and a database, or just a file on SQLite.
  • In the box: forms, SEO, redirects, translations, members and sign-in, tested together.
  • Typed pages. Page types are Rust types: mistakes fail the build, not the visitor.
  • One source of truth. The pages you render and the JSON API read the same content.
  • One process to run, and a full security audit with its fixes shipped.

Read the full comparison, with benchmarks and caveats →

Model Context Protocol

MCP-ready.First-class in the agent era.

A built-in MCP server at /cms-admin/mcp. Give any MCP client a key and an assistant can find, draft and translate pages, upload media and edit templates, inside the rules you set.

  • Keys belong to people. An assistant can do only what its owner may.
  • Drafts first. Publishing is a separate skill; leave it off and nothing goes live.
  • Revoke in one click. A revoked key stops on the very next request.
  • Knows your page types before it writes a field.

Connect an assistant →Read the post

MCP · tools/call · create_pagedraft only
{
  "name": "create_page",
  "arguments": {
    "page_type": "product",
    "parent_id": 2,
    "title": "Speckled serving plate",
    "builder": { "price": 64, "glaze": "Satin white" }
  }
}
// → { "status": "draft" }
  • cms read8 tools: page types, search, pages, media, snippets
  • cms write5 tools: create, update, upload, attach
  • cms publish1 tool, off unless you grant it
  • cms templates5 tools: read, validate, write
  • cms translate1 tool: add and update translations
Strict typing

Define your content model in Rust.

Declare the type, name its template and say where it may live in the tree. The admin form, the tree rules, the API and the registry all come from that one declaration.

src/models.rsderive(PageType)
// A product page, allowed only under the shop page.
#[derive(PageType, Default)]
#[page_type(
    app = "shop",
    type_name = "Product",
    verbose_name = "Product",
    template = "product.html"
)]
pub struct Product;

impl PageTypeOverrides for Product {
    fn allowed_parent_types(&self) -> &'static [&'static str] {
        &["ShopPage"]
    }
}

Compile-time checks

A mistake in a page type fails the build, not a visitor's request.

Templates you own

Plain HTML templates, with helpers for menus, blocks, images and translations.

Extendable

Add admin screens, routes and extension tables for your own data.

Build your first site →Developer chapters

Documentation

Every guide, in order.

Start here

For editors

Build a ceramics shop

Get started today

Start shipping your content site.

Free and open source. Build one binary and run it on a small server, in a container or behind your own proxy.

cargo install rcms-scaffold && rcms new mysite

Get started →Star on GitHub