3 v0.1.5 更新于 2026-11-05

lastwords MCP Server

Heap histograms, Go profiles, crash logs and core dumps from Kubernetes pods before they died.

适用客户端

本地客户端
Claude Desktop、Claude Code、Cursor、Cline 等支持本地 MCP 的客户端

安装配置

本地运行(docker)
{
  "mcpServers": {
    "lastwords": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/arvo-ai/lastwords:v0.1.5"
      ]
    }
  }
}

将上方 JSON 加入 MCP 客户端配置(如 Claude Desktop 的 claude_desktop_config.json 或项目的 .mcp.json)即可接入;远程接入按客户端要求填写 URL 与鉴权头。

提供的工具 接入后 Agent 可调用这 4 个工具

lastwords_list_captures
列出 lastwords 保存的捕获记录(OOMKill、崩溃等)。
lastwords_get_capture
获取某条捕获记录的详细信息。
lastwords_read_file
读取捕获中的具体文件内容(如堆直方图、日志、summary.md)。
lastwords_watchlist
查看当前最接近内存限制的容器监控列表。