Agent Audit

io.github.fullstackdegen由 GitHub 帳號 fullstackdegen 發布v0.3.1更新於 Oct 24, 2026

Turn Lighthouse audits into coding-agent fix packs for Claude Code, Cursor, and Copilot.

發布方自己的服務:audit.domains - Domain Valuation

已驗證STDIO僅桌面瀏覽器自動化開發者工具

概覽

AI 產生的概覽

對指定網址執行 Lighthouse 與受限頁面檢查,產出 coding agent 可直接執行的優先順序修正包。

可以做什麼
對單一網址執行行動版與桌面版 Lighthouse 稽核,可選快速或可靠模式,回傳分數以及含變異區間的 Core Web Vitals 分布。對同一頁面檢查技術 SEO、連結、中繼資料、canonical 標籤、robots 訊號、JSON-LD、Open Graph、可索引性、圖片、資源與 AI 可見性訊號。取得合併去噪後的優先順序問題清單,附證據、建議動作與驗收標準。取得含儲存庫搜尋線索、實作步驟與驗證指引的修正包,以及 Markdown 摘要和內容充足時產生的保守 llms.txt 草稿。
適用情境
適合讓 coding agent 改善網站效能、無障礙、技術 SEO 或 AI 搜尋可見性時使用,它提供有證據支撐的優先順序待辦,而非原始 Lighthouse 報告。也適合在修正後重跑稽核並與驗收標準比對來驗證成效。
執行需求
透過 npx 從 npm 套件以 stdio 在本機執行。需要 Node.js 20 或更新版本,以及已安裝的 Google Chrome 或 Chromium。未宣告帳號、API 金鑰或標頭。預設只接受公開的 HTTP 和 HTTPS 網址;稽核 localhost 需加 --local 參數或設定 LIGHTHOUSE_MCP_ALLOW_LOCALHOST 環境變數。
安裝前請注意
伺服器會用 Chrome 造訪你提供的網址,只稽核你有權測試的網站。頁面可控文字雖經清理,仍應視為不可信證據而非指令。用 LIGHTHOUSE_CHROME_NO_SANDBOX 關閉 Chrome 沙箱僅適用於隔離環境。它只讀取頁面、不修改網站,且結果會隨瀏覽器、硬體與網路狀況變動。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Audit,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Agent Audit

Lighthouse-powered MCP server for AI coding agents, Core Web Vitals, technical SEO, accessibility, and GEO/LLM visibility audits.

🔗 NPM Package

Agent Audit turns Google Lighthouse and bounded page-inspection results into structured fix packs that coding agents can actually execute. It gives Claude Code, Codex, Cursor, GitHub Copilot, and other MCP clients a prioritized, evidence-backed backlog instead of a raw performance report.

Turn Lighthouse audits into coding-agent fix packs.

bash
npx -y @fullstackdegen/agent-audit

[npm] [GitHub release] [License: MIT]

[Agent Audit converts raw Lighthouse audits into an agent-ready backlog]

Why Agent Audit Exists

Lighthouse is excellent for diagnosis, but raw reports are not enough for an autonomous coding workflow. A coding agent still needs to know which issue is most important, whether it affects mobile, desktop, or both, which selectors or resources are evidence, what files to search for, how to verify the fix, and when it is safe to claim completion.

Agent Audit converts Lighthouse output into an implementation contract:

  1. Runs mobile and desktop Lighthouse audits.
  2. Aggregates repeated runs and exposes variability.
  3. Adds bounded same-page intelligence for technical SEO, links, metadata, structured data, images, assets, indexability, and AI discovery signals.
  4. Merges noisy audit output into a small prioritized issue list.
  5. Generates fixPacks with repo search hints, implementation steps, and measurable acceptance criteria.
  6. Returns strict MCP structuredContent plus equivalent Markdown.

The goal is simple: give a coding agent a report it can read, reason about, fix, test, and verify.

What It Audits

