Agent Lens MCP Server

Open-source observability for AI agents - with a tamper-evident audit trail Every event SHA-256 hash-chained & cryptographically verifiable - built for EU AI Act Article 12 record-keeping. It runs locally over stdio via the published package.

People who work with agent observability, ai safety and hono and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-13 · ★ 23 · #38 OF 120 MAINTAINED DEVOPS & MONITORING · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Agent Lens

before you install - you'll need

Set AGENTLENS_API_URL, AGENTLENS_API_KEY, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, AUTH_DISABLED, JWT_SECRET before connecting.

Claude Code

claude mcp add agentkitai-agentlens -- npx -y @agentkitai/agentlens-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "agentkitai-agentlens": {
      "command": "npx",
      "args": [
        "-y",
        "@agentkitai/agentlens-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 @agentkitai/agentlens-mcp - published under the repo owner's npm scope (@agentkitai)

registry namespace io.github.agentkitai is GitHub-verified and matches the repo owner

03 · What Agent Lens can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.20.0 · 2026-06-25

Billing-grade per-agent spend end to end (agentgate#24): verified attribution on both ingest paths (#87/#88), pricing-provenance reconciliation/drift (#89), and revocable OTLP ingest keys (#24 Option 3) - all behind…

v0.19.0 · 2026-06-25

agenteval→lens federation receiver - POST /api/internal/eval/run (#55) · agentlens - server 0.18.0, core 0.17.0 (#55 federation)

v0.18.0 · 2026-06-25

eval-gate - gate CI/CD on an eval pass-rate (#55 Phase 5) · @agentlensai/cli v0.14.0 (eval-gate)

04 · Who maintains Agent Lens

AgentLens is maintained by agentkitai. We track 3 MCP servers from agentkitai - 3 actively maintained, 64 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from agentkitai.

  1. AgentGate Human-in-the-loop approval gateway for AI agents over MCP: request, decide, approve. ★ 33
  2. Lore Cross-agent memory over MCP: hybrid recall, knowledge graph, private/shared visibility, redaction. ★ 8

05 · Facts

category
DevOps & monitoring - ranked #38 of 120 actively-maintained DevOps & monitoring servers as of 2026-09-18.
release cadence
9 releases in the last 90 days (latest 2026-06-25)
registry
io.github.agentkitai/agentlens (active, first published 2026-06-21 · 2 versions)
packages
npm:@agentkitai/agentlens-mcp

06 · Agent Lens FAQ

What is Agent Lens?

Open-source observability for AI agents - with a tamper-evident audit trail Every event SHA-256 hash-chained & cryptographically verifiable - built for EU AI Act Article 12 record-keeping. It runs locally over stdio via the published package.

Is Agent Lens still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-13 and it shipped 9 releases in the last 90 days. We re-verify nightly.

How do I install Agent Lens?

Run `npx -y @agentkitai/agentlens-mcp`. The README documents 6 environment variables (AGENTLENS_API_URL, AGENTLENS_API_KEY, OTEL_EXPORTER_OTLP_ENDPOINT…) to set first. Set AGENTLENS_API_URL, AGENTLENS_API_KEY, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, AUTH_DISABLED, JWT_SECRET before connecting. You can also paste the ready-made client config above.

Does Agent Lens 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 Agent Lens