Skip to main content
Glama

CI Paperboy CMS MCP server – quality and maintenance score on Glama

The MCP-first headless CMS. Point Claude, Cursor or any MCP client at Paperboy and it can build pages, translate them, fix SEO, migrate redirects and publish on a schedule — as a real user, with that user's permissions, through the same validation and audit trail as your editors. Then open the admin: a visual editor where you click any text on your live site and change it.

Agents do the volume. People decide what goes live. Self-hosted, MIT, one container and a Postgres.

Paperboy ONE — Open, No Extras. · DPX — Don't Pay eXtra. A proper headless CMS without the "experience platform" invoice.

The website you build on is a separate repo, the Astro starter.

Two front doors, one CMS

Your agent (MCP)

Your editors (admin)

Gets in with

OAuth sign-in with a Paperboy login (2FA included) or a site-scoped token

Password, or email + TOTP code once 2FA is on

Sees

Only the tools its role can use — an Author is never offered publish, users or webhooks

Only the sections and actions its role allows

Writes through

The same Zod validation, RBAC and audit log — parity is test-enforced

← same

Is recorded as

via: mcp on every version, badged Agent edited

via: web

Related MCP server: agent-cms

Connect your agent

  1. In Claude or Cursor, add https://<your-domain>/mcp as a connector.

  2. Sign in with your Paperboy login and pick which site it may work in.

  3. Ask for something real:

  • "Write a post about our summer opening hours in Norwegian, put it under Blog, and schedule it for Monday 09:00."

  • "Here are 40 URLs from our old WordPress sitemap. Redirect each to the matching page and check every one lands in one hop."

  • "Create an FAQ page type and fill it from this document."

  • "Which pages are missing a meta description? Draft them, don't publish."

  • "Who changed the home page last week, and what did they change?"

  • "Export this month's contact-form submissions."

Running locally? An admin mints a token in Settings → Agent access and use stdio — see MCP setup.

Why "MCP-first" means more than an MCP server

Every rule below exists because a real agent run broke without it.

  • You decide how much to trust it. Every version records whether a person or an agent wrote it, and agent drafts are badged Agent edited. Switch on agent review (Settings → Agent access) and agent drafts become Needs review: the agent can still write, but nothing goes live until a person approves.

  • Nothing an agent does is permanent by accident. Full version history, a trash with restore, drafts by default, scheduled publishing instead of fake dates in a field.

  • Errors teach instead of fail. A bad write is refused with the field name, the expected JSON shape and a copyable example, so the agent fixes it in one step. Paperboy never "succeeds" with mangled data — that once sent an agent into a nine-attempt loop.

  • Guard rails for agent-typical mistakes. Norwegian text can't silently land on the English branch. A blog post created at the root gets told where it belongs. Updates merge instead of wiping fields.

  • Long text survives the trip. set_field takes one flat string, because some clients mangle long strings nested in JSON.

  • Files from the agent's own machine. create_upload_link gives the agent a 15-minute upload URL; no base64 through the context window.

  • Tested the way agents use it. CI drives the real MCP server through editorial tasks — a deterministic driver on every push, a real model every week — and tool descriptions are graded publicly (the Glama badge above). The full rules are in CLAUDE.md.

Where to start****Where to start

You want to…

Go to

Connect an AI agent

Connect your agent · MCP setup

Try it in five minutes

Quickstart · Windows, no experience needed

Build a website on it

Astro starter, or any framework with @paperboycms/client and @paperboycms/preview

Run it for real

Production · Backups

Work on the CMS itself

Developing · CONTRIBUTING.md · CLAUDE.md

See it

Click any text on your page and edit it right there. The preview is your real frontend, not a mock-up, and it updates as you type.

Your site stays yours. This is the Astro starter's demo site, every page of it built through the Management API. One command runs it with the CMS: docker compose -f docker-compose.demo.yml up -d --build.

Highlights

Built for agents

  • MCP server — OAuth 2.1 sign-in or site-scoped tokens; acts as a user and lists only the tools that user's role can use. See why MCP-first.

  • Secure by default — Argon2id, server-side sessions, CSRF, TOTP 2FA, deny-by-default RBAC with object-level scopes, append-only audit log.

  • Typed client SDK — @paperboycms/client, typed from the same Zod schemas the server serializes with. No codegen.