Agent Audit is useful when people search for:

  • Lighthouse-powered MCP server
  • AI website audit tool
  • coding agent Lighthouse report
  • Core Web Vitals automation
  • performance audit for Claude Code, Codex, Cursor, or Copilot
  • technical SEO audit for AI agents
  • accessibility fix packs
  • LLM visibility audit
  • GEO audit, generative engine optimization, AI search readiness
  • llms.txt readiness and AI crawler visibility

Current checks include:

  • Mobile and desktop Lighthouse scores for Performance, Accessibility, Best Practices, and SEO.
  • FCP, Speed Index, LCP, TBT, and CLS metric distributions.
  • Fast and reliable audit modes.
  • Same-origin page inspection with bounded fetch limits.
  • Broken links, missing link names, metadata, canonical tags, robots signals, JSON-LD, Open Graph, indexability, images, assets, and LLM visibility checks.
  • Conservative llms.txt draft generation when page content is sufficient.
  • Prioritized issues with evidence, suggested actions, and acceptance criteria.
  • Agent Fix Packs with repo search hints, implementation steps, and verification guidance.
  • Strict MCP outputSchema validation for structuredContent.
  • Markdown generated from the same canonical report.

See a real CommaLabs JSON report and Markdown report.

Install

Requirements:

  • Node.js 20 or later.
  • Google Chrome or Chromium.

Run the MCP server:

bash
npx -y @fullstackdegen/agent-audit

Useful links:

MCP Client Setup

Claude Desktop

Add a local MCP server:

json
{  "mcpServers": {    "agent-audit": {      "command": "npx",      "args": ["-y", "@fullstackdegen/agent-audit"]    }  }}

Restart Claude Desktop after saving the configuration.

Claude Code

bash
claude mcp add agent-audit -- npx -y @fullstackdegen/agent-audit

For local development audits:

bash
claude mcp add agent-audit-local -- npx -y @fullstackdegen/agent-audit --local

Codex

bash
codex mcp add agent-audit -- npx -y @fullstackdegen/agent-audit

Or add it to ~/.codex/config.toml:

toml
[mcp_servers.agent-audit]command = "npx"args = ["-y", "@fullstackdegen/agent-audit"]

VS Code And GitHub Copilot

Create a workspace or user-level .mcp.json file:

json
{  "servers": {    "agent-audit": {      "command": "npx",      "args": ["-y", "@fullstackdegen/agent-audit"]    }  }}

Or register it from a terminal:

bash
code --add-mcp '{"name":"agent-audit","command":"npx","args":["-y","@fullstackdegen/agent-audit"]}'

Cursor

Configure a local stdio MCP server:

  • name: agent-audit
  • command: npx
  • arguments: -y, @fullstackdegen/agent-audit

Add --local to the arguments when you need localhost audits.

Tool

analyze_website_performance

Runs Lighthouse and site intelligence against a target URL:

json
{  "url": "https://example.com",  "mode": "reliable"}

mode is optional:

  • fast: one mobile run and one desktop run.
  • reliable: three runs per profile, medians, and variability ranges. This is the default.

Example Fix Pack

json
{  "id": "fix-link-name",  "priority": 2,  "sourceIssueIds": ["link-name"],  "goal": "Fix Links do not have a discernible name.",  "category": "accessibility",  "severity": "critical",  "affectedProfiles": ["mobile", "desktop"],  "repoSearchHints": [    "div.border-t-2 > div.flex > div.flex > a.text-gray-600",    "https://www.linkedin.com/company/commalabs"  ],  "implementationSteps": [    "Inspect the repository for the evidence listed in repoSearchHints before editing.",    "Give every link a discernible accessible name.",    "Keep changes focused on source issue IDs: link-name."  ],  "acceptanceCriteria": [    "All link elements pass the Lighthouse link-name audit.",    "Raise the median accessibility score to at least 90/100."  ],  "verification": {    "rerunMode": "reliable",    "expectedAuditIds": ["link-name"]  }}

