Skip to main content
Glama

Lighthouse MCP

types.ts1.13 kB
// Types for Lighthouse results export interface LighthouseCategory { title: string; score: number; description: string; auditRefs?: Array<{ id: string; weight?: number; group?: string }>; } export interface LighthouseAudit { title: string; description?: string; numericValue?: number; displayValue?: string; score: number | null; scoreDisplayMode?: string; details?: { items?: Record<string, unknown>[]; [key: string]: unknown; }; } export interface LighthouseResult { lhr: { finalDisplayedUrl: string; fetchTime: string; lighthouseVersion: string; userAgent: string; categories: Record<string, LighthouseCategory>; audits: Record<string, LighthouseAudit>; }; } export interface LighthouseAuditResult { url: string; fetchTime: string; version: string; userAgent: string; device: string; categories: Record< string, { title: string; score: number; description: string; } >; metrics: Record< string, { title: string; value: number; displayValue: string; score: number | null; } >; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielsogl/lighthouse-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server