mcp-heimdall
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-heimdall diagnose my environment and suggest fixes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🛡️ 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.
Related MCP server: Env Validator
🛠️ Tools
Tool | Description |
| Get OS and architecture details. |
| Check Node, Python, Java, and Kotlin versions. |
| Check Docker daemon status and list containers. |
| Test internet connection to essential dev services. |
| Scan for NPM vulnerabilities and outdated packages. |
| Monitor CPU load, memory and disk usage. |
| Find large files and temporary directories for cleanup. |
| Inspect system PATH and critical dev tools versions. |
| Identify top resource-consuming and orphan processes. |
| Detect missing packages or broken environments. |
| Verify |
| List all active listening ports and their processes. |
| Kill the process running on a specific port. |
| The 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 integrateThis 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
Clone the repository
Install dependencies:
npm installBuild the project:
npm run buildRun in dev mode:
npm run dev
📄 License
MIT
Available Tools
14 toolsaudit_dependenciesC
Check for missing packages.
Inputs: no named parameters.
audit_envA
Check .env file against template.
Inputs: no named parameters.
check_connectivityB
Test internet connection to essential dev services.
Inputs: no named parameters.
inspect_dockerA
Check Docker daemon status and list containers.
Inputs: no named parameters.
inspect_runtimesA
Check Node, Python version and config.
Inputs: no named parameters.
kill_port_processB
Kill the process running on a specific port.
Inputs: port (required).
list_portsA
List all active listening ports and their processes.
Inputs: no named parameters.
path_inspectorA
Inspect system PATH and critical dev tools versions.
Inputs: no named parameters.
process_explorerB
Identify top resource-consuming and orphan processes.
Inputs: no named parameters.
project_doctorC
Scan for NPM vulnerabilities and outdated packages.
Inputs: no named parameters.
resource_watcherB
Monitor CPU load, memory and disk usage.
Inputs: no named parameters.
suggest_correctionsB
Run all diagnostics and get prioritized fix suggestions.
Inputs: no named parameters.
system_infoA
Get OS and architecture details.
Inputs: no named parameters.
workspace_janitorC
Find large files and temporary directories for cleanup.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool addresses a distinct aspect of system health: auditing dependencies, environment, connectivity, Docker, runtimes, processes, ports, PATH, resource usage, vulnerabilities, and cleanup. No two tools overlap in purpose; even related tools like 'list_ports' and 'kill_port_process' are clearly separated.
Most tools follow a verb_noun or descriptive pattern (e.g., audit_dependencies, check_connectivity, kill_port_process). However, some use noun_noun (path_inspector, process_explorer, resource_watcher) which introduces minor inconsistency but remains readable and predictable.
With 14 tools covering diagnostics, inspection, and maintenance actions, the count is well-scoped for a system health server. Each tool earns its place, and the number is within the ideal 3-15 range.
The server covers a comprehensive set of system checks: OS, processes, ports, Docker, runtimes, dependencies, environment, connectivity, resource usage, vulnerabilities, and disk cleanup. The inclusion of 'suggest_corrections' that runs all diagnostics and gives prioritized fixes rounds out the surface with no obvious gaps.
Related MCP Connectors
MCP deployment checks: required tools, schema drift and verifiable receipts. Free preflight.
MCP diagnostics that help AI agents find safe next steps for HTTP, API, and MCP failures.
Network, domain and website diagnostics for AI clients via MCP.
Free MCP tools: the only MCP linter, health checks, cost estimation, and trust evaluation.
Related MCP Servers
- AlicenseCqualityDmaintenanceA specialized diagnostic framework that enables AI models to self-diagnose and fix MCP-related issues by analyzing logs, validating configurations, testing connections, and implementing solutions.9MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP (Model Context Protocol) server that inspects your local development environment and reports missing dependencies, version mismatches, and misconfigured environment variables to any MCP-compatible AI assistant. Works with Claude Desktop, Cursor, Gemini CLI, and any other client that supports stdio-transport MCP servers.-
- AlicenseNot gradedqualityDmaintenanceAn external MCP server for diagnosing Minecraft servers via backup analysis, local runtime, or Docker runtime, offering tools for plugin inspection, log analysis, configuration linting, and performance diagnostics.1MIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server that provides system troubleshooting and diagnostic tools, enabling LLMs to diagnose system issues, monitor resources, check logs, and test connectivity.1MIT