SprutMonitor MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SprutMonitor MCP Server What risks came up in the last week, and who idled the most yesterday?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP-сервер СпрутМонитор
🗂️ СпрутМонитор собирает о работе компании очень много данных: время прихода и ухода, активность в программах и на сайтах, переписку в почте и мессенджерах, работу с файлами, печать, подключение флешек, срабатывания правил DLP. Всё это доступно в отчётах. Но чтобы ответить на конкретный вопрос, руководителю или специалисту по безопасности обычно приходится открыть нужный раздел, выставить фильтры, выгрузить таблицу и сопоставить цифры вручную. Если вопрос нестандартный, например «кто из отдела продаж последние две недели уходит раньше и при этом копировал клиентскую базу на внешний носитель», на это уходит много времени.
💬 Эту задачу решает MCP (Model Context Protocol). Это открытый протокол, через который языковая модель обращается к внешним системам напрямую, а не через скриншоты или пересказ пользователя. MCP-сервер описывает набор доступных инструментов, а ИИ-ассистент сам выбирает, какие из них вызвать, чтобы ответить на запрос. MCP-сервер СпрутМонитор переводит обычную речь в запросы к системе. Вы задаёте вопрос так, как задали бы его коллеге, а модель получает нужные данные, сопоставляет их и выдаёт готовый вывод с отсылкой к конкретным событиям.
🔒 Важно понимать, с какими данными идёт работа. СпрутМонитор хранит сведения, которые относятся к персональным данным и коммерческой тайне, поэтому MCP-сервер не открывает к ним обходного доступа. Он работает через API системы с правами пользователя (основного или дополнительного), и видит только то, что ему разрешено. В локальной версии данные остаются на вашем сервере, а модель получает только ту выборку, которая нужна для конкретного ответа. Какой ИИ-клиент подключать и где он будет работать, решаете вы.
Сайт: sprutmonitor.ru
Документация продукта: sprutmonitor.ru/docs2/
Кабинет: app.sprutmonitor.ru
Каталог API в кабинете: app.sprutmonitor.ru/api/
Пакет: sprutmonitor-mcp (uvx sprutmonitor-mcp или pip install sprutmonitor-mcp). Сервер ходит в облако сам, отдельного удалённого MCP нет. Код основан на пакете octowatch-mcp 0.5.1 (лицензия MIT, см. LICENSE).
Требования
Python 3.10+
Хост с MCP (Cursor, Claude Desktop, VS Code)
Путь к web-api серверу СпрутМонитор. Например:
https://cloud.sprutmonitor.ru/v3илиhttp://192.168.1.8:82/MonitorServer/
Related MCP server: Datadog MCP Server
Быстрый старт
python -m venv .venv
# Windows: .venv\Scripts\activate
# macOS/Linux: source .venv/bin/activate
pip install -e .
sprutmonitor-mcpПример для Cursor (демо-вход):
{
"mcpServers": {
"sprutmonitor": {
"command": "sprutmonitor-mcp",
"env": {
"SPRUT_API_BASE": "https://cloud.sprutmonitor.ru/v3",
"SPRUT_EMAIL": "demo@sprutmonitor.ru",
"SPRUT_PASSWORD": "demo"
}
}
}
}Готовые файлы: examples/cursor-mcp-pypi.json, examples/claude-desktop-pypi.json. Запуск из исходников без установки команды в PATH: examples/cursor-mcp.json (python -m sprutmonitor_mcp и свой cwd). Шаги по хостам: docs/hosts.md.
После перезапуска хоста: «Кто я в СпрутМонитор?» или «Риски за последнюю неделю».
Свой вход и локальная установка
Режим | Что задать |
Демо |
|
Свой кабинет | Ваш логин и пароль от аккаунта СпрутМонитор app.sprutmonitor.ru или логин и пароль дополнительного пользователя (вкладка Настройки — Доступ) |
Локальный сервер |
|
Переменная | Смысл |
| Логин аккаунта |
| Пароль |
| Адрес Web-api сервера СпрутМонитор, в т.ч. облако |
Те же данные можно положить в .env рядом с рабочим каталогом процесса. Образец: .env.example. Проверка: инструмент sprutmonitor_whoami. Сверьте ответ с кабинетом.
Примеры вопросов
Какие риски за последний день?
Кто дольше всех простаивал вчера?
Продуктивность отдела за 7 дней
Найти слово в мониторинге за неделю
Список пользователей и групп
Простой — это get_idle_summary, а не list_anomalies. Формальные отклонения (опоздания, переработки) — list_anomalies. Поиск по ключевому слову — search_monitoring, а не цикл по list_monitoring.
Безопасность
Ответы tools могут содержать данные сотрудников: не выкладывайте их в открытые каналы. Подробнее: SECURITY.md.
Ограничения
Только чтение.
Нет скачивания бинарных скриншотов и видео, только метаданные потока.
Основные tools
Имена на латинице. Описание, по которому модель выбирает tool, в коде на английском.
Tool | Область | Заметка |
| Сессия | Хост и учётка, без пароля |
| Дерево | Плоский список |
| Риски | По умолчанию |
| Алерты | Формальные отклонения, не простой |
| Продуктивность | Ранг по |
| Активность | Топ программ и сайтов |
| Табель | Факт против графика |
| Продуктивность | Сводка по людям |
| Отчёты | Расписание и очередь |
Tools кабинета
Tool | Область | Заметка |
| Аналитика |
|
| Дашборд | Виджеты, крупные поля срезаются |
| Хронометраж | Лента |
| Структура дня |
|
| Мониторинг | Один вид таблицы |
| Поиск |
|
| Окно активности | Детализация |
| Онлайн | Только присутствие |
| Поток | Только метаданные |
| Справочники | Пользователи, группы, компьютеры |
| Карточка |
|
| Настройки Get* | Без записи и без PIN |
| Матрица | Что покрыто и что сознательно не входит |
Аргументы и маршрутизация: docs/TOOLS.md. Протокол: docs/MCP.md.
Конфигурация
Переменная | По умолчанию | Смысл |
|
| Глубина, если нет дат и |
|
|
|
sprutmonitor-mcp
sprutmonitor-mcp --transport streamable-httpВторой вариант слушает http://127.0.0.1:8000/mcp.
Период: today, yesterday, last_7_days, last_30_days либо date_from / date_to. Дата без времени — целый день, date_to заканчивается в 23:59:59. В POST фильтр группы — NodeType=14, человека — NodeType=1.
Документация
Файл | Содержание |
Оглавление | |
Установка в хост и свой вход | |
Аргументы tools | |
Протокол, ресурсы, промпты | |
Что из API кабинета покрыто | |
Типовые сбои |
Участие
См. CONTRIBUTING.md и CHANGELOG.md.
Лицензия
MIT — см. LICENSE.
Available Tools
22 toolsget_account_readonlyAccount read-onlyARead-only
Read-only account/profile Gets (SPA header contracts).
License routes are not on this cloud (HTTP 404) and are not called.
profiles: GetProfiles2 — ProfilesType 0|1|2; optional user_id + alias_type (1=user, 14=group); defaults AliasID/AliasType=-1. timetable/rules/profile_settings/computer_settings: require profile_id. computer_profiles: optional computer_guid (Guid header).
Inputs: source, compact, user_id, alias_type, +3 more. Returns: object
get_activity_detailActivity detailBRead-only
Activity drill-down: ActivityWindow (needs activity_name) or CategoryWindow (needs category_guid).
Inputs: mode, period, compact, date_to, +6 more. Returns: object
get_activity_summaryActivity summaryCRead-only
Top apps and sites by ActiveTime (POST /api/Activity/Overall2).
Inputs: raw, top_n, period, date_to, +3 more. Returns: object
get_analyticsGet analyticsCRead-only
Analytics rollups: view=overall|disciplina|activity|productivity.
Inputs: view, period, compact, date_to, +3 more. Returns: object
get_chronoChronometryCRead-only
Chronometry timeline (POST /api/Chrono/Overall2).
Inputs: limit, offset, period, compact, +5 more. Returns: object
get_dashboardGet dashboard widgetCRead-only
Dashboard widgets (metadata only; screenshot blobs stripped when compact).
Inputs: period, widget, compact, date_to, +4 more. Returns: object
get_day_structureDay structureBRead-only
Day structure: mode=list (DayStructureList) or detail (GetDayStructure).
detail requires user_id. Filters match console: ProductivityFilter 0–4, ActivityTypeFilter 0–2 (defaults 0).
Inputs: mode, period, compact, date_to, +5 more. Returns: object
get_idle_summaryIdle time summaryARead-only
Rank users by inactive (idle) time from Productivity/Overall3.
Use for: 'who was idle longest?', 'idle > N hours', InactiveTime totals. Do NOT use list_anomalies for idle — Alerts are formal deviations only.
Inputs: period, date_to, user_id, group_id, +2 more. Returns: object
get_productivity_summaryProductivity summaryCRead-only
Per-user productivity rollup (Overall3 + stats + Analytics metrics).
Inputs: raw, period, date_to, user_id, +2 more. Returns: object
get_timesheetTimesheetCRead-only
Timesheet / attendance summary (POST /api/TimeSheet/Overall2).
Inputs: raw, period, date_to, user_id, +2 more. Returns: object
get_user_infoGet user infoBRead-only
User/computer detail reads (SPA GET headers).
user_data / tooltip / group: need user_id (AliasID). group = group path for that user (not load-by-GroupID). computer / users_from_computer: need computer_guid (ComputerGuid).
Inputs: period, source, compact, date_to, +3 more. Returns: object
list_anomaliesList formal alertsARead-only
List formal Alerts / deviations (POST /api/Alerts/Overall2).
Use for: lateness, overtime, unusual app-share, timetable-fired alerts. Do NOT use for idle/inactive duration — that is get_idle_summary (InactiveTime). Do NOT use for DLP keyword/USB policy hits — that is list_risks.
Inputs: limit, offset, period, compact, +5 more. Returns: object
list_api_coverageAPI coverage matrixARead-only
Static gap matrix: which console APIs are covered vs intentional out-of-scope.
Inputs: no named parameters. Returns: object
list_directoryList directoryARead-only
Directory reads: users/groups tree, users, groups, computers, additional operators.
users_groups is session-cached (~5 min); pass refresh=true to force reload.
Inputs: source, refresh. Returns: object
list_monitoringList monitoringARead-only
Single Monitoring list (Sites, Apps, Screens, Keystrokes, Mail, …).
For keyword search across many Monitoring kinds (console Tools → Search), use search_monitoring(filter_key=…) instead of calling this 13–19 times.
Sensitive kinds return text truncated when compact=true. No binary media.
Inputs: kind (required), limit, offset, period, +7 more. Returns: object
list_onlineList online presenceCRead-only
Online presence (POST /api/Live/Overall2). No webcam or live stream frames.
Inputs: period, compact, date_to, user_id, +2 more. Returns: object
list_reportsList reportsARead-only
List scheduled report mailing settings and background processing tasks.
Inputs: no named parameters. Returns: object
list_risksList DLP risksARead-only
List or summarize DLP/rule Risks for a period.
Use for: policy/keyword/USB/AI rule hits. Default mode=summary (by_user from Analytics/Overall; by_rule/by_day/sample from Risks/Overall2). Not for idle time (get_idle_summary) or timetable deviations (list_anomalies).
Inputs: mode, limit, offset, period, +6 more. Returns: object
list_stream_metaStream metadataARead-only
Desktop video metadata (SPA GET contracts; no DownloadVideo).
which_content: needs user_id; uses DateTo (or period end) as DateTime. videos: needs user_id + DateFrom/DateTo (UserID header). downloads: Bearer only (exported file list).
Inputs: period, source, compact, date_to, +2 more. Returns: object
list_users_groupsList users and groupsARead-only
List users and groups (GetUsersGroups2). Flat Items list. Type 0=root, 1=group, 2=user. Name is NameInner. There is no AliasID field.
For a user, pass Items.ID (Type=2) as user_id. Reports call that same number AliasID. POST filters use NodeType 14=group and NodeType 1=user. Tree Type is not NodeType. Cached ~5 min per MCP session; pass refresh=true to force reload.
Inputs: refresh. Returns: object
search_monitoringSearch monitoringARead-only
Console Tools → Search: parallel Monitoring fan-out with FilterKey.
Use for: 'find keyword X across activity' (sites/apps/keys/mail/files/…). Prefer this over calling list_monitoring many times. Not for Risks (list_risks), idle (get_idle_summary), or formal Alerts (list_anomalies). Does not search SearchQueries.
kinds: optional comma-separated subset (e.g. "Sites,Apps,Mail" or "sites,mail"). Default = all Tools Search sources.
Inputs: filter_key (required), kinds, offset, period, +6 more. Returns: object
sprutmonitor_whoamiWho am IARead-only
Show which SprutMonitor API host and account the MCP server is using (password never returned).
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Descriptions go to great lengths to cross-reference (list_risks vs list_anomalies vs get_idle_summary; list_monitoring vs search_monitoring) and that helps a lot. However, real overlap persists: get_analytics with view=activity|productivity competes with get_activity_summary and get_productivity_summary, and list_directory (users/groups tree, users, groups) overlaps list_users_groups and get_user_info. More than one or two pairs could be misselected without reading the full text.
Strong, predictable list_/get_/search_ + noun pattern across nearly all 22 tools (list_risks, get_idle_summary, search_monitoring). Minor deviations: sprutmonitor_whoami breaks the verb_noun form with a server prefix, and mode-switching tools like get_day_structure and get_account_readonly pack multiple operations under one name.
22 tools is on the heavy side and several could be consolidated (list_users_groups/list_directory/get_user_info all read the same user-group domain; get_analytics overlaps the activity/productivity summaries). Each tool does map to a distinct backend endpoint, so it is defensible, but the surface is at the upper edge for a monitoring dashboard.
Read coverage is broad and explicit: activity, productivity, idle, timesheets, chrono, risks, alerts, monitoring search, streams, directory, and account data, with list_api_coverage documenting intentional out-of-scope gaps. Gaps exist around write/lifecycle operations (no create/edit of reports or rules, no video download or binary media), which appear deliberate for an agent-facing read server rather than accidental.
Maintenance
Related MCP Connectors
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Ask your AI assistant about your logs, traces, security events, robot runs and video. Read-only.
Ask your Quickbase apps in plain language. Read-only by default; writes need human approval.
Ask your databases questions in plain English, run read-only SQL and set up data alerts.
Related MCP Servers
AlicenseBqualityCmaintenanceEnables MCP clients to interact with SentinelOne's cybersecurity platform for security analysis, threat investigation, and asset management through natural language queries. Provides read-only access to alerts, vulnerabilities, misconfigurations, and inventory data.33104MIT- FlicenseBqualityDmaintenanceEnables natural-language investigation of Datadog data including logs, metrics, monitors, traces, hosts, dashboards, events, and incidents, all through read-only API access.14-
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with Wazuh SIEM for alert querying, threat hunting, vulnerability scanning, and active response actions.MIT
- AlicenseAqualityBmaintenanceEnables security analysts to investigate Microsoft Entra ID security logs through natural language, exposing read-only tools for user context, sign-ins, risky users, risk detections, directory audits, and conditional access policies.6MIT