
VMware Log Insight
io.github.vmware-skills由 GitHub 账号 vmware-skills 发布v2.4.1更新于 Oct 24, 2026
Read-only VMware Aria Operations for Logs (Log Insight): search + aggregation. 7 MCP tools.
概览
以只读方式访问 VMware Aria Operations for Logs(Log Insight):检索集中式 syslog、按时间分箱聚合计数并查看告警。
- 可以做什么
- 按时间窗口和整词文本检索日志事件,最多返回 200 条
- 对某个字段按时间分箱做计数或平均值聚合,并检测 z-score 突增
- 列出设备上的日志字段,并读取设备版本与构建号
- 列出已定义的告警、查看单条告警及其触发历史
- 适用场景
- 适合需要翻查 ESXi 主机、vCenter 和虚拟机集中日志的场景,例如在近期时间窗内定位错误、找出日志突增时段,或把检索结果与 vCenter 事件、指标一起用于故障关联分析。
- 运行要求
- 以 Python 包形式在本地通过 stdio 运行(uvx 或 uv tool install)。需要配置文件,默认位于 ~/.vmware-log-insight/config.yaml(可用 VMWARE_LOG_INSIGHT_CONFIG 指定路径),其中填写设备主机、用户名和 provider,并通过 VMWARE_LOG_INSIGHT_ _PASSWORD 环境变量提供密码。需要能访问设备 API(默认端口 9543)。
安装
在 SourceWeft 中
- 打开 控制台中的 VMware Log Insight,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
VMware Log Insight
For a read-only check of this skill with your model and agent host, use the shared model-fit self-test in the marketplace root.
Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by VMware, Inc. or Broadcom Inc. "VMware", "vSphere", and "Aria" are trademarks of Broadcom. Source is publicly auditable under the MIT license.
Read-only log search and aggregation for VMware Aria Operations for Logs (formerly vRealize Log Insight) — the appliance that collects syslog from ESXi hosts, vCenter, and VMs. The centralized-log data source for the VMware skill family. Strictly non-destructive: it queries, it never writes.
Upgrading to 2.0
2.0 renames all 7 MCP tools so every name starts with a verb (e.g. alert_get → get_log_alert, alert_history → get_log_alert_history, alert_list → list_log_alerts). The full old → new table is in
RELEASE_NOTES.md. Nothing else changes: same tools, parameters,
safety gates and CLI commands. If an agent prompt, script or ~/.vmware/rules.yaml names a tool, update it — though deny
rules written with the old names keep working with vmware-policy ≥ 1.18 (vmware-audit policy lists any rule the
renames widened), and vmware-pilot ≥ 1.13 translates old names in saved workflows.
If an install older than 2.0 shares that rules.yaml, give it vmware-policy ≥ 1.18.2 too: it matches each rule
against both the old and the new name, so one file serves both.
Companion Skills
Install
Offline / Air-Gapped Install (from source)
This project uses the modern PEP 517 build system (hatchling), so there is no
setup.py by design — that is expected, not a missing file. If you cloned the
source and hit ERROR: File "setup.py" or "setup.cfg" not found ... editable mode currently requires a setuptools-based build, your pip is older than 21.3 and
cannot do an editable (-e) install with a non-setuptools backend. Editable
mode is a developer convenience, not needed to run the tool — do one of:
For a truly air-gapped host, build the wheels on a connected machine and copy them over — the target then needs no network:
MCP Tools (7 — all read-only)
Workflows
- Find errors fast —
vmware-log-insight search -q error -l 1h. - Where did logs burst? —
vmware-log-insight aggregate -q error -l 6h --bin-ms 300000, readspikes[], thensearchthe spike window. - Root cause — pass
search_logsresults (plus vCenter events from vmware-monitor and metrics from vmware-aria) to vmware-debugbuild_incident_timeline.
Troubleshooting
401 on /sessions→ check username/password/providerand theVMWARE_LOG_INSIGHT_<TARGET>_PASSWORDenv var.503 everywhere→ appliance starting up;doctorreports it as a status, not a crash.- Empty results → widen
--last;textmatches whole words, not substrings (tryword*); default API port is 9543 (setportif different). UCOUNT needs a field→ pass--field(names fromfields); COUNT and SAMPLE take none.
Security
Read-only by construction. Credentials in ~/.vmware-log-insight/.env (chmod 600);
plaintext passwords auto-obfuscated to grep-safe b64: (obfuscation, not
encryption — inject from a secret manager for real secrecy). TLS on by default.
See SECURITY.md.
Remote access (HTTPS) and limiting tools
By default vmware-log-insight mcp speaks stdio to one local client and offers every tool. Two options change that
(vmware-policy ≥ 1.21.0).
Serve over HTTPS so clients on other machines can connect. Every caller needs a bearer token:
Connect a client (Claude Code shown; any MCP client that supports streamable HTTP and custom headers works):
- The server will not start without a token, refuses Host/Origin values outside
--public-name, and checks before it binds that unauthenticated requests get 401. Use a certificate your clients trust for those names. - Behind a TLS-terminating reverse proxy on the same machine use
--transport http --host 127.0.0.1 --public-name mcp.example.comand pass theAuthorizationheader through. - Behind a load balancer or gateway on another machine, keep
--transport https(a self-signed certificate is fine), list in--public-namethe host name the balancer sends asHost, and have it forwardAuthorization. Its health probe can useGET /healthz, which needs no token and returns only{"status": "ok"}(vmware-policy ≥ 1.23.0). - Send
traceparentorX-Request-IDwith each request to have it stored on the audit row;vmware-audit log --correlation-id IDthen finds the calls behind one platform request. - The audit log records each caller as
token:<name>. Calls run side by side, with or without a target: each target keeps up toVMWARE_MCP_POOL_SIZEsessions (default 2), and each session is a login on the target. A call that finds them all busy waits at most 300 s for one. - Everyone who can reach the endpoint acts with this server's account. Tokens identify callers; they grant nothing on the platform. Run one endpoint per privilege level.
- Several people or roles on one endpoint: run
vmware-audit roles enableonce, then give each token a role (vmware-audit token create NAME --role reader, or a role inroles.yamlnaming tools and targets; vmware-policy ≥ 1.24.0). A role limits what the token may call on this endpoint; it cannot grant more than the account has. See vmware-policy's README, "Roles for network callers".
Limiting tools: every tool of this server is read-only, so --expose read changes nothing here; it
exists for the write-capable skills. Least privilege comes from the account the server uses.
Details: skills/vmware-log-insight/references/setup-guide.md ("Serving MCP over HTTPS", "Limiting which tools are offered").
License
MIT.
来源:README.md,提交 f567938
工具
0版本历史
9- v2.4.1最新Oct 17, 2026
- v2.4.0Oct 16, 2026
- v2.3.0Oct 15, 2026
- v2.2.0Oct 15, 2026
- v2.1.0Oct 15, 2026
- v2.0.0Oct 14, 2026
- v1.9.1Oct 13, 2026
- v1.9.0Sep 20, 2026
- v1.8.17Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。