Content

  • Content types are data — pages, blocks and globals are defined in the admin, not in code. Content areas hold inline or shared blocks; a built-in template library covers the essentials.

  • Multisite — several sites in one instance, each with its own delivery keys, media, preview URL and start page. Types, languages and users are shared.

  • Multi-language with a fallback chain, hierarchical URLs from the page tree, version history, trash. Translation gaps show in the tree and on the dashboard.

  • Forms with submissions in your database — a form is content. Delivery ships it as a schema, submissions are validated server-side against the published form, and errors come back per field. Spam checks on by default, retention runs, erase-by-email is one audited action. One spread makes a form a WebMCP tool for in-browser agents.

  • A/B experiments — test a content area of a page against up to three other versions. The frontend picks a version server-side (no flicker), counts are stored per day with no visitor data, cookieless by default, and no winner is named before the planned sample size. The winner becomes the area's draft.

Delivery

  • One read path, no leaks — public keys see published content, preview keys see drafts, private fields never serialize. Lists filter, sort, paginate and search; every item carries fieldTypes so frontends switch on schema.

  • SEO and structured data computed by the CMS — meta, canonical, OpenGraph, Twitter and JSON-LD (Organization, breadcrumbs, FAQ Question/Answer, dateModified) on every page. Preview is always noindex.

  • Public files generated from content — robots.txt, sitemap.xml, llms.txt and security.txt.

  • Redirects that keep link equity — a rename or move records a 301 on publish. The frontend matches one manifest with matchRedirect; a 404 log shows what visitors miss.

  • Image transforms — ?w=800&format=webp&q=75 on any media URL, generated once and cached.

  • Webhooks — HMAC-signed content.published, form.submitted and delivery.changed for every move, sort or settings change, so a cache can purge on webhooks alone.

Editing

  • Visual on-page editing — click an element in the preview to edit its field, drag blocks onto the page, cross-origin included. The bridge is @paperboycms/preview.

  • Admin — React 19, light/dark, ⌘K palette, keyboard-operable drag-drop, axe-clean. The dashboard deep-links gaps, missing alt text and unused blocks.

  • AI writing assistant (optional; Anthropic or any OpenAI-compatible endpoint) — improve, rewrite, translate, alt text from the image, schema.org suggestions. With no key it refuses instead of faking output.

How it compares

What ships in the box as of 2026-10-17. core = built in · plugin · paid · no. Every cell is sourced in docs/comparison-sources.md; corrections welcome.

Paperboy

Strapi

Payload

Directus

Sanity

License

MIT

MIT + paid tiers

MIT

source-available

closed backend

Self-host

one image

Node app

your Next.js app

one image

no

Forms, validated server-side

core

plugin

plugin, partial

no

no

SEO meta + JSON-LD from the CMS

core

plugin, no JSON-LD

plugin, no JSON-LD

plugin, no JSON-LD

no

Auto 301 on rename

core

plugin

plugin, manual

no

DIY

MCP server acting as a user

core

core

plugin (beta)

core

core

Multisite

core

no

plugin

pattern

datasets

Click-to-edit on the live page

core

paid

soon

core

core

GraphQL

no

plugin

core

core

core

Hosted option

no

paid

paused

paid

yes

Ecosystem

none yet

large

growing

growing

large

Quickstart

1. Run the CMS (Docker):

./scripts/setup.sh       # writes .env with unique secrets and your admin password — required
docker compose up -d     # db → init (migrate + seed) → api, which also serves the admin
# Admin  http://localhost:8090    API  http://localhost:8091  (OpenAPI UI at /api/docs)

setup.sh is safe to re-run and never overwrites .env. Paperboy refuses to boot on the placeholder secrets in this repo and refuses to seed production with the published demo login.

2. Run the website. The Astro starter renders every built-in content type and is where your site lives:

git clone https://github.com/hybriden/paperboy-astro-starter my-site
cd my-site && npm install && npm run setup && npm run dev   # http://localhost:4321

The admin's side-by-side preview points at http://localhost:4321 by default. apps/web in this repo is a Next.js contract reference, not a site to build on; it is opt-in (docker compose --profile web up -d web, :8092).

