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 connecting DevOps & monitoring tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-07-22 · ★ 2 · #54 OF 101 MAINTAINED DEVOPS & MONITORING · VERIFIED 2026-08-25

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

infra-lens-mcp-v1.5.1 · 2026-07-22

1.5.1 (2026-07-22) · publish refreshed package documentation

infra-lens-mcp-v1.5.0 · 2026-07-22

1.5.0 (2026-07-22) · add analysis progress and cancellation

infra-lens-mcp-v1.4.1 · 2026-07-22

1.4.1 (2026-07-22) · patch newly disclosed OSV advisories

04 · Who maintains Infra Lens MCP

infra-lens-mcp is maintained by oaslananka. We track 9 MCP servers from oaslananka - 6 actively maintained, 101 combined GitHub stars, oldest repo from May 2026. Full record: all servers from oaslananka.

  1. KiCad MCP Pro Production-grade MCP server for KiCad EDA - PCB design, DRC, simulation, BOM, DFM, and manufacturing. ★ 57
  2. easyeda-mcp-pro MCP server for EasyEDA Pro: PCB inspection, BOM, exports, and hardware review. ★ 36
  3. MCP Health Monitor Monitor MCP, CI, and HTTP targets with health history, TLS expiry, assertions, and diagnostics ★ 2
  4. MCP Debug Recorder Record debug sessions, commands, failed attempts, and successful fixes in local SQLite storage. ★ 2
  5. ssh-mcp-pro Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and HTTP. ★ 2

05 · Facts

category
DevOps & monitoring - ranked #54 of 101 actively-maintained DevOps & monitoring servers as of 2026-08-25.
release cadence
9 releases in the last 90 days (latest 2026-07-22)
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-08-25, its last commit was 2026-07-22 and it shipped 9 releases in the last 90 days. 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

More DevOps & monitoring MCP servers · GitHub Actions · Console Automation · Actvt · Prometheus MCP Server

More TypeScript MCP servers · SSH MCP Pro · Bun Uia · Umbriel · Octen MCP · Octopus Blackboard · see all