🛡️ MCP Heimdall - Advanced Environment Architect & Diagnostic Tool.
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.
dist, build, etc.) for cleanup.PATH variable and verify versions of critical dev tools (git, brew, make).node_modules or virtual environments..env against templates and flags missing keys.| 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. |
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.
Add to your mcp.json or editor settings:
{
"servers": {
"heimdall": {
"command": "node",
"args": ["path/to/mcp-heimdall/build/index.js"]
}
}
}
npm installnpm run buildnpm run devMIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @lchampz/mcp-heimdallMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-lchampz-heimdall": {
"command": "npx",
"args": [
"-y",
"@lchampz/mcp-heimdall"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@lchampz/mcp-heimdallnpmio.github.lchampz/heimdall works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.