Contentrain AI
Repo-native content governance that extracts app copy into Git-stored JSON and Markdown for review.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 5 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 3 Nov 2026). Weigh this before you install it.
npm:@simple-git/argv-parser 1.1.1simple-git: `VISUAL` editor environment variable is omitted from unsafe editor detection (GHSA-v5rq-49vh-5v5c, critical, fixed in 2.0.1)npm:simple-git 3.36.0simple-git unsafe-operation guard does not block trailer command configuration (GHSA-x6jw-m9v5-85vh, critical, fixed in 4.0.1)
See 3 more
npm:simple-git 3.36.0— GHSA-858h-whjf-mvg5 (high), fixed in 4.0.0npm:simple-git 3.36.0— GHSA-g4wm-2vf7-vfgr (high), fixed in 4.0.0npm:zod 3.25.76— GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6
Linux x86_64
install contentrain globally via npm
npm install -g contentrain
Where the README and reality differ
- README: npx contentrain init works without git
What worked: needs git repo initialized and committed; without it init fails with fatal: not a valid object name: 'master' even with --yes
Add it to your agent
claude mcp add ai -- contentrain serve --stdioJSON for Claude Desktop, Cursor and other clients
{
"mcpServers": {
"ai": {
"command": "contentrain",
"args": [
"serve",
"--stdio"
]
}
}
}Add the contentrain MCP server to your AI client, then ask it to run contentrain_status to see the state of your project's content.
What it does
- Extract, review and ship structured contentNot shown working
- Turn hardcoded strings into structured contentTest failed
- Use the same content across web, docs and mobileNot shown working
How far pickfit got
Linux x86_64
- Installs
- Connects
- 0 of 3 features work
- Works offline
Good for
- Rescue hardcoded strings into structured translatable content
- Start new projects with a structured content layer
- Serve same JSON and Markdown content across web, docs, mobile and backend
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
An MCP client called one of its tools
- Replayed from scratch
- Works offline
- Checked on 1 Nov 2026
- Version 0.18.24
An MCP client handshake over stdio listed 22 tools, and a call to contentrain_status returned a result.
Differences the test machine hit
- README: An MCP server over stdio writes only JSON-RPC messages to stdout
In the test: This server wrote 1 other line(s) to stdout during the handshake; strict MCP clients may reject them.