🛡️ MCP Heimdall - Advanced Environment Architect & Diagnostic Tool for LLMs
npm install @lchampz/mcp-heimdallAdvanced 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.
- System Diagnostics: Identify OS, architecture, and CPU details.
- Runtime Inspector: Verify Node.js, Python, and other versions against project requirements (e.g., .nvmrc).
- 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.
| Tool | Description |
|------|-------------|
| system_info | Get OS and architecture details. |
| inspect_runtimes | Check Node, Python versions and configurations. |
| audit_dependencies | Detect missing packages or broken environments. |
| audit_env | Verify .env files against templates. |
| suggest_corrections | The Core Feature: Runs all checks and returns prioritized solutions. |
Run this command to automatically configure Heimdall in your current workspace:
``bash`
npx @lchampz/mcp-heimdall integrate.vscode/mcp.json
This will create a file with the correct configuration.
Add to your mcp.json or editor settings:
`json`
{
"servers": {
"heimdall": {
"command": "node",
"args": ["path/to/mcp-heimdall/build/index.js"]
}
}
}
1. Clone the repository
2. Install dependencies: npm installnpm run build
3. Build the project: npm run dev`
4. Run in dev mode:
MIT