code-index-mcpCAUTION
Поиск по коду для ИИ-агентов: 32 инструмента MCP, индекс на SQLite, один бинарник без зависимостей. Разбирает выгрузки 1С:Предприятие — Конфигуратор и EDT; конфигурация на 88 тыс. файлов индексируется за 6 минут, ответ на запрос — 10 мс. Code index MCP server: tree-sitter AST for 14 languages, 20 un
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://github.com/Regsorm/code-index-mcp/releases/latest) [](https://www.npmjs.com/package/@regsorm/code-index-mcp) [](LICENSE)
Поиск по коду для ИИ-агентов. Один бинарник, индекс в SQLite, ответ за миллисекунды. Разбирает выгрузки 1С:Предприятие 8.3 — и из Конфигуратора, и из 1С:EDT.
Полное руководство · English · Документация · Журнал изменений
Установка
Windows — одной командой
irm https://raw.githubusercontent.com/Regsorm/code-index-mcp/main/install.ps1 | iex
Скачивает последний выпуск в C:\tools\code-index, запоминает папку в переменной окружения, создаёт заготовку файла настроек и печатает готовый блок для .mcp.json.
С параметрами — папка установки, папка с исходниками, автозапуск при входе в систему:
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/Regsorm/code-index-mcp/main/install.ps1))) ` -InstallDir 'D:\code-index' -Repo 'main=D:\Repo1C' -RegisterAutostart
Автозапуск идёт через папку автозагрузки пользователя: прав администратора не требует, окон не показывает. Остальные параметры — -Flavor core для сборки без 1С, -Version 1.0.0 для конкретного выпуска, -Port и -DaemonPort, если порты по умолчанию заняты. Полный список — Get-Help .\install.ps1 -Detailed.
Windows — вручную, готовый архив из выпуска
Скачивает последний выпуск, распаковывает в C:\tools\code-index и запоминает эту папку в переменной окружения:
$dst = 'C:\tools\code-index' New-Item -
25e7f2112a3dOBSERVED · 2026-10-12Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add code-index-mcp -- npx -y @regsorm/[email protected] serve
Trust audit
CAUTIONgrade B · trust 85/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (3 observation(s))
- Network
- declared (4 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (13)
let src = "Запрос.Текст =\n\"ВЫБРАТЬ * ИЗ Документ.Заказ\nГДЕ Истина\";";
let r = extract_query_usages("ВЫБРАТЬ\nСсылка\nИЗ Справочник.Организации");Старые termы остаются и будут смешиваться с новыми; \
let msgs = build_messages("system text", "Расчёт.Старт", "// тело\nФункция Х()");let raw = "товары, ,склад\n\nпроведение";
- **По-файловая свежесть + событийная инвалидация watcher→serve.** Демон шлёт `POST /mark-dirty {repo, files:[{path, mtime}]}` (файлы изменены на диске с observed-mtime, индекс ещё не догнал) и post-curl = "http://127.0.0.1:8011"
"code-index": { "type": "http", "url": "http://127.0.0.1:8011/mcp" }- **Per-file freshness + event-based watcher→serve invalidation.** The daemon sends `POST /mark-dirty {repo, files:[{path, mtime}]}` (files changed on disk with observed-mtime, index not caught up) anurl = "http://127.0.0.1:8011"
- **`POST /dedup-reset`** — clears the filter's memory across all sessions; sits alongside `/mark-dirty`, `/invalidate` and `/cache-stats`. Needed where the model lost part of its context (history com
**Linux** — add to `~/.bashrc` or `~/.zshrc`:
Gates applied: no_behavioural_pass.
25e7f2112a3dfull audit observations/trust-audit/mcp-server/regsorm__code-index-mcp.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | 25e7f2112a3d | CAUTION | B | 85 | first audit |
Questions
What is the @regsorm/code-index-mcp MCP server?
Поиск по коду для ИИ-агентов: 32 инструмента MCP, индекс на SQLite, один бинарник без зависимостей. Разбирает выгрузки 1С:Предприятие — Конфигуратор и EDT; конфигурация на 88 тыс. файлов индексируется за 6 минут, ответ на запрос — 10 мс. Code index MCP server: tree-sitter AST for 14 languages, 20 un
Is @regsorm/code-index-mcp safe to connect to an agent?
With care. The audit graded it B (85/100) and found 13 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does @regsorm/code-index-mcp need?
No credential environment variables were found in its source, so it appears to need none.
How does @regsorm/code-index-mcp run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @regsorm/code-index-mcp at 0.11.0.
How current is this page?
The grade is for one exact copy of the source (25e7f2112a3d), read on 2026-10-12. The repository is watched and re-audited when it changes.