Skip to main content
Glama
octowatch-mcp

octowatch-mcp

Official
by extralabs

OctoWatch DLP MCP Server

PyPI package: octowatch-mcp · product: octowatchdlp.com (not related to other products named “OctoWatch”).

PyPI Python CI MCP License: MIT

Install in Cursor Install in VS Code Install in VS Code Insiders

Read-only Model Context Protocol (MCP) server for OctoWatch DLP Cloud employee monitoring and data-loss prevention — ask Cursor, Claude, or VS Code about risks, idle time, productivity, and monitoring in plain language.

Python MCP SDK v2 (MCPServer). Built for SecOps and managers — open-source companion to the OctoWatch console.

Contents: Status · Where to find us · Prerequisites · Example questions · Security · Limitations · Quick start · Your account · Tools · Configuration · Documentation · Contributing

Status

Alpha (v0.5.1). APIs and tool shapes may change; pin a PyPI version in production configs.

Tool failures return MCP is_error (ToolError). All tools advertise read_only_hint.

Related MCP server: Purple AI MCP Server

Where to find us

The MCP runs locally (no ExtrLabs-hosted MCP). Catalogs point at PyPI / GitHub; you supply Cloud login via env.

Channel

Link

PyPI

octowatch-mcp

Official MCP Registry

io.github.extralabs/octowatch-mcp

GitHub

extralabs/octowatch-mcp-server

Cursor Marketplace

Plugin manifest .cursor-plugin — publish form (manual review)

Directories

Glama · mcpservers.org · mcpfind.org · mcpmarket.com · PulseMCP · awesome-mcp-servers#13003 (mcp.so skipped — paid)

cursor.directory

Open Plugins: root .mcp.json + .cursor-plugin/plugin.json — re-submit after these are on main

Directory / Marketplace maintainer notes: docs/distribution.md.