🪟 Windows, no experience needed

  1. Install Docker Desktop, restart if asked, open it and wait for Engine running.

  2. Download Paperboy: GitHub → green Code button → Download ZIP → right-click → Extract All….

  3. Open a terminal there: open the extracted folder in File Explorer, type powershell in the address bar, press Enter.

  4. Create your login (required; it gives your copy its own private keys):

    powershell -ExecutionPolicy Bypass -File .\scripts\setup.ps1

    It prints an email and password. Save them now, they cannot be shown again.

  5. Start it: docker compose up -d (the first run downloads for a few minutes).

  6. Open http://localhost:8090 and log in.

Everyday: docker compose stop / docker compose start / docker compose ps.

⚠️ Never run docker compose down -v once you have content: -v deletes the database. If a page won't load, check that Docker Desktop says Engine running.

Production

The generated .env targets localhost. Before exposing a real host set COOKIE_SECURE=true, drop ALLOW_INSECURE_COOKIES, and point CORS_ORIGIN at the admin's HTTPS origin. Redeploy one service with docker compose up -d --no-deps --force-recreate <svc>; the seed refuses to wipe a database that holds content unless FORCE_SEED=1. The deploy-safety rules are in CLAUDE.md.

Without a VM. One container, no proxy: it fits any "run a container" platform (App Service, Container Apps, Cloud Run, Fly, Render, Railway) plus a managed Postgres.

Setting

Value

Image

ghcr.io/hybriden/paperboy-app:latest

Port

the platform's PORT (or API_PORT)

DATABASE_URL

postgresql://…@host:5432/paperboy?sslmode=require

Secrets

SESSION_SECRET, CSRF_SECRET, MFA_SECRET via openssl rand -hex 32; PREVIEW_SECRET too, set to the same value on your frontend, for draft preview

CORS_ORIGIN

the admin's HTTPS origin, with COOKIE_SECURE=true

TRUST_PROXY

the load-balancer range, so rate limits see real IPs; include your frontend's address if it forwards visitors' (submitForm({ visitorIp }))

DELIVERY_RATE_MAX

delivery reads per route per minute from one address (default 6000); your frontend's server is one address

Storage

a persistent volume at /app/uploads

Remote MCP

MCP_EMBEDDED=true serves the MCP inside the same container at {PUBLIC_URL}/mcp

Run one replica: rate limits and the publish/retention timers are in-process. Migrations run on boot. Create the first admin by running the image once with pnpm --filter @paperboy/db seed and real SEED_ADMIN_EMAIL, SEED_ADMIN_PASSWORD, PAPERBOY_PUBLIC_KEY, PAPERBOY_PREVIEW_KEY.

Without a Postgres server. For a demo or a small site, DATABASE_URL=pglite:///data/db runs Postgres inside the container (PGlite, the same schema and migrations) with the database in a folder. Seeded on first boot, never reseeded:

docker run -d -p 8090:8091 -v paperboy:/data \
  -e DATABASE_URL=pglite:///data/db -e UPLOADS_DIR=/data/uploads \
  -e SESSION_SECRET=$(openssl rand -hex 32) -e CSRF_SECRET=$(openssl rand -hex 32) \
  -e COOKIE_SECURE=false -e ALLOW_INSECURE_COOKIES=true -e ALLOW_DEMO_CREDENTIALS=true \
  ghcr.io/hybriden/paperboy-app   # http://localhost:8090, admin@paperboy.test / Admin!Passw0rd

That is a localhost demo. Exposed, use HTTPS settings and real seed values as below. It is one Postgres session, so writes queue: fine for a small site, not for heavy traffic. Expect ~0.5 GB of memory. Back it up with ops/backup-pglite.sh, which stops the container for a few seconds, archives the volume and starts it again.

Accounts. Your admin login is what setup.sh printed. The demo logins (editor@, author@, viewer@, passwords <Role>!Passw0rd) are development fixtures: a production seed creates only the admin unless ALLOW_DEMO_CREDENTIALS=true.

Backups

Nothing backs itself up. ops/backup.sh is a working reference: nightly pg_dump plus a tar of the uploads volume, 14-day rotation, alert on failure. It refuses to succeed with an empty media archive and writes mode-600 files, because a backup is a full credential dump and, once you have forms, visitor personal data. Cron lines and the restore procedure are in ops/README.md. Known gap: backups land on the same disk as the data; add one rclone copy line once you have a bucket.

