Infra Lens MCP
Explain Linux incidents over SSH with baseline-aware MCP tooling. Its 10 documented tools cover analyze, server, snapshot, baseline. It runs locally over stdio via the published package.
People who work with analyze, server and snapshot and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-07-22 · ★ 2 · #78 OF 120 MAINTAINED DEVOPS & MONITORING · VERIFIED 2026-09-18
MIT · TypeScript servers · how we verify → /methodology
01 · Install Infra Lens MCP
before you install - you'll need
Set INFRA_LENS_DB, MCP_HTTP_HOST, INFRA_LENS_OBSERVABILITY_ENABLED, INFRA_LENS_E2E_SKIP_FIXTURE, MCP_HTTP_ALLOWED_ORIGINS, MCP_HTTP_ALLOWED_HOSTS, MCP_HTTP_AUTH_MODE, MCP_HTTP_BEARER_TOKEN before connecting.
Claude Code
claude mcp add oaslananka-infra-lens-mcp -- npx -y infra-lens-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"oaslananka-infra-lens-mcp": {
"command": "npx",
"args": [
"-y",
"infra-lens-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package infra-lens-mcp - unscoped; check the name against the project README before installing
registry namespace io.github.oaslananka is GitHub-verified and matches the repo owner
03 · What Infra Lens MCP can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can analyze a bounded sampled window with progress/cancellation support, then store only the completed observation, analyze and store one immediate snapshot without a sampling delay, save a labeled healthy-state sample, and compare current state with a named baseline.
Capability map
Tools grouped from the project's README - what Infra Lens MCP lets an agent do.
Analyze
2 tools - e.g. Analyze a bounded sampled window with progress/cancellation support, then store only the completed observation; Analyze and store one immediate snapshot without a sampling delay
analyze_server · analyze_server_snapshot
Compare
2 tools - e.g. Compare current state with a named baseline; Compare adjacent windows for one host or the same window across two hosts
compare_to_baseline · compare_incident_windows
Snapshot
1 tool - e.g. Store a point-in-time observation without anomaly analysis
snapshot
Record
1 tool - e.g. Save a labeled healthy-state sample
record_baseline
read & search
1 tool - e.g. Return CPU, memory, or load history from SQLite
get_history
Inspect
1 tool - e.g. Check required Linux commands and proc files before collection
inspect_host_capabilities
Plan
1 tool - e.g. Propose evidence-backed, approval-required remediation without executing changes
plan_remediation
Draft
1 tool - e.g. Draft an incident report and postmortem from persisted observations
draft_incident_report
Latest releases
mcp-infra-lens-v1.0.6 · 2026-05-26
1.0.6 (2026-05-26) · write SBOM to requested path
04 · Who maintains Infra Lens MCP
infra-lens-mcp is maintained by oaslananka. We track 9 MCP servers from oaslananka - 6 actively maintained, 148 combined GitHub stars, oldest repo from May 2026. Full record: all servers from oaslananka.
- KiCad MCP Pro Production-grade MCP server for KiCad EDA - PCB design, DRC, simulation, BOM, DFM, and manufacturing. ★ 94
- easyeda-mcp-pro MCP server for EasyEDA Pro: PCB inspection, BOM, exports, and hardware review. ★ 46
- ssh-mcp-pro Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and HTTP. ★ 2
- MCP Health Monitor Monitor MCP, CI, and HTTP targets with health history, TLS expiry, assertions, and diagnostics ★ 2
- MCP Debug Recorder Record debug sessions, commands, failed attempts, and successful fixes in local SQLite storage. ★ 2
05 · Facts
- repository
- github.com/oaslananka/infra-lens-mcp
- category
- DevOps & monitoring - ranked #78 of 120 actively-maintained DevOps & monitoring servers as of 2026-09-18.
- registry
- io.github.oaslananka/infra-lens-mcp (active, first published 2026-07-06 · 9 versions)
- packages
- npm:infra-lens-mcp
06 · Infra Lens MCP FAQ
Is Infra Lens MCP still maintained?
Yes - as of 2026-09-18, its last commit was 2026-07-22. We re-verify nightly.
What can Infra Lens MCP do?
With this server connected, an agent can analyze a bounded sampled window with progress/cancellation support, then store only the completed observation, analyze and store one immediate snapshot without a sampling delay, save a labeled healthy-state sample, and compare current state with a named baseline.
How do I install Infra Lens MCP?
Run `npx -y infra-lens-mcp`. The README documents 8 environment variables (INFRA_LENS_DB, MCP_HTTP_HOST, INFRA_LENS_OBSERVABILITY_ENABLED…) to set first. Set INFRA_LENS_DB, MCP_HTTP_HOST, INFRA_LENS_OBSERVABILITY_ENABLED, INFRA_LENS_E2E_SKIP_FIXTURE, MCP_HTTP_ALLOWED_ORIGINS, MCP_HTTP_ALLOWED_HOSTS, MCP_HTTP_AUTH_MODE, MCP_HTTP_BEARER_TOKEN before connecting. You can also paste the ready-made client config above.
Does Infra Lens MCP run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Infra Lens MCP
Alternatives to Infra Lens MCP
Maintained DevOps & monitoring servers if Infra Lens MCP isn't the fit.
- World Monitor Live markets, conflicts, country risk, chokepoints, energy, and China decision signals. 75 tools. ★ 86,725 · 2026-09-17
- Open Metadata Official OpenMetadata MCP: 21 read and write tools for search, lineage, data quality, governance. ★ 15,244 · 2026-09-18
- Kubeshark MCP Server Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS. ★ 12,082 · 2026-09-09
- Grafana An MCP server giving access to Grafana dashboards, data and more. ★ 3,467 · 2026-09-17
- Radar Kubernetes MCP Server Kubernetes MCP server for diagnosis, resource management, GitOps, and RBAC-enforced operations. ★ 3,371 · 2026-09-18
- Testkube MCP MCP server for Testkube - Manage test workflows, executions, and artifacts via AI assistants ★ 1,658 · 2026-09-18
Pairs well with
Servers that cover what Infra Lens MCP doesn't - only shown when the pairing reason fits the companion.
More DevOps & monitoring MCP servers · GitHub Actions · Console Automation · Watch Skill · Actvt
More TypeScript MCP servers · SSH MCP Pro · Bun Uia · Umbriel · Crbro Memory · Octopus Blackboard · see all