UNPKG

@danielsogl/lighthouse-mcp

Version:

A comprehensive Model Context Protocol (MCP) server that provides web performance auditing, accessibility testing, SEO analysis, security assessment, and Core Web Vitals monitoring using Google Lighthouse. Enables LLMs and AI agents to perform detailed we

53 lines (52 loc) 1.94 kB
export declare const CHROME_FLAGS: string[]; export declare const SCREEN_DIMENSIONS: { readonly desktop: { readonly width: 1350; readonly height: 940; }; readonly mobile: { readonly width: 360; readonly height: 640; }; }; export declare const THROTTLING_CONFIG: { readonly enabled: { readonly rttMs: 150; readonly throughputKbps: 1638.4; readonly cpuSlowdownMultiplier: 4; }; readonly disabled: { readonly rttMs: 0; readonly throughputKbps: number; readonly cpuSlowdownMultiplier: 1; }; }; export declare const KEY_METRICS: readonly ["first-contentful-paint", "largest-contentful-paint", "total-blocking-time", "cumulative-layout-shift", "speed-index", "interactive"]; export declare const LCP_OPPORTUNITIES: readonly ["render-blocking-resources", "unused-css-rules", "unused-javascript", "modern-image-formats", "uses-optimized-images", "efficient-animated-content", "preload-lcp-image", "uses-text-compression"]; export declare const SECURITY_AUDITS: readonly ["is-on-https", "uses-http2", "no-vulnerable-libraries", "csp-xss", "external-anchors-use-rel-noopener"]; export declare const BUDGET_METRIC_MAPPINGS: readonly [{ readonly key: "firstContentfulPaint"; readonly metric: "first-contentful-paint"; readonly unit: "ms"; }, { readonly key: "largestContentfulPaint"; readonly metric: "largest-contentful-paint"; readonly unit: "ms"; }, { readonly key: "totalBlockingTime"; readonly metric: "total-blocking-time"; readonly unit: "ms"; }, { readonly key: "cumulativeLayoutShift"; readonly metric: "cumulative-layout-shift"; readonly unit: "score"; }, { readonly key: "speedIndex"; readonly metric: "speed-index"; readonly unit: "ms"; }]; export declare const DEFAULTS: { LCP_THRESHOLD: number; MIN_UNUSED_JS_BYTES: number; MIN_RESOURCE_SIZE_KB: number; };