Teramind

io.github.WYRE-AI由 GitHub 账号 WYRE-AI 发布v1.0.1更新于 Oct 24, 2026

MCP server for Teramind's insider-threat/employee-monitoring API (read-only, metadata-only surface).

已验证STDIO仅桌面安全与监控商业与电商

概览

AI 生成的概览

面向 Teramind 员工监控的只读 MCP 服务器,让助手浏览计算机、代理(用户)、部门、告警、规则与策略的元数据。

可以做什么
  • 列出并查看受监控的计算机与代理(用户),含主机名、操作系统、邮箱与在线状态
  • 列出并查看部门及组织架构元数据
  • 按时间窗口列出触发的规则违规告警,可按代理、计算机或部门筛选
  • 列出并查看异常规则及其标签、行为策略与策略组
  • 列出监控配置文件,并读取已认证账户自身的设置
适用场景
适合需要让助手回答关于组织 Teramind 部署的问题时使用,例如谁和哪些设备被监控、配置了哪些规则与策略、触发了哪些告警,而无需打开仪表盘。它是刻意收窄的只读清单接口,不是报表或内容审查工具。
运行要求
以本地进程运行(Docker 镜像,stdio 传输)。需要 TERAMIND_INSTANCE_URL 提供 Teramind 实例基础地址,以及 TERAMIND_ACCESS_TOKEN 提供在 Teramind 仪表盘按账户生成的 JWT 访问令牌。可选设置包括 AUTH_MODE、MCP_TRANSPORT、LOG_LEVEL;网关模式改为从请求头获取凭据。
安装前请注意
数据属于高度敏感的员工监控个人信息,连接真实账户前应做安全审查。访问令牌继承创建它的账户的全部权限,默认可访问 Teramind 所有接口,包括录屏与被采集内容,因此连接器自身代码是唯一边界。告警字段可能包含触发上下文的简短摘录。建议用专门的降权账户创建令牌。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Teramind,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Teramind MCP Server

MCP server for Teramind's insider-threat/employee-monitoring API - computer inventory, agent (user) inventory, departments, alerts, anomaly-rule and behavior-policy configuration, and monitoring-profile metadata - for AI assistants and the WYRE Conduit gateway.

This connector is PII-dense by construction (insider-threat/employee-monitoring product) and requires security review before merge - see Scope and Credential scope below.

Authentication

Teramind authenticates with a JWT Access Token, self-generated per-account in the Teramind dashboard (User menu -> Access Tokens), sent as the x-access-token header. There is no OAuth flow.

