io.github.lchampz/heimdall

السجل الرسمي أخرى

🛡️ MCP Heimdall - Advanced Environment Architect & Diagnostic Tool.

ماذا يمكنك أن تفعل مع io.github.lchampz/heimdall؟

  • Workspace Janitor: Find large files (>50MB) and temporary directories (dist, build, etc.) for cleanup.
  • Path Inspector: Audit the PATH variable 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.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @lchampz/mcp-heimdall
Claude Code
claude mcp add heimdall -e 'DEBUG=<DEBUG>' -- npx -y @lchampz/mcp-heimdall@1.0.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "heimdall": {
            "command": "npx",
            "args": [
                "-y",
                "@lchampz/mcp-heimdall@1.0.1"
            ],
            "env": {
                "DEBUG": "<DEBUG>"
            }
        }
    }
}

متغيرات البيئة

  • DEBUG Enable debug logging (true/false)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. 🛡️ MCP Heimdall
  2. ✨ Features
  3. 🛠️ Tools
  4. 🚀 Installation
  5. 📄 License

🛡️ 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 PATH variable 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_modules or virtual environments.
  • Environment Audit: Compares .env against templates and flags missing keys.
  • Intelligent Advisor: consolidated tool that suggests specific commands to fix environment issues.

🛠️ Tools

ToolDescription
system_infoGet OS and architecture details.
inspect_runtimesCheck Node, Python, Java, and Kotlin versions.
inspect_dockerCheck Docker daemon status and list containers.
check_connectivityTest internet connection to essential dev services.
project_doctorScan for NPM vulnerabilities and outdated packages.
resource_watcherMonitor CPU load, memory and disk usage.
workspace_janitorFind large files and temporary directories for cleanup.
path_inspectorInspect system PATH and critical dev tools versions.
process_explorerIdentify top resource-consuming and orphan processes.
audit_dependenciesDetect missing packages or broken environments.
audit_envVerify .env files against templates.
list_portsList all active listening ports and their processes.
kill_port_processKill the process running on a specific port.
suggest_correctionsThe Core Feature: Runs all checks and returns prioritized solutions.

🚀 Installation

Quick Integration

Run this command to automatically configure Heimdall in your current workspace:

npx @lchampz/mcp-heimdall integrate

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:

{
  "servers": {
    "heimdall": {
      "command": "node",
      "args": ["path/to/mcp-heimdall/build/index.js"]
    }
  }
}
For Developers
  1. Clone the repository
  2. Install dependencies: npm install
  3. Build the project: npm run build
  4. Run in dev mode: npm run dev

📄 License

MIT

الأسئلة الشائعة

ما هو io.github.lchampz/heimdall؟

🛡️ MCP Heimdall - Advanced Environment Architect & Diagnostic Tool.

كيف أثبّت io.github.lchampz/heimdall؟

يعمل على جهازك. في Claude Code: claude mcp add heimdall -e 'DEBUG=<DEBUG>' -- npx -y @lchampz/mcp-heimdall@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.lchampz/heimdall إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.lchampz/heimdall مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.lchampz/heimdall؟

ينشره lchampz. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.