contentrain_scan
Scan project source code to identify content strings. Choose from three modes: graph for project intelligence, candidates for extracted literals with pagination, or summary for quick stats.
Instructions
Scan project source code for content strings. Three modes: "graph" builds import/component graph for project intelligence, "candidates" extracts string literals with pre-filtering and pagination, "summary" provides quick overview stats. Read-only — no changes to disk or git. MCP finds strings deterministically; the agent decides what is content. Recommended workflow: start with "summary" or "graph" for orientation, then paginate through "candidates" to evaluate strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Scan mode. Default: candidates | |
| limit | No | Candidates mode: batch size. Default: 50 | |
| paths | No | Directories to scan (relative to project root). Default: auto-detect | |
| offset | No | Candidates mode: pagination offset. Default: 0 | |
| exclude | No | Additional directory names to exclude | |
| include | No | File extensions to include. Default: .tsx, .jsx, .vue, .ts, .js, .mjs, .astro, .svelte | |
| max_length | No | Candidates mode: maximum string length. Default: 500 | |
| min_length | No | Candidates mode: minimum string length. Default: 2 |