MCP setup

Remote clients (Streamable HTTP). Start the MCP container; the api forwards /mcp to it, so clients use the admin's own domain:

docker compose --profile mcp up -d --no-deps mcp      # → https://<your-domain>/mcp

On a one-container host, set MCP_EMBEDDED=true on the api instead and it serves the MCP itself.

Local clients (stdio). The client starts the server, so this goes in its config, not a terminal. An admin mints a token in Settings → Agent access and point -C at your Paperboy checkout (after pnpm install):

{
  "mcpServers": {
    "paperboy": {
      "command": "pnpm",
      "args": ["-s", "-C", "/path/to/paperboy", "--filter", "@paperboy/mcp", "start"],
      "env": {
        "MCP_TOKEN": "mcp_…",
        "DATABASE_URL": "postgresql://paperboy:paperboy@localhost:5433/paperboy"
      }
    }
  }
}

Keep -s: without it pnpm prints its script banner to stdout, which corrupts the stdio protocol.

The MCP acts as a Paperboy user and inherits its permissions. Tokens are minted per site (or for every site); PAPERBOY_SITE pins a server to one site, and every per-site tool also takes a per-call site.

Toolsets. A connection lists the content tools by default (writing, editing, publishing, media). The rest is opt-in, so an agent writing a page isn't choosing among user and webhook tools:

Toolset

For

content (default)

pages, blocks, globals, versions, trash, media, the writing assistant

delivery

what the public website receives (published output, search)

schema

content types and type templates

redirects

redirect rules and the 404 log

experiments

A/B tests of a page's content area: set up, start, pause, read results, end

forms

form submissions (export, erasure)

admin

users, delivery keys, webhooks, audit log, start page

Pick them with PAPERBOY_TOOLSETS=content,redirects on the server (in .env with Docker Compose), or per connection on the URL: https://<your-domain>/mcp?toolsets=content,redirects (all lists everything). Your role still decides what you may do; a tool outside the chosen toolsets answers with how to enable it.

OAuth for remote clients. Add https://<your-domain>/mcp as a connector in Claude or Cursor. The client registers itself, sends you through Paperboy's own login (with 2FA), and a consent screen asks which site the connection may work in. Revoke it in Settings → Connected apps. One domain is enough: the API forwards /mcp and serves /.well-known/oauth-*. For other layouts set PUBLIC_URL (the issuer, default CORS_ORIGIN) and MCP_PUBLIC_URL (default {PUBLIC_URL}/mcp) on both api and mcp.

Files from the agent's machine. create_upload_link mints a 15-minute link the agent curls files to (POST /api/v1/uploads, 20 files of 5 MB per request). upload_asset takes a public URL or base64.

The npm packages

Frontends integrate against these two packages, not the CMS codebase. Both are versioned independently.

@paperboycms/client — dependency-free, typed end to end:

import { createClient, mediaUrl } from "@paperboycms/client";

const cms = createClient({ baseUrl: "https://cms.example.com", key: process.env.PAPERBOY_PUBLIC_KEY! });
const post = await cms.getBySlug<BlogPost>("hello-world", { locale: "en" });
const { items } = await cms.list<BlogPost>("BlogPost", { sort: "-data.publishDate", limit: 10 });
const src = post?.data.image && mediaUrl(post.data.image.url, { w: 640, format: "webp" }); // image fields arrive as {url, alt, …}

Also getByPath, startPage, global, search, render helpers that follow fieldTypes, matchRedirect, applyExperiments for A/B tests, formToolAttrs for WebMCP forms, preview-token verification and an optional ETag cache. 404s return null, other errors throw PaperboyError. Full README.

@paperboycms/preview — zero-dependency bridge that makes any frontend editable inside the admin's preview. Call initPreviewBridge() in preview mode and mark the DOM with data-pb-field, data-pb-area and data-pb-block-index (or let the client's pbAreaAttrs emit them). Full README.

Developing