Prerequisites

  • Python 3.10+

  • An MCP-capable host (Cursor, Claude Desktop, VS Code, …)

  • Network access to your Cloud API host (default https://cloud.octowatchdlp.com)

Example questions

  • “Which Risks in the last day?”

  • “Who was idle the longest yesterday?”

  • “Productivity summary for Accounting”

  • “Show Monitoring keystrokes for Emily”

  • “Find keyword invoice across monitoring last week”

  • “List users and groups”

Short scenarios

Goal

Ask something like…

DLP / policy hits

“Summarize risks for today by user and rule”

Idle time (not formal alerts)

“Who was idle more than 2 hours yesterday?”

Top apps/sites

“Top applications for group Accounting last 7 days”

Keyword hunt

“Search monitoring for confidential last 30 days”

Directory

“List users and groups, then show info for AliasID 4”

Security & privacy

Defaults use the public demo account.
Do not put production passwords in MCP config or git. Use env vars and a least-privilege console operator.
No writes, no screenshot/video binary downloads.

Monitoring responses can contain sensitive employee data (activity, keystrokes snippets, mail metadata). Treat tool output as confidential. Full policy: SECURITY.md.

Limitations

  • Read-only — not a full console replacement (Web Console)

  • No screenshot/video binary downloads (stream metadata only)

  • Not a mirror of product docs or the REST catalog — those stay at docs and /api/

  • Alpha — expect breaking changes between minors until 1.0

Quick start (PyPI)

Use the Install badges at the top of this README (Cursor / VS Code; demo credentials). First ensure the CLI is available:

pip install octowatch-mcp

Or configure manually — example for Cursor / Claude-style mcpServers (demo credentials):

{
  "mcpServers": {
    "octowatch": {
      "command": "octowatch-mcp",
      "env": {
        "OCTOWATCH_API_BASE": "https://cloud.octowatchdlp.com",
        "OCTOWATCH_EMAIL": "demo@octowatchdlp.com",
        "OCTOWATCH_PASSWORD": "demo"
      }
    }
  }
}

Ready-made files: examples/cursor-mcp-pypi.json, examples/claude-desktop-pypi.json. Per-host steps: docs/hosts.md.

Restart the host, then try: “Using OctoWatch, who am I logged in as?” or “List risks for the last week.”

Demo credentials work without a .env. Be gentle with the shared demo tenant (avoid aggressive agent loops).

From source

git clone https://github.com/extralabs/octowatch-mcp-server.git
cd octowatch-mcp-server
python -m venv .venv
# Windows: .venv\Scripts\activate
# macOS/Linux: source .venv/bin/activate
pip install -e .
cp .env.example .env   # optional
python -m octowatch_mcp

Use examples/cursor-mcp.json / examples/claude-desktop.json and set cwd to your clone (Windows: D:\\path\\to\\octowatch-mcp-server).

ChatGPT and other hosts

There is no single public ChatGPT JSON config we ship yet — ChatGPT / similar products often use remote MCP connectors rather than a local command stdio process.

  • For local desktop agents, prefer Cursor, Claude Desktop, or VS Code with the examples above.

  • If your host supports custom MCP over HTTP, you can run octowatch-mcp --transport streamable-http (localhost only by default) and register that endpoint per the host’s docs — see docs/hosts.md.

Your account (email / password)

OctoWatch Cloud still needs a console login. The MCP does not store passwords for you — the host passes them as process env.

Mode

What to set

Demo (try-out)

Defaults / Install badges: demo@octowatchdlp.com / demo

Your tenant

Your least-privilege operator email + password in MCP env (or Cursor plugin Configure)

Variable

Meaning

OCTOWATCH_EMAIL

Console operator email

OCTOWATCH_PASSWORD

Console password (isSecret in Registry metadata)

OCTOWATCH_API_BASE

Cloud API host if not the default public cloud

Recommended: put them in the MCP host JSON env block — examples/cursor-mcp-pypi-with-env.json / examples/claude-desktop-pypi-with-env.json. Cursor plugin variables: .cursor-plugin/plugin.json.

Alternatively, for a source install, copy .env.example → .env next to the process working directory.

Never commit real passwords. Verify the same data in the Web Console. Walkthrough: docs/hosts.md.

Core tools

Tool

Cloud area

Notes

octowatch_whoami

Auth session

Account / host (no password)

list_users_groups

Directory tree

Type 0 root, 1 group, 2 user

list_risks

Risks + Analytics

Default mode=summary

list_anomalies

Alerts

Formal deviations (not idle)

get_idle_summary

Productivity

Rank by InactiveTime

get_activity_summary

Activity

Top apps/sites

get_timesheet

TimeSheet

Worked vs expected hours

get_productivity_summary

Productivity + analytics

Per-user rollup

list_reports

Reports

Scheduled + processing tasks

Console coverage tools

Tool

Cloud area

Notes

get_analytics

Analytics

view=overall|disciplina|activity|productivity

get_dashboard

Dashboard

Widgets; blobs stripped

get_chrono

Chrono

Timeline

get_day_structure

Day structure

list or detail

list_monitoring

Monitoring

One kind; compact by default

search_monitoring

Tools → Search

filter_key across kinds

get_activity_detail

Activity window

Drill-down

list_online

Live

Presence only

list_stream_meta

Stream

Metadata only

list_directory

Edit Get*

users/groups/computers/…

get_user_info

User card

AliasID / computer

get_account_readonly

Account Get*

No Set*/PIN

list_api_coverage

(static)

Gap summary

Full arguments, routing, and scenarios: docs/TOOLS.md.
MCP prompts/resources: docs/MCP.md.

Configuration

Env

Default

Meaning

OCTOWATCH_API_BASE

https://cloud.octowatchdlp.com

API host (serverBase)

OCTOWATCH_EMAIL

demo@octowatchdlp.com

Console operator

OCTOWATCH_PASSWORD

demo

Demo only by default

OCTOWATCH_DEFAULT_DAYS

1

Lookback when tools omit dates/period

OCTOWATCH_TOOLSETS

all

all | core | console (console includes core)

octowatch-mcp                                      # stdio (default)
octowatch-mcp --transport streamable-http          # http://127.0.0.1:8000/mcp

Periods & filters

Prefer period=today|yesterday|last_7_days|last_30_days, or date_from / date_to.

  • Date-only values cover the full calendar day (date_to → 23:59:59).

  • Optional user_id (AliasID) and group_id on most read tools.

  • POST body TreeviewUsers: all → NodeType=-666666; group → NodeType=14; user → NodeType=1.

Documentation

Doc

Contents

docs/README.md

Doc index

docs/hosts.md

Install per host + your login

docs/TOOLS.md

Tool reference + when-which

docs/MCP.md

Protocol, resources, prompts

docs/API.md

MCP coverage audit (not a full REST mirror)

docs/troubleshooting.md

Common failures

docs/registry.md

Official MCP Registry (server.json)

docs/distribution.md

Directories, Marketplace, deferred hosted channels

Product & console

Roadmap

Planned (not scheduled): tighter payload budgets, client-side rate limits, argument completions, server icon, optional MCP Apps UI, tool-routing evals. Registry metadata: docs/registry.md. Protocol surface: docs/MCP.md.

Contributing

See CONTRIBUTING.md. Changelog: CHANGELOG.md. Issues: GitHub Issues.

License

MIT — see LICENSE.

Available Tools

22 tools
get_account_readonlyAccount read-onlyB
Read-only

Read-only account/profile/license Gets (SPA header contracts).

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 detailB
Read-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 summaryB
Read-only

Top apps and sites by ActiveTime (POST /api/Activity/Overall2).

Inputs: raw, top_n, period, date_to, +3 more. Returns: object

get_analyticsGet analyticsB
Read-only

Analytics rollups: view=overall|disciplina|activity|productivity.

Inputs: view, period, compact, date_to, +3 more. Returns: object

get_chronoChronometryC
Read-only

Chronometry timeline (POST /api/Chrono/Overall2).

Inputs: limit, offset, period, compact, +5 more. Returns: object

get_dashboardGet dashboard widgetA
Read-only

Dashboard widgets (metadata only; screenshot blobs stripped when compact).

Inputs: period, widget, compact, date_to, +4 more. Returns: object

get_day_structureDay structureA
Read-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 summaryA
Read-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 summaryB
Read-only

Per-user productivity rollup (Overall3 + stats + Analytics metrics).

Inputs: raw, period, date_to, user_id, +2 more. Returns: object

get_timesheetTimesheetB
Read-only

Timesheet / attendance summary (POST /api/TimeSheet/Overall2).

Inputs: raw, period, date_to, user_id, +2 more. Returns: object

get_user_infoGet user infoA
Read-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 alertsA
Read-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 matrixA
Read-only

Static gap matrix: which console APIs are covered vs intentional out-of-scope.

Inputs: no named parameters. Returns: object

list_directoryList directoryA
Read-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 monitoringA
Read-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 presenceA
Read-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 reportsA
Read-only

List scheduled report mailing settings and background processing tasks.

Inputs: no named parameters. Returns: object

list_risksList DLP risksA
Read-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 metadataA
Read-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 groupsA
Read-only

List users and groups tree (GetUsersGroups2). Type 0=root, 1=group, 2=user.

These Type values are for the UI tree only. For report POST filters use NodeType 14=group and NodeType 1=user (AliasID). Cached ~5 min per MCP session; pass refresh=true to force reload.

Inputs: refresh. Returns: object

octowatch_whoamiWho am IA
Read-only

Show which OctoWatch API host and account the MCP server is using (password never returned).

Inputs: no named parameters. Returns: object

search_monitoringSearch monitoringA
Read-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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools are sharply delineated with explicit cross-references, e.g. list_risks vs list_anomalies vs get_idle_summary. Some overlap remains between list_users_groups and list_directory, and between get_activity_summary, get_productivity_summary, and get_analytics, but descriptions largely resolve it.

    Naming Consistency4/5

    The set mostly follows a consistent list_/get_ + noun convention, with list_ for collection-style endpoints and get_ for details or summaries. Exceptions like octowatch_whoami and search_monitoring break the pattern slightly, keeping this from a 5.

    Tool Count3/5

    22 tools falls in the heavy 16-25 band. The breadth is justified by the wide OctoWatch read-only surface, but the count is more than most agents need at once and includes several summary/detail pairs that could be consolidated.

    Completeness4/5

    The toolset thoroughly covers read-only monitoring: risks, alerts, idle time, activity, productivity, directory, online presence, streams, and account info. Obvious gaps are write/manage operations and media/live-frame downloads, but these appear intentional for a monitoring-focused read-only server.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only access to SentinelOne's platform through MCP, allowing security investigations, threat hunting, and asset inventory queries via natural language.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables 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.
      33
      104
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Enables natural-language investigation of Datadog data including logs, metrics, monitors, traces, hosts, dashboards, events, and incidents, all through read-only API access.
      14
      -