Telivy

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

MCP server for Telivy's security assessment API for MSPs.

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

概览

AI 生成的概览

面向 MSP 的 Telivy 安全评估 API 只读 MCP 服务器,让助手查看外部扫描、深度扫描风险评估、设备清单与暴露发现。

可以做什么
  • 列出并读取外部(表面)扫描、按 slug 查看其发现项,以及扫描域名相关的泄露记录
  • 列出并读取深度扫描风险评估、其设备清单,以及所有设备的扫描完成状态
  • 查看 Microsoft 365 与 Google Workspace 用户账号的登录、MFA 与 2SV 状态,以及 PII 暴露汇总
  • 查询顶层发现详情、最新深度扫描代理版本,以及对比两个扫描时段的进展报告
适用场景
适合已在使用 Telivy 评估的托管服务商或安全团队,希望助手在对话中直接汇总扫描结果、设备暴露面、身份与 MFA 状况以及两次扫描之间的进展。
运行要求
以本地进程(stdio)方式从已发布的容器镜像运行,或通过 HTTP 供网关托管。需要 Telivy 门户(Account > Integrations)签发的 API 密钥,放在 TELIVY_API_KEY 中;网关模式下则按请求通过 X-Telivy-Api-Key 请求头传入。HTTP 模式还需 CONDUIT_S2S_SECRET 和签名的 X-Gateway-S2S 请求头。
安装前请注意
Telivy API 密钥属于凭据,应避免写入日志或共享配置。HTTP 模式由 HMAC 密钥(CONDUIT_S2S_SECRET)保护,占位值会被拒绝,不安全开发绕过仅限本地使用。该连接器为只读,不执行重新扫描、卸载等写入操作。扫描数据(含用户账号与 PII 汇总)来自 Telivy 服务。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Telivy MCP Server

MCP server for Telivy's security assessment API for MSPs - external (surface) scans, deep-scan risk assessments, device inventory, M365/Google Workspace user exposure, PII summaries, and finding-level detail, for AI assistants and the WYRE Conduit gateway.

Authentication

Telivy authenticates with a single static API key, generated from the Telivy Portal (Account > Integrations). An OAuth2/Auth0 implicit flow also exists, but the API-key path is simpler and is what MSP integrations use, so that's what this connector uses. The key is sent as the x-api-key HTTP header.

Configuration

Copy .env.example and set the variables below. Leave CONDUIT_S2S_SECRET empty in the example; generate a real value with openssl rand -hex 32.

Env varDescription
TELIVY_API_KEYAPI key issued by Telivy. Required for stdio and for HTTP when AUTH_MODE=env. Gateway mode does not read it.
MCP_TRANSPORTstdio (default) or http.
AUTH_MODEenv (default outside Docker; reads TELIVY_API_KEY) or gateway (credential arrives per-request via X-Telivy-Api-Key). The image and Compose file default to gateway. Gateway mode returns 401 when that header is missing and never falls back to TELIVY_API_KEY.
CONDUIT_S2S_SECRETRequired for HTTP. HMAC secret checked against X-Gateway-S2S on /mcp. If it is empty or a known placeholder (changeme, secret, your-s2s-secret, and the other example values in src/http.ts), the process logs an error and exits non-zero. The value is never logged. Compose will not start when it is unset.
MCP_ALLOW_INSECURE_DEVSet to exactly 1 to start HTTP without CONDUIT_S2S_SECRET. Logs a warning, does not enforce X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST (including 0.0.0.0) refuses to start. A known placeholder secret is still refused. Local development only.
MCP_HTTP_HOSTBind address when MCP_TRANSPORT=http. Defaults to 127.0.0.1. A configured secret keeps honoring this value, including 0.0.0.0. The container image sets 0.0.0.0. With no secret, the insecure-dev bypass forces 127.0.0.1.
MCP_HTTP_PORTHTTP port. Defaults to 8080.
LOG_LEVELdebug | info (default) | warn | error.

/health and /healthz stay unauthenticated and do not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

HTTP authentication

With MCP_TRANSPORT=http and CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S. The check is verifyS2sHeader in src/s2s-verify.ts: the header value is t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of the literal string t=<unix seconds> keyed with CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header is HTTP 401, before the Telivy API key is read.

