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 与受限页面检查,输出编码代理可直接执行的优先级修复包。

可以做什么
对单个网址运行移动端和桌面端 Lighthouse 审计,可选快速或可靠模式,返回评分以及含波动区间的 Core Web Vitals 分布。对同一页面检查技术 SEO、链接、元数据、canonical 标签、robots 信号、JSON-LD、Open Graph、可索引性、图片、资源与 AI 可见性信号。获得合并去噪后的优先级问题列表,附证据、建议操作与验收标准。获得含仓库搜索线索、实施步骤与验证指引的修复包,以及 Markdown 摘要和在内容充足时生成的保守 llms.txt 草稿。
适用场景
适合让编码代理改进网站性能、无障碍、技术 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 集成