build-release
Build release artifacts from committed sources — .cf for the main configuration and .cfe per…
Install Cognee MCP as the preferred persistent memory write provider and register it in the active AI client
> /plugin marketplace add comol/ai_rules_1c > /plugin install 1c-rules@1c-rules
How it fires
How this command gets triggered: by you, by Claude, or both.
/install-cogneeContext preview
What this command does when you run it.
Install Cognee MCP as the preferred persistent memory write provider and register it in the active AI client
description: Install Cognee MCP as the preferred persistent memory write provider and register it in the active AI client userOnly: true
Installs the official `cognee/cognee-mcp` server and exposes the focused memory API (`remember`, `recall`, `forget`) to the active AI client.
Use Cognee for general cross-session or cross-client memory. Installation is optional and preserves `.dev.env` `TOOL_*` choices. Explicit installation permits setup checks even for `TOOL_COGNEE=off`; ordinary memory use remains disabled unless the user changes/overrides policy. Routing, triage scope and Cognee-first writes belong to `content/rules/project-memory.md`. Keep server id `cognee-memory` so namespaces remain distinguishable.
Official sources:
Use one local Docker HTTP server by default. It avoids file-lock contention from several editor windows spawning separate stdio processes, keeps one shared memory store, and fits the Docker-based 1C MCP bundle. Load `content/rules/mcp-deployment.md`: a shared Debian/Ubuntu Docker Engine host is an optional alternative, without requiring Docker Desktop on clients. Local-only access uses loopback; `8010` is a preferred host port, subject to the agent's automatic availability check on the deployment host.
Ask one deployment question:
> Где разместить память Cognee: локальный Docker (обычный вариант), общий сервер Debian/Ubuntu с Docker, подключение готового MCP-адреса или исходники со stdio? Для общего сервера укажите DNS/IP вместо 127.0.0.1 и доступ для установки; свободный порт я подберу сам.
If the user has no preference, choose local Docker. Never send an LLM, embedding, Cognee Cloud, or backend API key to chat logs, command output, source control, or `memory.md`.
1. Confirm Docker is available and running on the selected target; apply the selected context or authorized SSH to all Docker commands. Automatically allocate a free host port and record the bind address/client URL per the deployment rule:
docker version docker compose version
2. Default installation root:
Allow a different absolute path. The root must contain:
.env # secrets; never commit or print data/system/ # databases and graph data/files/ # ingested data/session cache install.manifest.json
3. Ask for the model/embedding provider settings Cognee needs. The simplest default is `LLM_API_KEY`; accept provider-specific variables when the user deliberately chooses another provider. Explain that Cognee needs both completion and embedding capability. Obtain explicit consent before persisting keys in `.env`.
4. If a `cognee-mcp` container or `cognee-memory` client entry already exists, inspect it. Do not overwrite or delete an existing memory store. Offer repair/update instead.
Create the directories and a UTF-8 `.env` without printing its contents. At minimum it contains the selected provider credentials plus:
SYSTEM_ROOT_DIRECTORY=/data/system DATA_ROOT_DIRECTORY=/data/files COGNEE_MCP_TOOL_MODE=minimal TELEMETRY_DISABLED=true
Restrict `.env` permissions to the current user where the OS supports it. Add the absolute `.env` path and installation root to the local project's ignore rules only when they fall inside a repository.
Write `install.manifest.json` without secrets. Record the target/context, host OS, bind address, host/container ports, full client endpoint, container name, image reference, resolved image digest from `docker image inspect`, installation time, and host data directories. Refresh planned values after successful launch; reuse them on reruns.
Use the official image. Preserve data through the bind mount and preserve the service across reboots. The following is a local Windows example: before execution substitute the selected target, daemon-host paths and `-p <bind-ip>:<allocated-host-port>:8000` mapping. Recheck the chosen port immediately before launch:
$root = 'C:\Work\CogneeMemory' # replace with the confirmed absolute path
$envFile = Join-Path $root '.env'
$data = Join-Path $root 'data'
docker pull cognee/cognee-mcp:main
if ($LASTEXITCODE -ne 0) { throw 'Failed to pull cognee/cognee-mcp:main' }
docker run -d --name cognee-mcp --restart unless-stopped `
--env-file $envFile `
-e TRANSPORT_MODE=http `
-p 127.0.0.1:8010:8000 `
-v "${data}:/data" `
cognee/cognee-mcp:main
if ($LASTEXITCODE -ne 0) { throw 'Failed to start cognee-mcp' }On Linux/macOS, use the equivalent shell syntax with the confirmed daemon-host paths. Shared access uses the chosen LAN/VPN interface or existing proxy per the deployment rule; never publish on `0.0.0.0` by default.
If the container name already exists, do not remove it blindly. Inspect it and ask before replacing the container; replacing the container is safe only after confirming the bind-mounted data path.
Cognee may need time for migrations on first start. Check logs on the selected host without exposing environment variables, then poll the actual client-reachable health URL for at most two minutes. Substitute the recorded endpoint in this local example:
docker logs --tail 100 cognee-mcp Invoke-RestMethod -Uri 'http://127.0.0.1:8010/health' -TimeoutSec 10
Failure to become healthy is an install failure. Report the last relevant log lines with secrets redacted.
Merge, never replace, an HTTP MCP entry named `cognee-memory` pointing to the recor
Repo: comol/ai_rules_1c
Build release artifacts from committed sources — .cf for the main configuration and .cfe per…
Toggle the caveman communication style — set CAVEMAN (on|auto|off) in .dev.env for the whole…
Check a 1C XML configuration dump for duplicate UUIDs, and optionally regenerate them
Read-only check for available updates of the 1C MCP server images and of the 1c-rules…
Load the configuration into the test infobase from .dev.env and check the result in the 1C…