
Hostwatch
io.github.sergii-ziborovv1.0.1更新於 Sep 30, 2026
Observe and safely control sites, TLS, containers, traffic, databases and jobs with Hostwatch.
概覽
Hostwatch 讓助理透過託管的遠端 MCP 伺服器觀察站點、TLS、容器、流量、資料庫與作業,並在擁有者核准後執行控制操作。
- 功能
- Hostwatch 在 gethostwatch.com/mcp 提供遠端 MCP 伺服器。主要工具是 search(探索讀取與寫入操作)和 execute(執行指定操作)。監控範圍涵蓋站點、TLS 憑證、流量、可疑請求、HTTP 錯誤、Docker 與 Podman 工作負載、儲存、資料服務、作業與節點健康。兩項資源描述操作目錄,兩個提示詞引導事件與 TLS 審查。
- 適用情境
- 當你希望助理檢查基礎設施與服務的健康與安全狀態、審查事件或 TLS 憑證,並可選擇執行經核准的寫入操作時,適合使用。它適合已使用 Hostwatch 進行監控的團隊,而非獨立使用。
- 執行需求
- 支援 Streamable HTTP 與 OAuth 的遠端 MCP 用戶端可直接連線該端點。否則需安裝 Go 橋接程式(Go 1.24 或更新版本,或使用 PATH 中的預先建置執行檔),並將用戶端設定為透過 stdio 啟動它。需要已登入的 Hostwatch 帳號與組織;使用帶 PKCE 的 OAuth 授權碼,不要求 API 金鑰或代理憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Hostwatch,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"hostwatch": {
"type": "http",
"url": "https://gethostwatch.com/mcp"
}
}
}README
Hostwatch MCP
Hostwatch exposes a remote MCP server at https://gethostwatch.com/mcp. This public repository contains the Codex plugin, a Go bridge for local MCP clients, connection metadata, icon, and usage guide. Every connection belongs to a signed-in Hostwatch user and organization. The Hostwatch control plane and node agent source are maintained separately.
Install the Codex plugin
Sign in with email, password and the configured second factor, or scan the one-time QR code with an already signed-in Hostwatch iPhone app. Review the requested organization and permissions on the consent screen. Start a new Codex chat after installation to load the plugin. The plugin guide explains scopes and revocation.
Connect a local MCP client with the Go app
Use the Go app when an MCP client accepts a local stdio command but cannot complete remote OAuth on its own. Install Go 1.24 or later, then run:
Prebuilt macOS, Linux, and Windows executables are also available on the Releases page. Download the executable for your operating system and architecture, rename it to hostwatch-mcp (hostwatch-mcp.exe on Windows), and place it on your PATH.
login opens the Hostwatch authorization page. Sign in to your Hostwatch account directly or approve its QR code with your signed-in Hostwatch app, then review the organization and requested access. The Go app receives a short-lived OAuth authorization code on a temporary loopback callback; it never asks for an API key or node-agent credential. To request write access as an organization owner, use hostwatch-mcp login --write. Hostwatch still asks for explicit confirmation for each write operation.
Configure your MCP client to launch the app over stdio. For example, in a client that supports mcpServers:
If your MCP client cannot find the installed executable, use the absolute path from go env GOPATH followed by /bin/hostwatch-mcp. Run hostwatch-mcp status to inspect the local connection and hostwatch-mcp logout to revoke it. login --no-browser prints the Hostwatch URL for manual opening and accepts the final callback URL. See the connection guide for details.
Clients with native Streamable HTTP and OAuth support can connect straight to https://gethostwatch.com/mcp. The Go app is a client-side bridge to that same Hostwatch account, not an independent infrastructure agent. The server is listed in the official MCP Registry.
What it can do
search discovers read and write operations; execute runs a named operation. Monitoring covers sites, TLS certificates, traffic, suspicious requests, HTTP errors, Docker and Podman workloads, storage, data services, jobs, and node health. Two resources describe the operation catalog, and two prompts guide incident and TLS reviews. See docs/mcp.md for the operation list and security model.
Hostwatch requires OAuth authorization code with PKCE. Read and write scopes are separate, writes are restricted to owners and require per-action confirmation, and tokens can be revoked. API keys and agent credentials are not requested by the plugin or Go app.
For security reports, see SECURITY.md. The plugin files are subject to LICENSE; the hosted service is governed by the Hostwatch terms.
來源:README.md,提交 5e0e1a4
工具
0版本歷史
1- v1.0.1最新Sep 30, 2026