apps/api         Fastify v5 — Management API (auth/RBAC) + Delivery API (read-only, key-scoped); serves the admin
apps/admin       React 19 + Vite — the editor
apps/web         Next.js 15 — reference frontend, pins the delivery contract (opt-in)
apps/mcp         MCP server (stdio or Streamable HTTP)
packages/shared  Zod schemas + types (single source of truth) + the AI provider
packages/db      Drizzle schema, migrations, query layer (object-level authz), seed
packages/client  @paperboycms/client — typed Delivery API SDK (npm)
packages/preview @paperboycms/preview — on-page-editing bridge (npm)
pnpm install
docker compose up -d db
export DATABASE_URL=postgresql://paperboy:paperboy@localhost:5433/paperboy
export UPLOADS_DIR=$PWD/.uploads            # the default, /app/uploads, is the container path
pnpm db:seed
pnpm dev                                    # api :8091, admin :8090, web :8092 (mcp waits for MCP_TOKEN)

pnpm --filter @paperboy/api test            # integration tests against a real Postgres
pnpm --filter @paperboy/admin test:e2e      # Playwright e2e + axe

CI also runs the MCP usability eval (evals/) on every push with a deterministic mock driver and weekly with a real model. Rules of the road: CONTRIBUTING.md. Everything about deploy safety, auth, the content model and the incidents behind each rule: CLAUDE.md. Stack choices: STACK.md. Research behind the bigger features: docs/plans/. Vulnerabilities: SECURITY.md.

License

MIT — Don't Pay eXtra. 📰

Available Tools

25 tools
assist_writingA
Read-only

Run the CMS's writing assistant on a piece of text: SEO titles and descriptions, summaries, polishing, rewrites, variants, translation, drafting from a brief, schema.org field suggestions. Returns {result, provider}: result is the text (for variants, a JSON array of 3 strings). It saves nothing — write the result with set_field or update_content. It uses the model set in Settings → AI provider; without one, only meta_title, meta_description and summarize work (by truncation) and the rest are refused with a hint. It cannot write image alt text, since it never sees the image: write that yourself and save it with update_asset_alt. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: task (required), input (required), targetLocale.

copy_variantA
Destructive

Copy a document's working version (name, slug and EVERY field) from one locale to another, server-side and atomically. USE THIS to move content that landed in the wrong language branch — re-typing it field by field loses fields. It REPLACES the target locale's draft (its unpublished edits are lost; its published version stays live until you publish_content the copy). The text is copied as-is: to translate it afterwards, run assist_writing {task:'translate'} and save with set_field. Returns the target locale's new draft in the get_content shape. To copy into a NEW item instead, use duplicate_content. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: toLocale (required), documentId (required), fromLocale (required), site.

create_contentA

Create a new content item (page, block or global) as an unpublished draft, filled in ONE call: pass its fields in data (shapes from list_content_types {name}). Without data you get an empty shell that stays blank until update_content/set_field fills it. A page's position decides its URL and the template that renders it, so find the right parentId with list_tree (blog posts go under their blog page); omit it only for top-level sections. Under a list page, omit type to inherit the type it lists — a mismatch is refused, since the item would never appear on that list. Returns the new item in the get_content shape (documentId, locale, revision, data…), plus a hint when it still needs filling or placing. Then publish_content. To copy an existing item instead, use duplicate_content. Requires the content.create permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: name (required), data, site, slug, +5 more.

delete_assetA
Destructive

Permanently delete a media asset — by the asset's documentId from list_assets, not a page's — removing the database row and the stored file. Irreversible. Content that still points at it is not blocked: delivery resolves those fields to null, so the image silently disappears from those pages — clear or replace them first. To stop using an image on one page, just clear that field with set_field and keep the asset. Returns {ok:true}. Requires the content.delete permission (Admin, Editor).

Inputs: documentId (required), site.

discard_draftA
Destructive

