open-index/open-npm huggingface dataset:
npm package: @lchampz/mcp-heimdall
Description: 🛡️ MCP Heimdall - Advanced Environment Architect & Diagnostic Tool for LLMs
Latest version: 1.1.2

# 🛡️ 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

- **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.

## 🛠️ Tools

| 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. |

## 🚀 Installation

### Quick Integration

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

```bash
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:

```json
{
  "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