infra-lens-mcp connects to Linux hosts over SSH, captures bounded live metrics, stores observations and approved baselines in local SQLite, explains anomalies, and produces review-first incident…
Infra Lens is an MCP project maintained in the oaslananka/infra-lens-mcp repository. The maintainer describes its purpose as “infra-lens-mcp connects to Linux hosts over SSH, captures bounded live metrics, stores observations and approved baselines in local SQLite, explains anomalies, and produces review-first incident…”. Read the project documentation for the complete scope.
The documented npm package is infra-lens-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares INFRA_LENS_DB. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| analyze_server | Analyze a bounded sampled window with progress/cancellation support, then store only the completed observation |
| analyze_server_snapshot | Analyze and store one immediate snapshot without a sampling delay |
| snapshot | Store a point-in-time observation without anomaly analysis |
| record_baseline | Save a labeled healthy-state sample |
| compare_to_baseline | Compare current state with a named baseline |
| get_history | Return CPU, memory, or load history from SQLite |
| inspect_host_capabilities | Check required Linux commands and proc files before collection |
| plan_remediation | Propose evidence-backed, approval-required remediation without executing changes |
| draft_incident_report | Draft an incident report and postmortem from persisted observations |
| compare_incident_windows | Compare adjacent windows for one host or the same window across two hosts |
{
"mcpServers": {
"infra-lens": {
"command": "npx",
"args": [
"-y",
"infra-lens-mcp"
],
"env": {
"INFRA_LENS_DB": "/Users/you/.infra-lens-mcp/metrics.db"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| INFRA_LENS_DB | Declared in the maintainer’s client configuration. | Check documentation |
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
kubectl with a conversational interface — inspect pods, read logs, diagnose clusters and manage workloads.