> For the complete documentation index, see [llms.txt](https://docs.onerpa.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onerpa.ru/mcp-servery-1c/servery/ssl-search-server/ustanovka.md).

# Установка

## Предварительные требования

1. Docker Desktop запущен
2. LM Studio запущен (рекомендуется) или будет использоваться CPU

## Определение версии БСП

В Конфигураторе 1С:

1. Откройте конфигурацию
2. Справка → О программе
3. Найдите строку "Библиотека стандартных подсистем"
4. Запишите номер версии (например, `3.1.11`)

## Создание папки для индекса

```powershell
New-Item -ItemType Directory -Force -Path "E:\bases\mcp_ssl"
```

## Команды запуска

### С LM Studio (рекомендуется)

```powershell
docker run -d -p 8008:8008 `
  --name mcp_ssl_server `
  -e LICENSE_KEY=YOUR_LICENSE_KEY `
  -e SSL_VERSION=3.1.11 `
  -e RESET_DATABASE=false `
  -e OPENAI_API_BASE=http://host.docker.internal:1234/v1 `
  -e OPENAI_API_KEY=lm-studio `
  -e OPENAI_MODEL=Qwen3-Embedding-4B `
  -v "E:/bases/mcp_ssl:/app/chroma_db" `
  comol/mcp_ssl_server:latest
```

### С CPU (без GPU)

```powershell
docker run -d -p 8008:8008 `
  --name mcp_ssl_server `
  -e LICENSE_KEY=YOUR_LICENSE_KEY `
  -e SSL_VERSION=3.1.11 `
  -e RESET_DATABASE=false `
  -v "E:/bases/mcp_ssl:/app/chroma_db" `
  comol/mcp_ssl_server:latest
```

{% hint style="warning" %}
Замените `3.1.11` на вашу версию БСП!
{% endhint %}

## Первый запуск

При первом запуске происходит:

1. Скачивание образа
2. Скачивание справки БСП указанной версии
3. Индексация документации

### Мониторинг

```powershell
docker logs -f mcp_ssl_server
```

## Проверка работы

```powershell
docker ps --filter name=mcp_ssl_server
```

## Конфигурация Cursor

```json
{
  "mcpServers": {
    "1c-ssl-mcp": {
      "url": "http://localhost:8008/mcp",
      "connection_id": "1c_ssl_service_001"
    }
  }
}
```

## Смена версии БСП

При обновлении БСП в вашей конфигурации:

```powershell
# Остановить и удалить контейнер
docker rm -f mcp_ssl_server

# Запустить с новой версией и переиндексацией
docker run -d -p 8008:8008 `
  --name mcp_ssl_server `
  -e LICENSE_KEY=YOUR_LICENSE_KEY `
  -e SSL_VERSION=3.2.1 `
  -e RESET_DATABASE=true `
  -v "E:/bases/mcp_ssl:/app/chroma_db" `
  comol/mcp_ssl_server:latest
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.onerpa.ru/mcp-servery-1c/servery/ssl-search-server/ustanovka.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
