Back to search
D
40 /100

io.github.Contentrain/contentrain

Author Contentrain
Scanned 8h ago

Local-first MCP server for AI-generated content governance — 17 deterministic tools, stdio + HTTP transports, Local / GitHub / GitLab providers

Versions

1.0.6scored
first seen Jun 5, 2026
1.4.0
first seen May 19, 2026

Trust breakdown

PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 28

contentrain-mcp
annotations: none low

contentrain_model_save
annotations: none low

Create or update a model definition. Changes are auto-committed to git — do NOT manually edit .contentrain/ files after calling this tool.

id string i18n boolean name string domain string description string title_field string content_path string
contentrain_model_delete
annotations: none low

Delete a model and its content/meta. Changes are auto-committed to git — do NOT manually edit .contentrain/ files.

model string
contentrain_content_save
annotations: none low

Save content entries. Entry format varies by model kind: DICTIONARY — provide

id string slug string model string locale string expire_at string publish_at string
contentrain_content_delete
annotations: none low

Delete content entries. For dictionaries, use

id string slug string model string locale string
contentrain_content_list
annotations: none low

List content entries (read-only). Each entry carries its publish state under

limit number model string locale string offset number resolve boolean
contentrain_init
annotations: none low

Initialize .contentrain/ structure. Changes are auto-committed to git — do NOT manually create .contentrain/ files.

stack string
contentrain_status
annotations: none low

Get full project status (read-only). Returns config, models, context. Do NOT manually edit .contentrain/ based on this output.

contentrain_describe
annotations: none low

Get full schema of a single model (read-only). Do NOT manually create content files — use contentrain_content_save instead.

model string locale string include_sample boolean
contentrain_describe_format
annotations: none low

Describes the Contentrain content file format for any language/platform. Returns a comprehensive specification of the file structure, JSON formats, markdown conventions, meta files, and locale strategies.

contentrain_content_status
annotations: none low

Change the status of content entries — this is how an entry is published, unpublished or archived.

model string locale string
contentrain_validate
annotations: none low

Validate project content against model schemas. Detects required field violations, type mismatches, broken relations, secret leaks, i18n parity issues, and more. If fix:true, auto-fixes structural issues (canonical sort, orphan meta, missing locale files, stray non-i18n meta layout, scheduling keys an older content_save leaked into document frontmatter) and backfills a missing model title_field — do NOT manually edit .contentrain/ files. Content without meta gets meta with status published, matching what delivery already serves. A fix that would change whether an entry is delivered is listed in visibility_changes and left on its branch for review instead of auto-merged.

fix boolean model string
contentrain_submit
annotations: none low

