Back to the catalog

io.github.lchampz/heimdall

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

Open source Open in the app JSON README (API)

About

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

Details

Kind
MCP servers
Topic
No topic detected
Publisher
lchampz
Origin
official
Category
ferramentas
Transport
local
Version
1.0.1
Last push
2026-01-28T11:37:37Z
Repository state
ativo
Language
TypeScript
Added
2026-08-29 04:00:23
Updated
2026-08-29 04:00:23
Origin id
io.github.lchampz/heimdall

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

| Tool | Description |
|------|-------------|
| `system_info` | Get OS and architecture details. |
| `inspect_runtimes` | Check Node, Python, Java, and Kotlin versions. |
| `inspect_docker` | Check Docker daemon status and list containers. |
| `check_connectivity` | Test internet connection to essential dev services. |
| `project_doctor` | Scan for NPM vulnerabilities and outdated packages. |
| `resource_watcher` | Monitor CPU load, memory and disk usage. |
| `workspace_janitor` | Find large files and temporary directories for cleanup. |
| `path_inspector` | Inspect system PATH and critical dev tools versions. |
| `process_explorer` | Identify top resource-consuming and orphan processes. |
| `audit_dependencies` | Detect missing packages or broken environments. |
| `audit_env` | Verify `.env` files against templates. |
| `list_ports` | List all active listening ports and their processes. |
| `kill_port_process` | Kill the process running on a specific port. |
| `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

More