bash
TS=$(date +%s)SIG=$(printf 't=%s' "$TS" | openssl dgst -sha256 -hmac "$CONDUIT_S2S_SECRET" -hex | awk '{print $NF}')curl -sS http://127.0.0.1:8080/mcp \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -H "X-Gateway-S2S: t=${TS},v1=${SIG}" \  -H "X-Telivy-Api-Key: $TELIVY_API_KEY" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

In AUTH_MODE=gateway, /mcp also requires X-Telivy-Api-Key. That header is the only credential source for the request. AUTH_MODE=env still requires a valid X-Gateway-S2S header, then uses TELIVY_API_KEY from the environment.

Tools

External scans

  • telivy_list_external_scans - list external (surface) scans, with search/sort/pagination.
  • telivy_get_external_scan - get a single external scan by assessment ID.
  • telivy_list_external_scan_findings - list the findings for an external scan.
  • telivy_get_external_scan_finding - get details for a single external scan finding by slug.
  • telivy_get_breach_data - get breach records surfaced for an external scan's domain(s).

Risk assessments

  • telivy_list_risk_assessments - list deep-scan risk assessments, with search/sort/pagination/status filters.
  • telivy_get_risk_assessment - get a single risk assessment by ID.
  • telivy_list_risk_assessment_devices - list all deep-scan devices for a risk assessment.
  • telivy_get_risk_assessment_device - get a single deep-scan device by ID.
  • telivy_get_risk_assessment_scan_status - get scan completion status across all devices.
  • telivy_list_m365_users - get Microsoft 365 user accounts with login status and MFA info.
  • telivy_list_gws_users - get Google Workspace user accounts with login and 2SV status.
  • telivy_get_pii_summary - get the PII exposure summary across all devices.

Findings, agent versions, and risk progress

  • telivy_get_agent_versions - get the latest deep-scan agent versions (Windows/Mac).
  • telivy_get_finding - get top-level finding details by slug (e.g. TYPO_SQUATTING, PERSONAL_EMAILS).
  • telivy_get_risk_progress - get a progress report (new/resolved/regressed/open findings) comparing two scan timestamp groups.

Scope

This is a v1, read-only MSP fleet/security-visibility surface, matching this wave's convention of scoping connectors to monitoring/visibility and deferring provisioning-style writes. Explicitly out of scope for now:

  • All write endpoints: creating or updating external scans and risk assessments, rescan-all, uninstall-all, rescanning a single device, convert-to-risk-assessment, and updating monitoring settings. These are provisioning/destructive actions, not read-only visibility.
  • The binary report-download endpoints (GET .../external-scans/{id}/report, GET .../risk-assessments/{id}/report) - they return files, not the structured JSON this connector's tools deal in.
  • GET /api/v1/security/risk-assessments/{id}/domain-change-preview - a preview endpoint for an in-flight domain-change write, out of scope alongside the write it previews.

They can be added as a follow-up if there's demand.

Development

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

HTTP refuses to start until CONDUIT_S2S_SECRET is set:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" npm run start:http

Local HTTP without a service-to-service secret binds 127.0.0.1 only and logs a warning. The image sets MCP_HTTP_HOST=0.0.0.0, so this bypass also requires that variable to be loopback (or unset). A non-loopback host makes startup exit:

bash
MCP_ALLOW_INSECURE_DEV=1 npm run start:http

Docker

The image listens on 0.0.0.0 inside the container and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass a real S2S secret. In gateway mode the Telivy API key arrives on each request as X-Telivy-Api-Key; it is not read from the environment.

bash
docker build -t telivy-mcp .docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -p 127.0.0.1:8080:8080 \  telivy-mcp

Compose refuses to start when CONDUIT_S2S_SECRET is unset or empty, defaults AUTH_MODE to gateway, publishes 127.0.0.1:8080:8080, and does not set TELIVY_API_KEY:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" docker compose up

Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses TELIVY_API_KEY:

bash
docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e AUTH_MODE=env \  -e TELIVY_API_KEY="$TELIVY_API_KEY" \  -p 127.0.0.1:8080:8080 \  telivy-mcp

来源:README.md,提交 2caedbb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.0.1最新Oct 17, 2026
  2. v1.0.0Sep 20, 2026

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

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