Push cr/* branches to remote. MCP is push-only — PR creation is handled by the platform. Do NOT manually push or create PRs.

message string
contentrain_merge
annotations: none low

Merge a review-mode branch into contentrain. Local git operation — no external platform needed. Merges the feature branch into the contentrain branch, advances the base branch via update-ref, selectively syncs .contentrain/ files to the working tree, and prunes the merged branch. Target by exact

model string branch string latest boolean locale string
contentrain_branch_list
annotations: none low

List pending contentrain (cr/*) branches with their merge status against the contentrain branch. Use this to discover branch names for contentrain_merge / contentrain_branch_delete, and to monitor branch-health limits (warning at 50, blocked at 80 unmerged).

remote boolean unmerged_only boolean
contentrain_branch_delete
annotations: none low

Delete a pending contentrain (cr/*) branch that will not be merged — e.g. a branch left behind by a failed operation, or a superseded draft. Only cr/* branches can be deleted; the contentrain branch is protected. This is destructive: the branch and its unmerged commits are removed.

branch string
contentrain_media_list
annotations: none low

List media assets from the provider media stack. Returns storage paths (media/...) usable in media/image/file fields via contentrain_content_save, plus delivery URLs when available. Supports search, tag filter, and cursor pagination.

tag string limit number cursor string search string
contentrain_media_get
annotations: none low

Get a single media asset by id, including its storage path, delivery URL, and metadata.

id string
contentrain_media_ingest
annotations: none low

Ingest a media asset from a source URL. The provider fetches the URL server-side under its own SSRF/MIME/size policy and stores the asset in the media stack. Returns the stored asset with its media/... path.

alt string url string filename string
contentrain_media_update
annotations: none low

Update metadata (alt text, tags, filename) of an existing media asset. Does not touch the binary.

id string alt string filename string
contentrain_media_delete
annotations: none low

Delete a media asset from the media stack. Content entries referencing its path are NOT rewritten — check references before deleting.

id string
contentrain_reconcile
annotations: none low

Reconcile a diverged contentrain ↔ base-branch pair with a content-aware three-way merge.

dry_run boolean
contentrain_bulk
annotations: none low

Batch operations on content entries: copy a locale, or delete many collection entries. All operations are auto-committed to git.

model string confirm boolean dry_run boolean source_locale string target_locale string
contentrain_vocabulary_save
annotations: none low

Add or update canonical vocabulary terms. Terms nest as {

contentrain_vocabulary_delete
annotations: none low

Remove canonical vocabulary terms by slug. Content already using a term is not touched — the vocabulary only advises. Changes are auto-committed to git.

confirm boolean
contentrain_doctor
annotations: none low

Project health report (read-only). Returns structured checks: git, node, .contentrain/ structure, model parse, orphan content, branch pressure, SDK freshness. Pass `usage: true` for a deeper analysis of content-key references in source files (unused keys, duplicate dictionary values, locale coverage). Local-filesystem only — unavailable over remote providers.

usage boolean
contentrain_scan
annotations: none low

Scan project source code for content strings. Three modes:

limit number offset number max_length number min_length number
contentrain_apply
annotations: none low

Apply normalize operations. Two modes:

key string file string i18n boolean line number slug string model string value string domain string locale string dry_run boolean old_value string title_field string new_expression string import_statement string

Permissions 4

network Server uses network capabilities via: fetch(), http
medium
filesystem Server uses filesystem capabilities via: fs, fs/promises, path
low
shell Server uses shell capabilities via: child_process, spawn(), spawnSync()
high
env_vars Server uses env_vars capabilities via: process.env
low

Scan Findings 137

low
Tool 'contentrain-mcp' has no annotations annotation_checker · 100%
low
Tool 'contentrain_model_save' has no annotations annotation_checker · 100%
low
Tool 'contentrain_model_delete' has no annotations annotation_checker · 100%
low
Tool 'contentrain_content_save' has no annotations annotation_checker · 100%
low
Tool 'contentrain_content_delete' has no annotations annotation_checker · 100%
low
Tool 'contentrain_content_list' has no annotations annotation_checker · 100%
low
Tool 'contentrain_init' has no annotations annotation_checker · 100%
low
Tool 'contentrain_status' has no annotations annotation_checker · 100%
low
Tool 'contentrain_describe' has no annotations annotation_checker · 100%
low
Tool 'contentrain_describe_format' has no annotations annotation_checker · 100%
low
Tool 'contentrain_content_status' has no annotations annotation_checker · 100%
low
Tool 'contentrain_validate' has no annotations annotation_checker · 100%
low
Tool 'contentrain_submit' has no annotations annotation_checker · 100%
low
Tool 'contentrain_merge' has no annotations annotation_checker · 100%
low
Tool 'contentrain_branch_list' has no annotations annotation_checker · 100%
low
Tool 'contentrain_branch_delete' has no annotations annotation_checker · 100%
low
Tool 'contentrain_media_list' has no annotations annotation_checker · 100%
low
Tool 'contentrain_media_get' has no annotations annotation_checker · 100%
low
Tool 'contentrain_media_ingest' has no annotations annotation_checker · 100%
low
Tool 'contentrain_media_update' has no annotations annotation_checker · 100%
low
Tool 'contentrain_media_delete' has no annotations annotation_checker · 100%
low
Tool 'contentrain_reconcile' has no annotations annotation_checker · 100%
low
Tool 'contentrain_bulk' has no annotations annotation_checker · 100%
low
Tool 'contentrain_vocabulary_save' has no annotations annotation_checker · 100%
low
Tool 'contentrain_vocabulary_delete' has no annotations annotation_checker · 100%
low
Tool 'contentrain_doctor' has no annotations annotation_checker · 100%
low
Tool 'contentrain_scan' has no annotations annotation_checker · 100%
low
Tool 'contentrain_apply' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Excessive dependency count: 52 direct dependencies dependency_analyzer · 90%
medium
Vulnerable dependency: vitest@3.0.0 (GHSA-5xrq-8626-4rwp) dependency_analyzer · 95%
medium
Vulnerable dependency: vitest@3.0.0 (GHSA-82fw-gwwq-j7x9) dependency_analyzer · 95%
medium
Vulnerable dependency: vitest@3.0.0 (GHSA-9crc-q9x8-hgqq) dependency_analyzer · 95%
medium
Vulnerable dependency: astro@7.3.5 (GHSA-mh32-jxcr-mh9f) dependency_analyzer · 95%
medium
Vulnerable dependency: astro@7.3.5 (GHSA-r3h5-4585-7x3w) dependency_analyzer · 95%
medium
Vulnerable dependency: sharp@0.35.4 (GHSA-wq5f-xc86-pv6w) dependency_analyzer · 95%
medium
Vulnerable dependency: happy-dom@20.14.5 (GHSA-5fpq-26gf-qwcr) dependency_analyzer · 95%
medium
Vulnerable dependency: happy-dom@20.14.5 (GHSA-834v-8h66-3h79) dependency_analyzer · 95%
medium
Vulnerable dependency: happy-dom@20.14.5 (GHSA-c8p4-j97h-3vg8) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-345p-7cg4-v4c7) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-46jr-4wx8-v453) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-6prh-2h8m-c8cw) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-6qxp-vccf-f47h) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-8r9q-7v3j-jr4g) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-f897-62hf-6gxq) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-rvq5-wwqv-78pq) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.12.0 (GHSA-w48q-cv73-mx4w) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.36.0 (GHSA-858h-whjf-mvg5) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.36.0 (GHSA-g4wm-2vf7-vfgr) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.36.0 (GHSA-x6jw-m9v5-85vh) dependency_analyzer · 95%
medium
Vulnerable dependency: zod@3.24.0 (GHSA-mrhx-c7xc-m3w5) dependency_analyzer · 95%
medium
Vulnerable dependency: svelte@4.2.0 (GHSA-8266-84wp-wv5c) dependency_analyzer · 95%
medium
Vulnerable dependency: svelte@4.2.0 (GHSA-crpf-4hrx-3jrp) dependency_analyzer · 95%
medium
Vulnerable dependency: svelte@4.2.0 (GHSA-f7gr-6p89-r883) dependency_analyzer · 95%
medium
Vulnerable dependency: svelte@4.2.0 (GHSA-m56q-vw4c-c2cp) dependency_analyzer · 95%
medium
Vulnerable dependency: svelte@4.2.0 (GHSA-phwv-c562-gvmh) dependency_analyzer · 95%
medium
Vulnerable dependency: svelte@4.2.0 (GHSA-pr6f-5x2q-rwfp) dependency_analyzer · 95%
medium
Vulnerable dependency: svelte@4.2.0 (GHSA-rcqx-6q8c-2c42) dependency_analyzer · 95%
medium
Vulnerable dependency: h3@1.15.0 (GHSA-22cc-p3c6-wpvm) dependency_analyzer · 95%
medium
Vulnerable dependency: h3@1.15.0 (GHSA-4hxc-9384-m385) dependency_analyzer · 95%
medium
Vulnerable dependency: h3@1.15.0 (GHSA-72gr-qfp7-vwhw) dependency_analyzer · 95%
medium
Vulnerable dependency: h3@1.15.0 (GHSA-mp2g-9vg9-f4cg) dependency_analyzer · 95%
medium
Vulnerable dependency: h3@1.15.0 (GHSA-wr4h-v87w-p3r7) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.27.0 (GHSA-858h-whjf-mvg5) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.27.0 (GHSA-g4wm-2vf7-vfgr) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.27.0 (GHSA-hffm-xvc3-vprc) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.27.0 (GHSA-jcxm-m3jx-f287) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.27.0 (GHSA-r275-fr43-pm7q) dependency_analyzer · 95%
medium
Vulnerable dependency: simple-git@3.27.0 (GHSA-x6jw-m9v5-85vh) dependency_analyzer · 95%
medium
Vulnerable dependency: ws@8.18.0 (GHSA-58qx-3vcg-4xpx) dependency_analyzer · 95%
medium
Vulnerable dependency: ws@8.18.0 (GHSA-96hv-2xvq-fx4p) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-356w-63v5-8wf4) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-4r4m-qw57-chr8) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-4w7w-66w2-5vf9) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-587h-7wmj-h5pm) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-698v-4r3x-3vcv) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-859w-5945-r5v3) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-93m4-6634-74q7) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-9jrq-w75r-8gcw) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-fx2h-pf6j-xcff) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-g4jq-h2w9-997c) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-jqfw-vq24-v9c3) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-p9ff-h696-f583) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-r825-w8mm-5pxw) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-rq7h-c2jc-7f22) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-v6wh-96g9-6wx3) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-vg6x-rcgg-rjx6) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-x574-m823-4x7w) dependency_analyzer · 95%
medium
Vulnerable dependency: vite@6.0.0 (GHSA-xcj6-pq6g-qj4x) dependency_analyzer · 95%
medium
Hex string literal (>50 chars) in Contentrain-ai-e750936/packages/types/src/execution.test.ts:249 entropy_analyzer · 70%
medium
Hex string literal (>50 chars) in Contentrain-ai-e750936/packages/types/src/execution.test.ts:393 entropy_analyzer · 70%
medium
Buffer.from base64 in Contentrain-ai-e750936/packages/mcp/src/providers/github/reader.ts:82 entropy_analyzer · 75%
medium
Buffer.from base64 in Contentrain-ai-e750936/packages/mcp/src/providers/github/reader.ts:88 entropy_analyzer · 75%
info
package.json metadata manifest_parser · 100%
info
Tool: contentrain-mcp manifest_parser · 75%
info
Tool: contentrain_model_save manifest_parser · 70%
info
Tool: contentrain_model_delete manifest_parser · 70%
info
Tool: contentrain_content_save manifest_parser · 70%
info
Tool: contentrain_content_delete manifest_parser · 70%
info
Tool: contentrain_content_list manifest_parser · 70%
info
Tool: contentrain_init manifest_parser · 70%
info
Tool: contentrain_status manifest_parser · 70%
info
Tool: contentrain_describe manifest_parser · 70%
info
Tool: contentrain_describe_format manifest_parser · 70%
info
Tool: contentrain_content_status manifest_parser · 70%
info
Tool: contentrain_validate manifest_parser · 70%
info
Tool: contentrain_submit manifest_parser · 70%
info
Tool: contentrain_merge manifest_parser · 70%
info
Tool: contentrain_branch_list manifest_parser · 70%
info
Tool: contentrain_branch_delete manifest_parser · 70%
info
Tool: contentrain_media_list manifest_parser · 70%
info
Tool: contentrain_media_get manifest_parser · 70%
info
Tool: contentrain_media_ingest manifest_parser · 70%
info
Tool: contentrain_media_update manifest_parser · 70%
info
Tool: contentrain_media_delete manifest_parser · 70%
info
Tool: contentrain_reconcile manifest_parser · 70%
info
Tool: contentrain_bulk manifest_parser · 70%
info
Tool: contentrain_vocabulary_save manifest_parser · 70%
info
Tool: contentrain_vocabulary_delete manifest_parser · 70%
info
Tool: contentrain_doctor manifest_parser · 70%
info
Tool: contentrain_scan manifest_parser · 70%
info
Tool: contentrain_apply manifest_parser · 70%
info
Transport: stdio manifest_parser · 90%
info
Required env vars (37) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 80%
low
Permission: filesystem access detected permission_analyzer · 90%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
info
SBOM generated: 76 components sbom_generator · 100%
critical
RSA Private Key found in Contentrain-ai-e750936/plugins/contentrain/skills/contentrain/references/security.md secret_scanner · 95%
high
Hardcoded Password found in Contentrain-ai-e750936/packages/wp-import/CHANGELOG.md secret_scanner · 65%
high
Hardcoded Password found in Contentrain-ai-e750936/packages/skills/skills/contentrain-migrate-wordpress/SKILL.md secret_scanner · 65%
critical
RSA Private Key found in Contentrain-ai-e750936/packages/skills/skills/contentrain/references/security.md secret_scanner · 95%
critical
RSA Private Key found in Contentrain-ai-e750936/packages/rules/shared/security-rules.md secret_scanner · 95%
high
Hardcoded Password found in Contentrain-ai-e750936/packages/mcp/src/templates/i18n.ts secret_scanner · 65%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%