Skip to main content
Glama
Clearon Editorial Pipeline MCP

Clearon Editorial Pipeline MCP

by kwgoodwin

Clearon Editorial Pipeline MCP

MCP server for immutable editorial revisions, explicit human approval, and draft-only publishing handoffs.

The server does not write prose and does not claim to detect AI authorship. Its job is to preserve revisions, expose transparent style heuristics, and require explicit human review before export.

What it does

  • Creates append-only editorial projects.

  • Preserves immutable revisions with SHA-256 fingerprints.

  • Validates and normalizes declared source_urls metadata.

  • Flags style heuristics without pretending to be an authorship detector.

  • Requires explicit editorial, factual, and quotation review confirmations.

  • Exports draft-only WordPress payloads for a separate publishing workflow.

  • Carries forward the latest matching source-audit gate for article exports.

Related MCP server: Clearon WordPress MCP

What it does not do

  • It does not publish.

  • It does not make editorial decisions for you.

  • It does not verify sources or quotations against external material.

  • It does not sanitize raw HTML exports automatically.

Requirements

  • Node.js 20 or newer

  • A local MCP client that can launch a stdio server

Installation

cd tools/clearon-editorial-pipeline-mcp
npm install
npm test
npm run smoke

MCP client setup

Example stdio configuration:

{
  "mcpServers": {
    "clearon-editorial-pipeline": {
      "command": "node",
      "args": ["/absolute/path/to/clearon-editorial-pipeline-mcp/server.mjs"]
    }
  }
}

Storage

By default, project data is stored outside the repository in a user data directory:

  • macOS: ~/Library/Application Support/clearon-editorial-pipeline-mcp/projects

  • Linux: ${XDG_DATA_HOME:-~/.local/share}/clearon-editorial-pipeline-mcp/projects

  • Windows: %APPDATA%\\clearon-editorial-pipeline-mcp\\projects

Override that location with CLEARON_EDITORIAL_ROOT.

Each project stores:

  • project.json

  • revisions/*.txt

  • revisions/*.json

  • approvals/*.json

  • handoffs/*.json

  1. Call create_editorial_project.

  2. Call audit_revision.

  3. Rewrite the content in your normal editorial environment.

  4. Call propose_revision.

  5. Review the exact proposed text, protected passages, protected blocks, and audit output.

  6. Call apply_revision.

  7. Call approve_revision only after human editorial, factual, and quotation review.

  8. Call export_wordpress_payload.

  9. For article projects, make sure the latest source-audit report matches the approved revision. Export requires that report to be ready_for_human_approval.

  10. If the exported payload includes pending source_audit.pending_publish_update_review_findings, keep going with dry-run review only. Publish or update must wait for explicit user approval of those exact source-integrity items.

  11. Run the exported payload through a separate publishing dry-run workflow.

Tools

  • get_server_health

  • create_editorial_project

  • list_editorial_projects

  • get_editorial_project

  • audit_revision

  • propose_revision

  • apply_revision

  • approve_revision

  • export_wordpress_payload

HTML exports

If a project uses content_format=html, export_wordpress_payload requires trusted_html=true.

For content_type=article, export_wordpress_payload also reads the latest source-audit report for the same slug from CLEARON_SOURCE_AUDIT_ROOT or the default Clearon source-audit data directory. The report must match the approved revision fingerprint and be ready_for_human_approval. When ready_for_publish_or_update is still false, the payload records the pending source-integrity review list so downstream dry runs can surface it and real publish/update flows can block on it.

That requirement is explicit because the server passes stored HTML through as-is. If you need sanitization, do it in a separate trusted preprocessing step before export.

Protected passages

protected_passages are not just substring checks anymore. At project creation, the server captures the full original block containing each protected passage and later revisions must preserve that exact protected block. This is still a lightweight structural safeguard, not a full semantic diff or legal-redline system.

Development

npm test
npm run smoke
npm run syntax

Available Tools

9 tools
apply_revisionB

Append an immutable revision after an exact proposal review; never overwrites prior text.

Inputs: slug (required), base_sha256 (required), change_summary (required), revised_content (required).

approve_revisionC

Approve the current revision only after explicit editorial, factual, and quotation review confirmations.

Inputs: slug (required), revision (required), revision_sha256 (required), factual_review_completed (required), +4 more.

audit_revisionB

Run transparent Clearon style heuristics against a revision. This is not an AI-authorship detector.

Inputs: slug (required), revision.

create_editorial_projectC

Create a new Clearon editorial project with an immutable initial revision.

Inputs: slug (required), title (required), content (required), content_type (required), +3 more.

export_wordpress_payloadA

Create a draft-only payload from the approved revision for a separate publishing dry run. Does not publish.

Inputs: slug (required), tags, excerpt, categories, +2 more.

get_editorial_projectB

Read project metadata and a current or specified immutable revision.

Inputs: slug (required), revision.

get_server_healthA

Report editorial pipeline health, storage root, and review boundary.

Inputs: no named parameters.

list_editorial_projectsB

List editorial projects and their workflow status.

Inputs: no named parameters.

propose_revisionA

Validate a proposed rewrite without saving it; checks the current fingerprint, protected passages, and style heuristics.

Inputs: slug (required), base_sha256 (required), revised_content (required), change_summary.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 9 tools

    Disambiguation4/5

    Each tool targets a distinct action in the editorial workflow, and the descriptions generally clarify the resource being acted on. The only mild ambiguity is between audit_revision and propose_revision, since both involve style heuristics, but the existing-versus-proposed distinction is made clear.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern, such as get_editorial_project, propose_revision, and export_wordpress_payload. There are no mixed conventions or vague generic verbs.

    Tool Count5/5

    Nine tools is well-scoped for an editorial pipeline covering project creation, inspection, revision workflow, approval, and export. Each tool maps to a meaningful stage in the process without redundancy or bloat.

    Completeness4/5

    The core lifecycle—create, list, get, audit, propose, apply, approve, and export—is covered with no dead ends. Missing operations like project metadata updates or explicit rejection are minor given the immutable-revision design and the intentional dry-run export boundary.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables revision-bound source audits with exact article fingerprinting, claim-to-source mapping, quotation verification, and immutable JSON evidence reports for prepublication review.
      9
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables controlled WordPress publishing through the WordPress REST API with dry-run validation, source-audit gating, safe write/rollback, media upload, scheduling, and duplicate-post resolution.
      13
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables evidence-bearing change monitoring for public text pages, providing normalized diffing, SHA-256 hashing, and signed webhook notifications.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to inspect a WordPress blog, reuse existing media and taxonomy, prepare and update drafts, and publish only after explicit human approval through a narrow, auditable interface.
      MIT