
Heimdall
io.github.lchampz由 GitHub 帳號 lchampz 發布v1.0.1更新於 Oct 24, 2026
🛡️ MCP Heimdall - Advanced Environment Architect & Diagnostic Tool.
概覽
一個本機 MCP 伺服器,用來檢查開發機器的環境——執行階段、PATH、Docker、連接埠、行程、資源與專案相依套件——並提供修正建議。
- 可以做什麼
- 檢查系統:作業系統與架構資訊,Node、Python、Java、Kotlin 版本,PATH 項目與關鍵開發工具版本,Docker 守護行程狀態及容器和映像,以及到 GitHub、NPM、Docker Hub 等服務的連線狀態。稽核專案:掃描 NPM 漏洞與過時套件,偵測缺少的 node_modules 或虛擬環境,並將 .env 檔案與範本比對以標出缺少的鍵。監控資源:CPU 負載、記憶體與磁碟用量、佔用資源最多的行程與孤立行程,以及正在監聽的連接埠。清理與修復:尋找大型檔案與暫存建置目錄,終止佔用指定連接埠的行程,並執行全部檢查以取得依優先順序排列的修正建議。
- 適用情境
- 適合在助理需要診斷本機專案為何無法建置或執行時使用,也可用來核對已安裝工具版本是否符合需求、檢查 Docker 或網路連線,或為損壞的開發環境取得具體修正建議。
- 執行需求
- 以本機行程在使用者機器上執行,從 npm 套件安裝並以 Node.js 啟動。僅限桌面,不支援網頁執行。可選擇設定 DEBUG 環境變數以啟用除錯記錄。未宣告任何身分驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Heimdall,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
🛡️ MCP Heimdall
Advanced Environment Architect & Diagnostic Tool for Model Context Protocol (MCP).
Heimdall helps AI agents understand, verify, and fix their execution environment. It provides detailed insights into system architecture, runtime versions, dependencies, and environment variables, along with actionable correction suggestions.
✨ Features
- Workspace Janitor: Find large files (>50MB) and temporary directories (
dist,build, etc.) for cleanup. - Path Inspector: Audit the
PATHvariable and verify versions of critical dev tools (git,brew,make). - Process Explorer: Identify top CPU/Memory consumers and potential orphan Node/Python processes.
- Docker Sight: Check Docker daemon status, list containers and images.
- Connectivity Check: Ping essential services (GitHub, NPM, Docker Hub) to verify internet status.
- Project Doctor: Scan Project for NPM vulnerabilities and outdated packages.
- Resource Watcher: Monitor CPU load, memory usage, and disk space.
- Port Manager: List active listening ports and kill processes blocking specific ports.
- Runtime Inspector: Verify Node.js, Python, Java, and Kotlin versions against project requirements.
- Dependency Guard: detects missing
node_modulesor virtual environments. - Environment Audit: Compares
.envagainst templates and flags missing keys. - Intelligent Advisor: consolidated tool that suggests specific commands to fix environment issues.
🛠️ Tools
🚀 Installation
Quick Integration
Run this command to automatically configure Heimdall in your current workspace:
This will create a .vscode/mcp.json file with the correct configuration.
For Users (via MCP Registry)
Add to your mcp.json or editor settings:
For Developers
- Clone the repository
- Install dependencies:
npm install - Build the project:
npm run build - Run in dev mode:
npm run dev
📄 License
MIT
來源:README.md,提交 b568d0d
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。