Clearon Content Archive MCP
Clearon Content Archive MCP
用于仅追加内容记录、已验证发布历史、社交媒体后续跟进以及便于检索的元数据的 MCP 服务器。
它旨在保留来源信息和工作流状态,而自身不发布任何内容。
它能做什么
按 slug 存储仅追加的内容事件。
维护物化快照以支持快速读取。
记录已验证的 WordPress 和社交媒体结果。
在不重写早期历史的情况下跟踪来源修正。
提供重叠搜索、清单和后续跟进报告。
验证事件历史是否与存储的快照完全匹配。
Related MCP server: What Brandon Thinks Chat MCP
它不能做什么
不向 WordPress 或社交平台发布内容。
不将标记为
publish的载荷视为已实际发布的证明。不做法律或编辑层面的真相判定。
不允许工件路径超出配置的工作区。
环境要求
Node.js
20或更高版本能够启动 stdio 服务器的本地 MCP 客户端
安装
cd tools/clearon-content-archive-mcp
npm install
npm test
npm run smokeMCP 客户端配置
stdio 配置示例:
{
"mcpServers": {
"clearon-content-archive": {
"command": "node",
"args": ["/absolute/path/to/clearon-content-archive-mcp/server.mjs"],
"env": {
"CLEARON_CONTENT_ARCHIVE_WORKSPACE": "/absolute/path/to/workspace"
}
}
}
}使用 CLEARON_CONTENT_ARCHIVE_WORKSPACE 定义用于验证本地工件路径的根目录。使用 CLEARON_CONTENT_ARCHIVE_ROOT 覆盖归档存储位置。
存储
默认情况下,归档数据存储在仓库之外的用户数据目录中:
macOS:
~/Library/Application Support/clearon-content-archive-mcp/content-archiveLinux:
${XDG_DATA_HOME:-~/.local/share}/clearon-content-archive-mcp/content-archiveWindows:
%APPDATA%\\clearon-content-archive-mcp\\content-archive
每条记录位于 records/<slug>/ 下,并存储:
events.jsonlsnapshot.json
验证与修复
verify_archive_record 是只读操作。它将重建的事件历史与存储的快照进行比较,并报告它们是否匹配。
自动修复仅用于需要在追加新事件之前从之前的部分写入中恢复的变更路径。
包审计 CLI 为:
npm run audit它会明确报告验证失败,而不是静默跳过。
推荐工作流
注册本地草稿包。
追加已验证的发布或更新结果。
追加 LinkedIn 和 X 的结果,包括阻塞项或跳过项。
将来源修正记录为新事件。
在起草相关工作之前使用重叠和搜索工具。
在审计期间使用清单和不完整后续跟进输出。
在迁移、手动恢复或疑似损坏后运行验证。
工具
get_server_healthregister_content_packageget_content_recordsearch_content_archivefind_content_recordupdate_content_artifactsrecord_publicationrecord_social_resultrecord_source_correctionapprove_voice_examplecompare_payload_to_live_statefind_content_overlaplist_incomplete_follow_throughlist_update_candidatesgenerate_content_inventoryverify_archive_record
URL 处理
存储的 URL 必须使用 http 或 https,且包含凭据的 URL 会被拒绝。
由于归档历史是仅追加的,请避免写入在查询字符串中包含令牌或其他机密的敏感 URL。
开发
npm test
npm run smoke
npm run syntax
npm run auditAvailable Tools
16 toolsapprove_voice_exampleB
Explicitly mark an exact archived excerpt as an approved Clearon voice example; never infers approval.
Inputs: slug (required), excerpt (required), expected_revision (required), note, +1 more.
compare_payload_to_live_stateC
Compare a workspace-contained WordPress payload with a caller-supplied verified live-state response.
Inputs: slug (required), live_state (required), payload_path.
find_content_overlapB
Rank potentially overlapping archived content using disclosed lexical overlap; requires editorial review.
Inputs: slug (required), limit.
find_content_recordB
Find exact archive records by content slug, WordPress post ID, or recorded publication/social URL.
Inputs: url, slug, post_id.
generate_content_inventoryA
Generate a current structured inventory of archive, publication, social, topic, correction, and voice-example counts.
Inputs: no named parameters.
get_content_recordA
Read a content snapshot and, by default, its complete append-only event history.
Inputs: slug (required), include_events.
get_server_healthB
Report archive health, storage root, and non-publishing safety boundaries.
Inputs: no named parameters.
list_incomplete_follow_throughA
List records missing verified WordPress publication, featured-image verification, or completed LinkedIn/X outcomes.
Inputs: no named parameters.
list_update_candidatesA
List mechanically stale publications, post-publication source corrections, and image-verification gaps; does not make editorial recommendations.
Inputs: older_than_days.
record_publicationB
Record a verified WordPress outcome. This tool never publishes and does not infer live state from a payload.
Inputs: slug (required), status (required), expected_revision (required), url, +10 more.
record_social_resultA
Record a LinkedIn or X outcome, including published URLs, schedules, queues, or blockers. This tool never posts.
Inputs: slug (required), status (required), platform (required), expected_revision (required), +7 more.
record_source_correctionA
Append a provenance correction without rewriting the earlier archive history.
Inputs: slug (required), field (required), reason (required), previous_value (required), +4 more.
register_content_packageB
Create an append-only Clearon content record with local artifacts and editorial retrieval metadata.
Inputs: slug (required), title (required), content_type (required), topics, +6 more.
search_content_archiveC
Search archived titles, summaries, openings, topics, jurisdictions, and terminology.
Inputs: query, topic, jurisdiction.
update_content_artifactsC
Append a metadata or local-artifact update using optimistic revision control.
Inputs: slug (required), expected_revision (required), note, title, +7 more.
verify_archive_recordA
Replay an append-only event log and confirm whether it matches the stored snapshot without repairing it.
Inputs: slug (required), include_rebuilt_snapshot.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools target distinct resources and actions, such as searching, exact lookup, and registering content. The main ambiguity is between list_incomplete_follow_through and list_update_candidates, which both surface records needing verification or correction, but their descriptions largely clarify the intended focus.
All tool names use a consistent lower_snake_case verb_noun pattern, such as get_content_record, record_publication, and approve_voice_example. Even the longer compound names like compare_payload_to_live_state and list_incomplete_follow_through follow the same predictable action-first convention.
The server has 16 tools, which is slightly above the typical well-scoped range, but each tool appears to support a distinct archival lifecycle concern. The count is not excessive given the breadth of content, publication, social, correction, and voice-example workflows being covered.
The tool set covers the core content archive lifecycle: register, read, search, update, verify, and append publication/social/correction outcomes. Minor gaps exist, such as no explicit unpublish or approval-revocation tool, but the append-only design and existing verification tools make those acceptable omissions.
Maintenance
Related MCP Connectors
Preserve public web pages as signed, timestamped evidence packages, then verify them, compare versions and monitor pages for changes.
Issue & verify signed (ed25519), hash-chained, timestamped provenance receipts for agent actions.
Privacy-first document verification anchored to the public ledger.
Qualified timestamps of files and hashes, and web page captures kept as evidence.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables users to create frozen, auditable snapshots of selected Markdown or text-layer PDFs and perform read-only, verifiable local searches with SQLite FTS5/BM25, preserving source hashes, schemas, and page/line anchors.82Apache 2.0
- AlicenseAqualityCmaintenanceEnables privacy-aware, deterministic, read-only chat analysis through tools for briefs, aggregate interaction signals, evidence-aware claim audits, and canonical resource discovery.1842MIT
- AlicenseBqualityCmaintenanceEnables deterministic RSS 2.0 feed publishing and lifecycle management, including immutable entry IDs, corrections, retractions, archiving, content-addressed media assets, and semantic search over active entries.16MIT
- AlicenseNot gradedqualityCmaintenanceEnables capturing web evidence, freezing content-addressed snapshots, and comparing research agents on the same sources with traceable access and quotations.1MIT