Throw away the unpublished draft changes of one item (documentId) in one locale (omitted: the item's own language), so the working version falls back to the published one. The live site is unchanged; the discarded draft cannot be recovered. Refused for content that was never published (there is nothing to fall back to) — use trash_content to remove that instead. To roll back to an older version rather than the live one, use restore_version. Returns {ok:true}. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: documentId (required), site, locale.

duplicate_contentA

Copy a content item into a NEW unpublished document beside the original (same parent), named " (copy)", with every field of each locale's working version. A copied page gets a fresh slug, so it never collides with the original's URL. Children are not copied. locale only picks which language of the copy comes back. Returns the new item in the get_content shape; edit it, then publish_content. To copy one language into another locale of the SAME item use copy_variant; to start from nothing use create_content. Requires the content.create permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: documentId (required), site, locale.

get_contentA
Read-only

Read one content item for editing: its working version (the draft if one exists, else the published version) in one locale, with name, slug, status, revision and the full data field map. Read this before update_content so you merge into current values, and pass its revision when replacing with merge:false. data maps each field name to its value in the shape list_content_types reports (valueFormat). An unknown documentId, or one from another site, is refused as not found (pass site for another site); omit locale for the item's own language. This is the editing view; for the public view (published only, private fields removed) use delivery_get, in the delivery toolset. Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: documentId (required), site, locale.

list_assetsA
Read-only

List this site's whole media library (images and PDFs), newest first, in one call (no paging, so a big library is a big response): each asset's documentId, filename, mime, size, public url, alt text, attribution for stock imports, and folder. Media is per site: pass site to see another site's library. An empty library gives []. Use it to reuse an existing image: an image field stores the asset's documentId, set with set_field. To add a new file use upload_asset (URL, base64 or stock photo) or create_upload_link (files on your machine). Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: site.

list_contentA
Read-only

List EVERY item of one kind in this site that you can see, as one flat array (documentId, name, type, per-locale status, plus parentId for pages and folderId for blocks) — no tree walking needed. kind 'page': pages, to find one by name or pick a parent/reference target (list_tree shows one level in display order). kind 'block': SHARED blocks — reusable block documents (banners, forms, CTAs…) that pages place by reference, so one edit updates every page using them; inline blocks live inside a page's data and are not listed. kind 'global': singletons (header, footer, site settings…), which are neither in the page tree nor blocks, so this is the only way to enumerate them. kind 'trash': items removed with trash_content (any kind), newest first, with deletedAt; nothing is purged automatically, and restore_content brings one back. Everything comes back in one call (no paging). Edit any of them with get_content/update_content on its documentId. Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: kind (required), site.

list_content_typesA
Read-only

Read the content model of a site: the types every site shares plus the site's own (siteId null = shared). Pass name to get ONE type's definition — name, kind, displayName, schemaType and fields (name, type, required, options, allowed blocks of a content area…); an unknown name is refused with the list of real names. Call this before writing content of a type. Each field carries valueFormat + valueExample: the exact JSON shape create_content/update_content expect. These are LIVE types editors fill in; reusable type recipes (templates) live in the schema toolset. Omit name to get every full definition, which is large, so prefer name. Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: name, site.

list_sitesA
Read-only

Report where this server acts and in which languages. Returns: sites (every site you can reach: id, slug, name), activeSiteId, tokenScopedTo (the one site your token is limited to, or null), activeSite (startPageId — the page served at /, or null — and previewBaseUrl, where the admin previews a page as {previewBaseUrl}/{locale}{urlPath}), and locales (enabled language branches in order: code, displayName, isDefault, fallback). It lists no content (use list_tree or list_content for that). Use it to pick the locale matching the language you write, so text lands in the right branch, and a slug to pass as site to other tools (pass site here too to see that site's setup). Content in another site is invisible to every tool, so an empty tree or search usually means the wrong site, not missing content. Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: site.

list_treeA
Read-only

List ONE level of the page tree: the direct children of parentId, or the top-level pages when it is omitted, in the order the container sorts them, the whole level in one call. Returns an array of nodes, each with documentId, type, name, per-locale status and hasChildren — call list_tree again with a node's documentId to go deeper. Trashed pages are left out, and a page without children (or a parentId that matches nothing) gives [] rather than an error, so check hasChildren first. Use it to find the parentId for create_content/move_content. For every page at once use list_content {kind:'page'}; shared blocks and globals are not in the tree (list_content with kind block or global). Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: site, parentId.

list_versionsA
Read-only

List a content item's version history in one locale, newest first and complete (no paging); locale picks the language branch (omitted: the item's own). Each version's id, versionNumber, status, whether it is the live one, name, and who created it when. An unknown documentId is refused as not found. Use it to find what to roll back to — pass a version's id (not its versionNumber) to restore_version. For the current draft itself, use get_content. Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: documentId (required), site, locale.

move_contentA
Idempotent

Move a page in the page tree: parentId re-parents it (its URL path follows its new position, and the old URL gets a 301 automatically), beforeId/afterId place it among its siblings. Its whole subtree moves with it. Refused when the new parent is the page itself, is not a page, or lies outside your sections. Sibling order only sticks under a parent with a manual child sort; a computed sort (name, date…) re-orders it. Returns {ok:true}. To change only the URL's last segment, set a new slug with update_content instead; blocks and globals are not in the tree. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: documentId (required), site, afterId, beforeId, +1 more.

publish_contentA

Make a content item's working draft live in one locale (a LANGUAGE BRANCH: Norwegian text published into 'en' lands on the English site, so a clear mismatch is refused). A future publishAt SCHEDULES it instead: it stays invisible until then; call again with a new publishAt to reschedule, or without one to go live now. expireAt unpublishes it automatically later. Never fake a schedule with a date field — that publishes now. A changed slug or position gets a 301 from the old URL. Fires content.published. Refused when there is nothing new to publish, when required fields are empty (the error names them), or, if the site requires human review of agent drafts, until an editor approves it. Returns the item in the get_content shape with its new status. To take it down use unpublish_content; to drop unpublished edits, discard_draft.

Inputs: documentId (required), site, locale, expireAt, +2 more.

restore_contentA

Bring a trashed item back to its old place in the tree, together with the descendants that were trashed with it. Restored content is NOT republished — call publish_content for each locale that should go live. Refused if its parent is still in the trash (restore that first) or a live sibling took its URL meanwhile. There is no locale to pass: every language comes back. Returns {restored: }. Find trashed ids with list_content {kind:'trash'}. To roll back an item that is not trashed, use restore_version instead. Requires the content.delete permission (Admin, Editor).

Inputs: documentId (required), site.

restore_versionA
Destructive

Roll back an item to an older version: copy that version's name, slug and fields into the working draft of one locale. versionId is the version's id from list_versions of the SAME locale, not its versionNumber. It REPLACES the current draft of that locale, so unpublished edits there are lost; published versions stay in the history (a rollback can itself be rolled back), and nothing goes live until you publish_content. Returns the new draft in the get_content shape. To bring back a TRASHED item use restore_content; to simply drop unpublished edits use discard_draft. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: versionId (required), documentId (required), site, locale.

search_stock_imagesA
Read-only

Search the configured stock photo provider (Settings → Stock images; Unsplash) for photos to use on a page. Returns up to 24 candidates, best match first, each with id, description and attribution; nothing is stored yet. To USE one: upload_asset {stockImageId: } imports it into the media library, then set_field the returned asset documentId on an image field. Refused with a hint when no provider key is configured. To reuse a photo you already have, list_assets. Requires the content.read permission (Admin, Editor, Author, Viewer — an Author only within their own sections).

Inputs: query (required), site.

set_fieldA
Idempotent

Write ONE field of an item's draft as a plain string; the other fields are kept. It is the safest way to send long text or Markdown, because a flat string survives client serialization that can mangle long strings nested in update_content's data. field is a text, markdown, select, datetime or image field from list_content_types {name} (an image takes an asset documentId), or name for the item's display name; value is the field's whole new value. For richtext, contentArea or reference fields, or several fields at once, use update_content. A value the field can't take is refused with the expected shape and an example; text in another language than the locale branch is refused unless allowLanguageMismatch. Like any agent edit, it cancels a pending scheduled publish. Returns the saved draft in the get_content shape; publish_content separately. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: field (required), value (required), documentId (required), site, +2 more.

trash_contentA

Move a content item (by documentId) AND its whole page subtree to the trash: every locale is unpublished at once and disappears from delivery, so there is no locale to pass. Recoverable — restore_content brings it back (as drafts; publish again explicitly). An unknown documentId is refused as not found. Returns {trashed: }. To only take it off the live site, use unpublish_content instead. Requires the content.delete permission (Admin, Editor).

Inputs: documentId (required), site.

unpublish_contentA
Destructive

Take a content item off the live site in one locale: delivery stops serving it there (its URL starts answering 404) and content areas that reference it drop it. Fires the content.unpublished webhook. The content and its version history are kept, so publish_content brings it back. Name the item by documentId and the branch by locale (omit it for the item's own language); other locales are unaffected. Returns the item in the get_content shape, now unpublished in that locale. To remove the item entirely use trash_content. Requires the content.publish permission (Admin, Editor).

Inputs: documentId (required), site, locale.

update_asset_altA
Idempotent

Set (overwrite) an image asset's alt text — the description screen readers announce and search engines index. Alt text belongs to the ASSET, not to a page: every page showing the image picks up the change, and set_field/update_content cannot set it. documentId is the asset's (from list_assets or an upload), not a page's; an unknown one is refused as not found. Describe what the image shows in one sentence; use "" only for a purely decorative image. Returns the updated asset with its new alt. assist_writing cannot write alt text (it needs the image itself), so look at the image and write it. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: alt (required), documentId (required), site.

update_contentA
Idempotent

Save fields into a content item's working draft; nothing goes live until publish_content. Each value's shape follows its field type (list_content_types {name} gives valueFormat): text/markdown → string; richtext → TipTap doc {type:'doc',content:[…]}; contentArea → array of block instances; reference → {documentId}; image → asset documentId. data is MERGED over the draft by default, so omitted fields are kept; merge:false replaces the whole map (send every required field, and the get_content revision so a concurrent human edit is refused with 409 instead of overwritten). For one LONG text/markdown value use set_field: nested long strings can be mangled in transit. A value of the wrong shape is refused with the field, the expected shape and an example; text in another language than the branch is refused unless allowLanguageMismatch. An agent's edit marks the draft for review and cancels a pending scheduled publish of it. Returns the saved draft in the get_content shape, with its new revision. Requires the content.update permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: data (required), documentId (required), name, site, +6 more.

upload_assetA

Add a file (PNG, JPEG, GIF, WEBP or PDF, max 5 MB) to the media library from exactly one source: a public URL, base64 bytes, or a stock photo id from search_stock_images (stored with its attribution). Returns the new asset — set its documentId on an image field with set_field. Each call stores a NEW asset, even for a file already in the library (reuse one via list_assets). A URL must be publicly reachable: private-network addresses are refused at every redirect hop, and a download over 5 MB is cut off with an error. For files on YOUR machine prefer create_upload_link: base64 through a tool call costs roughly 1 token per 2-3 bytes. Requires the content.create permission (Admin, Editor, Author — an Author only within their own sections).

Inputs: alt, url, site, filename, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 25 tools

    Disambiguation4/5

    Each tool targets a distinct resource+action, and near-pairs are explicitly cross-referenced (copy_variant vs duplicate_content, restore_version vs restore_content, update_content vs set_field, list_tree vs list_content vs get_content). With 25 tools there are a few pairs an agent must read carefully (restore_content/restore_version, unpublish vs trash vs discard_draft), but descriptions resolve them well.

    Naming Consistency5/5

    Consistent snake_case verb_noun pattern throughout: list_*, get_*, create_*, update_*, publish_content, move_content, trash_content, upload_asset, delete_asset. The only slight outlier is assist_writing, which still fits the verb_noun convention.

    Tool Count3/5

    The domain genuinely spans content CRUD, publishing lifecycle, versioning, page tree, media, stock search, and site/locale setup, so nearly every tool earns its place. Still, 25 tools is at the heavy end and strains an agent's context and selection reliability.

    Completeness4/5

    Content covers full lifecycle (create, read, update, set_field, publish, unpublish, draft discard, version list/restore, trash/restore, duplicate, move, copy variant), and media covers list/upload/link/alt/delete. Minor gaps: no per-asset read/metadata edit beyond alt text, no media folder management, and content-type/schema and delivery operations live in separate toolsets.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A self-hosted content engine with an MCP interface that enables AI agents to read, write, and manage content models through tools like describe_model, create_type, draft, and publish.
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Agent-first headless CMS running as a Cloudflare Worker, providing MCP servers for schema/content management and editorial operations.
      25 npm
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP-native CMS that lets you create and edit content by chatting, with typed schemas and seamless publishing.
      4
      MIT