Teramind's API is per-customer-instance (cloud or on-premise/private-cloud) - there is no shared multi-tenant base URL like most other connectors in this catalog. Every credential set also carries the customer's own instance URL (e.g. https://yourcompany.teramind.co). In gateway mode both arrive per-request via the X-Teramind-Access-Token / X-Teramind-Instance-Url headers; in local/stdio mode they're read once from TERAMIND_ACCESS_TOKEN / TERAMIND_INSTANCE_URL.

Configuration

Env varDescription
TERAMIND_ACCESS_TOKENJWT access token issued by the Teramind dashboard's Access Tokens menu.
TERAMIND_INSTANCE_URLThe customer's Teramind instance base URL, e.g. https://yourcompany.teramind.co.
MCP_TRANSPORTstdio (default) or http.
AUTH_MODEenv (default, reads the vars above) or gateway (credentials arrive per-request via X-Teramind-Access-Token / X-Teramind-Instance-Url, injected by the Conduit gateway).
CONDUIT_S2S_SECRETWhen set, the HTTP transport requires a valid X-Gateway-S2S header (Conduit sidecar auth) on every /mcp request.
LOG_LEVELdebug | info (default) | warn | error.

Tools

Computers

  • teramind_list_computers - list monitored computers (hostname, FQDN, MAC/IP, OS, monitoring status).
  • teramind_get_computer - get full detail for a single computer.

Agents (users)

  • teramind_list_agents - list monitored agents (Teramind's term for a monitored employee/user identity): id, name, email, avatar, online status.
  • teramind_get_agent - get full detail for a single agent.

Departments

  • teramind_list_departments - list departments (org-structure metadata).
  • teramind_get_department - get full detail for a single department.

Alerts

  • teramind_list_alerts - list fired rule-violation events in a time window, optionally filtered by agent/computer/department.

Anomaly rules

  • teramind_list_anomaly_rules - list configured ML-based anomaly-detection rules (type, risk quotient, trigger conditions).
  • teramind_get_anomaly_rule - get full detail for a single anomaly rule.
  • teramind_list_anomaly_rule_tags - list the tags available to categorize anomaly rules.

Behavior policies

  • teramind_list_behavior_policies - list behavior policies (what activity type each policy watches and its match conditions).
  • teramind_get_behavior_policy - get full detail for a single behavior policy.
  • teramind_list_behavior_policy_groups - list behavior policy groups (the containers that organize behavior policies).
  • teramind_get_behavior_policy_group - get full detail for a single behavior policy group.

Monitoring

  • teramind_list_monitoring_profiles - list monitoring profiles (which data types are configured to be captured, and for whom).

Account

  • teramind_get_account - get the authenticated account's own settings (credential sanity check).

Scope

This is a deliberately narrow, read-only v1 surface, scoped MORE conservatively than this catalog's usual bar given the sensitivity of an insider-threat/employee-monitoring product. Teramind's documented API (fetched directly from its published Postman collection, apidoc.dev.teramind.co) has 239 operations across dozens of product areas (monitoring, BI reporting, time tracking, scheduling, productivity classification, LDAP, task management, scheduling). This connector implements 16: literal HTTP GET reads covering only computer/user/session inventory, department metadata, and rule/alert configuration. Every tool is classified isAdmin: true in the Conduit gateway regardless of verb, given the sensitivity of employee-monitoring data.

No literal GET endpoint exists for session inventory. Teramind's session data (Sessions report, Login session BI grid) is only reachable through POST query/grid-style endpoints, not a plain resource GET - documented here as a finding, not fabricated as a tool. Session data is out of this connector's v1 scope as a consequence, not a separate exclusion decision.

Hard-excluded: anything that returns actual monitored content, or mints/reveals a credential - by name, even where the verb is GET

Per this connector's scope boundary, the distinction is: metadata about monitoring (who is monitored, when, what rule fired) is in scope; the actual captured content of what was monitored, or a mechanism to obtain a live credential, is not, regardless of read/write verb.

EndpointRationale
GET /tm-api/agent/:id/avatar/:scaleReturns the agent's avatar/headshot image - biometric-adjacent photo content.
GET /tm-api/activity/email/:id/infoEmail-activity metadata (participants/subject) - content-adjacent; excluded alongside its two siblings below rather than judged separately.
GET /tm-api/activity/email/:id/body-html-documentReturns the full captured email body as rendered HTML. Raw captured content.
GET /tm-api/activity/email/:id/bodyReturns the full captured email body. Raw captured content.
GET /tm-api/player/settingsSession-recording player/playback settings for a specific agent+computer.
GET /tm-api/player-tagsAnnotations/bookmarks tied to recorded-session timelines.
GET /tm-api/player-tags/timelineTimeline tags for a specific agent/computer's recorded sessions over a period.
GET /tm-api/player/export-video/status/:idStatus of a screen-recording video export job.
GET /tm-api/player/available-video-dataEnumerates which recorded video segments exist for a computer/period - an inventory of available screen recordings.
GET /tm-api/report/export/download/:idGeneric report-export download - the export could be of ANY report type this API supports, including keystrokes, emails, instant messages, or video, so it is excluded as a class rather than judged per export.
GET /tm-api/report/export/statusStatus of a report-export job - same generic content-bearing concern as the download endpoint above.
GET /tm-api/short-tokenMints a new short-lived, live access token. Credential issuance, not content - held to the same bar as a credential-return endpoint in every other connector in this catalog.
GET /tm-api/tokenLists the account's active JWT token IDs - credential/session-management data.

No GET endpoint anywhere in Teramind's documented API returns raw keystroke logs, chat/IM content, printed-document content, or social-media activity content - those are exclusively reachable through the POST /tm-api/report/*/grid and POST /tm-api/wip/tma-query (BI) families, which this connector excludes as a category below. This connector's GET-only scope therefore rules out keystroke/screenshot/chat-content exposure by construction, not merely by the per-endpoint judgment calls above - see Credential scope for what this claim does and does not cover.

Excluded by category (out of the named scope: computer/user/session inventory + rule/alert data)

CategoryWhy excluded
Activities (aggregated activity)Activity/productivity data, not inventory or rule/alert metadata.
BI / BI Filter (37 ops)All POST query/chart endpoints; several return captured content (keystrokes, emails, IM, social media, printed documents, web search, console commands).
Reports / Report settings / Reports batch (~55 ops)All POST grid/settings endpoints; several return captured content (keystrokes, emails, IM, printing, social media, console commands, video export).
Video export (remaining 2 ops)POST write actions that generate exports of screen-recording content.
Time Tracking Reports, Time tracker tasks, Tasks, ScheduleEmployee clock-in/task/shift-scheduling features, unrelated to monitoring inventory or rule/alert data.
LDAPDirectory-service connection config - out of scope, and a plausible vector for exposing bind-account details even as a plain read.
SMTP, IngestionSingle POST write actions (send test email, create VoIP events); no read surface.
Shared listsRule-input datasets (e.g. keyword/URL watchlists referenced by rules) of ambiguous sensitivity - excluded as a judgment call rather than included by default.
Productivity Profile, instance/tma-categoriesProductivity-classification taxonomy - arguably rule-adjacent, but not named in this connector's scope; excluded to stay tight rather than included as a stretch.
instance/tma-state, time, license/usageGeneric utility/status endpoints, none of which fit computer/user/session inventory or rule/alert data.
Every POST/PUT/DELETE/PATCH on Agent, Computer, Department, Behavior Policy, Anomaly Rule, Authorization, Monitoring ProfileWrite, provisioning, enable/disable-monitoring, or account-mutation operations. Never implemented, regardless of verb.
Anomaly-rule / behavior-policy templates, tags-and-misc bundle, demo policyCatalogs for AUTHORING new rules, not this org's actual configured monitoring - out of scope for a read-only inventory connector (teramind_list_anomaly_rule_tags is the one exception kept, as a simple, low-risk taxonomy lookup directly useful for interpreting teramind_list_anomaly_rules output).

They can be added as a follow-up if there's demand, after a deliberate scope decision - not by default.

Field-level restriction, not just endpoint-level

GET /tm-api/v1/agents[/:id] supports an optional fields query parameter that can return salary_type and default_wage (compensation data) and ldap_attrs (raw directory attributes) - HR/PII data well beyond "who is monitored." This connector's client.ts never passes that parameter, so only the default identity fields (agent_id, name, email_address, avatar, online) are ever returned, regardless of what a caller requests through the tool's input schema (there is no fields parameter exposed on teramind_list_agents / teramind_get_agent at all).

Judgment call flagged for reviewer attention: alert content

teramind_list_alerts is squarely in this connector's named scope ("rule/alert data"), and its response shape is documented by Teramind to include description/caption/values fields describing why a rule fired. Depending on the rule type, those fields may carry a short excerpt of the triggering context (e.g. a matched keyword, or a visited URL) rather than pure metadata - this is passed through as Teramind returns it, unmodified. This was judged in-scope because alerts are explicitly named in this connector's scope and the excerpt (if present) is bounded to what a human already configured a rule to flag, not raw unfiltered activity capture - but it is flagged here explicitly, per this task's instruction, rather than decided unilaterally as a closed question.

Credential scope (read this before connecting a real account)

This is the single most important finding in this README. Two claims, deliberately kept at different confidence levels:

(1) STRUCTURALLY VERIFIED - this connector's own code never calls a content-capture, credential-issuance, or write endpoint. Confirmed against client.ts: exactly 16 functions exist, one per tool, each a literal GET against one of the endpoints listed in the Tools section above; there is no wildcard/passthrough/generic-request function anywhere in src/. This connector is read-only and non-content-capturing by construction.

(2) VENDOR-DOCUMENTED, NOT INDEPENDENTLY VERIFIED - whether the underlying access token itself can be restricted to a metadata-only scope is a separate question from what this connector's code calls, and the answer is more nuanced than a clean yes/no:

  • Per Teramind's own Knowledge Base ("User Menu"; "How to change a user's access level" - both fetched directly, 2026-09-20), an access token inherits the full permissions of whichever account created it, fixed at creation time. Teramind does not offer a token-scoping mechanism independent of account role.
  • The default case - a single full "Administrator" account, which is what a fresh self-serve cloud trial signup produces - has NO restrictions. A token created there can reach every one of Teramind's 239 documented operations, including screen recordings, keystroke logs, and email/chat content capture. This connector's code never calls those endpoints, but the credential itself is not restricted unless the customer takes deliberate, manual, vendor-side action beyond anything this connector or Conduit controls or verifies.
  • Teramind does document a reduced role, "Operational Administrator," that CAN create its own access tokens and is explicitly documented as unable to "browse any recordings or view monitoring data" and unable to see "Alerts" (per Teramind's "How to change a user's access level" article, quoted directly). This is the closest documented approximation to a metadata-only token - but (a) it is a manual account-configuration choice the customer must make, not anything this connector or the Conduit connect flow enforces or checks at connect time; (b) Teramind's documentation describes this as menu/UI-level access, and no independent test was performed sending a request with an Operational-Administrator-scoped token against one of this connector's excluded endpoints to confirm a real server-side 403 versus a UI-only restriction; and (c) that role is explicitly documented as also blocking Alerts, which this connector treats as in-scope - so even the reduced role doesn't map cleanly onto this connector's own scope boundary.
  • A further role, "Infrastructure Administrator," is more restrictive still, but (a) cannot create its own access tokens at all (only be assigned one after creation by an Administrator), and (b) per Teramind's docs is "not able to list employee or computer accounts" - i.e. it would also block this connector's own computer/agent inventory tools, so it is not a usable configuration for this connector's purpose either.

Net finding: by default, nothing about the Teramind access token credential itself prevents it from reaching every endpoint this connector deliberately excludes. The connector's own code is the actual control boundary (per point 1 above), not the credential. Recommendation for whoever operates Gate 3 review or advises customers connecting this vendor: consider documenting that customers should create the token under a dedicated Operational Administrator account rather than a full Administrator, as defense-in-depth against a differently-configured client reusing the same stored token - while treating this connector's own code (which never calls a content-capture endpoint) as the primary, verified control.

Request limits

  • HTTP request bodies are capped at 256 KiB (262144 bytes). After the X-Gateway-S2S check passes, a Content-Length above the cap returns 413 with a JSON-RPC error; bodies without Content-Length are capped by the MCP SDK transport. Unauthenticated requests still get 401 first.
  • tools/call arguments are capped at 10,000 elements (every array item and object key at any depth). Larger inputs return an isError tool result and are never dispatched.

These limits address CVE-2026-111768 / GHSA-46jr-4wx8-v453 (memory exhaustion during validation) and GHSA-f897-62hf-6gxq (no request body / batch cap).

Development

bash
npm installnpm run buildnpm testnpm run lint   # tsc --noEmit

Docker

bash
docker build -t teramind-mcp .docker run -p 8080:8080 -e TERAMIND_ACCESS_TOKEN=... -e TERAMIND_INSTANCE_URL=https://yourcompany.teramind.co teramind-mcp

来源:README.md,提交 582baaa

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

2
  1. v1.0.1最新Oct 22, 2026
  2. v1.0.0Sep 21, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。