mcp-infra-lens connects to Linux hosts over SSH to capture live infrastructure snapshots, compare them to recorded baselines, and explain anomalies in plain English.
From the registry: SSH Linux metrics, baselines, anomaly detection, and plain-English infrastructure explanations.
Please install the `mcp-infra-lens` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node 20+** — Requires Node.js 20 or newer
- **SSH credentials for target host** — You need SSH access (password or private key) to the Linux host you want to analyze. Credentials are passed per-tool-call, not via env.
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","mcp-infra-lens"]
- optional environment variables:
- `INFRA_LENS_DB`: SQLite database path for metrics history (example: `~/.mcp-infra-lens/metrics.db`)
Note: Connects to Linux hosts over SSH, captures infrastructure snapshots with baseline-aware anomaly detection. Read-only on target.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.INFRA_LENS_DBrequiredSQLite database path. Use ':memory:' for testsReal-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Persistent codebase knowledge graph. Survives session restarts and context compaction.
Validate oh-my-posh configurations and segment snippets against the official schema.