web-perf-mcp
Version:
MCP Server that audits the web page for finding the bottlenecks and CPU profiling using Lighthouse and Puppeteer
48 lines (47 loc) • 1.17 kB
TypeScript
export declare const TOOL_DEFINITIONS: ({
name: string;
description: string;
inputSchema: {
type: string;
properties: {
url: {
type: string;
description: string;
};
device: {
type: string;
enum: string[];
default: string;
description: string;
};
profile: {
type: string;
default: boolean;
description: string;
};
cpuProfilePath?: undefined;
traceEventsPath?: undefined;
};
required: string[];
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
cpuProfilePath: {
type: string;
description: string;
};
traceEventsPath: {
type: string;
description: string;
};
url?: undefined;
device?: undefined;
profile?: undefined;
};
required: string[];
};
})[];