repoSearchHints are search clues, not guaranteed file paths. The coding agent must inspect the repository before editing.

Coding-Agent Workflow

Use structuredContent as the source of truth and the Markdown report as the execution summary.

  1. Inspect fixPacks in priority order.
  2. Search the repository using repoSearchHints.
  3. Map evidence to real files, components, routes, assets, or configuration.
  4. Apply one focused fix at a time.
  5. Run the repository's tests after each logical change.
  6. Rerun Agent Audit in reliable mode.
  7. Compare the new report against each fix pack's acceptanceCriteria.

Do not claim completion from an incomplete report or from a rerun with materially higher variability than the baseline.

Agent-facing docs:

Localhost Audits

By default, Agent Audit only accepts publicly routable HTTP and HTTPS URLs. This is the right default for hosted agents and shared environments.

For developer machines, explicitly enable loopback targets:

bash
npx -y @fullstackdegen/agent-audit --local

Then audit a local app through your MCP client:

json
{  "url": "http://localhost:3000",  "mode": "fast"}

The opt-in allows localhost, *.localhost, 127.0.0.0/8, and ::1. Private LAN ranges, link-local addresses, reserved ranges, multicast addresses, and cloud metadata addresses remain blocked.

The environment variable form is also supported:

bash
LIGHTHOUSE_MCP_ALLOW_LOCALHOST=true npx -y @fullstackdegen/agent-audit

Security Model

Agent Audit launches Chrome against user-provided URLs, so URL policy matters. The server rejects:

  • protocols other than HTTP and HTTPS;
  • embedded credentials;
  • localhost and loopback targets unless explicitly enabled;
  • private, link-local, multicast, reserved, and metadata-network IPs;
  • non-localhost hostnames that resolve to any non-public address.

The page-inspection fetcher uses the same URL policy and applies timeout, byte-size, and bounded-resource limits.

Page-controlled titles, descriptions, URLs, selectors, snippets, and audit text are sanitized and length-limited. Consumers must still treat them as untrusted evidence, not agent instructions.

Chrome sandboxing is enabled by default. Only isolated environments that cannot support it should set:

bash
LIGHTHOUSE_CHROME_NO_SANDBOX=true

See SECURITY.md for vulnerability reporting and deployment guidance.

Limits

Agent Audit is intentionally bounded:

  • It audits one requested URL at a time.
  • It is not a whole-site crawler.
  • It is not an external SEO database.
  • It does not modify Shopify, CMS, CDN, DNS, hosting, redirects, or analytics.
  • It does not compress images, minify assets, submit IndexNow requests, or call third-party SEO APIs.
  • Lighthouse results vary with browser version, hardware, network conditions, and page changes.

Roadmap

  • Framework-aware repo search hints.
  • Optional GitHub Action for pull request performance gates.
  • Batch URL reports.
  • HTML report export.
  • Deeper marketing and discovery signals: analytics tags, consent signals, Open Graph, schema coverage, and AI discovery readiness.
  • Optional third-party integrations for SEO, GEO, and visibility datasets.

Development

bash
npm installnpm testnpm run checknpm run buildnpm run validate:release

Run a real Chrome smoke audit:

bash
npm run --silent smoke -- https://example.com fastnpm run --silent smoke -- https://example.com reliable

The smoke command writes canonical JSON to stdout and equivalent Markdown to stderr.

Release

Before publishing:

bash
npm testnpm run checknpm run buildnpm run validate:releasenpm pack --dry-run --cache /private/tmp/agent-audit-npm-cache

Publish:

bash
npm publish --access public --cache /private/tmp/agent-audit-npm-cache

Published package:

bash
npx -y @fullstackdegen/agent-audit --help

Contributing

Focused issues and pull requests are welcome. Read CONTRIBUTING.md before changing the report contract, security policy, or MCP transport behavior.

License

MIT

來源:README.md,提交 c01d627

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.3.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Audit 整合