
Liongard
io.github.wyre-technology由 GitHub 帳號 wyre-technology 發布v2.3.7更新於 Oct 26, 2026
MCP server for Liongard — inspectors, environments, metrics, detections, and timeline data.
概覽
Liongard MCP 伺服器,讓助理瀏覽 Liongard 執行個體中的檢查器、系統、指標、告警、使用者、群組、環境與整合。
- 可以做什麼
- 透過決策樹式入口工具導覽 Liongard 各領域,再依需求載入對應工具
- 檢視與管理檢查器、系統、環境及整合
- 讀取指標、告警與偵測結果,並在支援 MCP Apps 的宿主中顯示唯讀偵測卡片
- 查詢使用者與群組
- 同時支援 Liongard API 的 v1 與 v2 版本
- 適用情境
- 適合使用 Liongard 的託管服務商或 IT 團隊,讓助理查詢環境、系統、偵測結果與指標,或回答客戶受監控基礎架構的問題,而不必切換到 Liongard 介面。
- 執行需求
- 以 stdio 在本機執行(提供容器映像),或作為 HTTP 伺服器執行。stdio 或 AUTH_MODE=env 需要 LIONGARD_API_KEY 與 LIONGARD_INSTANCE;gateway 模式改為每次請求帶上 X-Liongard-API-Key 與 X-Liongard-Instance 標頭。HTTP 模式需要 CONDUIT_S2S_SECRET 並簽署 X-Gateway-S2S。從原始碼建置另需具備 read:packages 權限的 GitHub 權杖以存取私有 npm 來源。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Liongard,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Liongard MCP Server
An MCP (Model Context Protocol) server for interacting with the Liongard platform. Provides AI assistants with tools to manage inspectors, systems, metrics, alerts, users, and more through Liongard's API.
One-Click Deployment
[!IMPORTANT] Before you click: this server depends on
@wyre-technology/node-liongard, which is hosted on the GitHub Packages npm registry. GitHub Packages has no anonymous access — even though the package is public, everynpm installneeds a token. The cloud builder runsnpm installfor you, so you must give it one, or the build fails withnpm error 401 Unauthorized ... npm.pkg.github.com.
- Create a GitHub Personal Access Token with the
read:packagesscope (classic token). Any GitHub account works — you do not need to be a member of thewyre-technologyorg to read its public packages.- Add it as a build variable when prompted by the deploy flow:
- Cloudflare Workers → set a build variable named
NODE_AUTH_TOKENto your PAT (Workers → Settings → Build → Variables and Secrets).- DigitalOcean App Platform → set an encrypted env var named
GITHUB_TOKENwith scope Build Time to your PAT (the Dockerfile reads it for the install).
[Deploy to Cloudflare Workers]
Features
- Decision-tree tool architecture — starts with a navigation tool, then exposes domain-specific tools on demand
- 25 tools across inspectors, systems, metrics, alerts, users, groups, environments, and integrations
- Interactive detection card via MCP Apps (SEP-1865):
liongard_detections_getrenders as a read-only card in MCP Apps hosts (Claude Desktop/web) with severity/status badges and server-resolved system/environment names — neutral by default, brandable viawindow.__BRAND__injection orMCP_BRAND_*env vars (MCP_BRAND_NAME,MCP_BRAND_LOGO_URL,MCP_BRAND_PRIMARY_COLOR,MCP_BRAND_ACCENT_COLOR,MCP_BRAND_BG,MCP_BRAND_TEXT), no rebuild needed - Dual API version support (v1 and v2)
- 128 tests
Installation
This project depends on @wyre-technology/node-liongard, published to the
GitHub Packages npm registry, which requires a token even for public packages.
Authenticate once, then install:
The repo's .npmrc already points the @wyre-technology scope at GitHub Packages and
reads the token from NODE_AUTH_TOKEN, so no further config is needed.
Configuration
Copy .env.example. Stdio and AUTH_MODE=env read the Liongard variables. Gateway mode does not.
/health stays unauthenticated and does 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 value is t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of the exact string t=<unix seconds> keyed by CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header returns 401. The secret is never written to logs.
In AUTH_MODE=gateway, /mcp also requires X-Liongard-API-Key and X-Liongard-Instance. Those headers are the only credential source for that request. A request missing either header returns 401 and does not read LIONGARD_API_KEY or LIONGARD_INSTANCE from the environment.
Docker Compose
The checked-in Compose service is gateway mode. It publishes 127.0.0.1:8080:8080, requires CONDUIT_S2S_SECRET, and does not set LIONGARD_API_KEY, LIONGARD_INSTANCE, or env_file.
Usage
HTTP refuses to start until CONDUIT_S2S_SECRET is a real secret:
Local HTTP without a secret is development-only. It binds 127.0.0.1 and logs a warning:
Development
License
來源:README.md,提交 f4dad0c
工具
0版本歷史
1- v2.3.7最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分