Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
3,308 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
3,308
◇
Types & classes
246
↓ 1,822 callers
Function
__name
(target, value)
src/third_party/lighthouse-devtools-mcp-bundle.js:19
↓ 497 callers
Function
__esm
(fn, res)
src/third_party/lighthouse-devtools-mcp-bundle.js:20
↓ 356 callers
Method
getSelectedMcpPage
()
src/McpContext.ts:516
↓ 323 callers
Function
withMcpContext
( cb: (response: McpResponse, context: McpContext) => Promise<void>, options: { debug?: boolean; a
tests/utils.ts:114
↓ 295 callers
Method
get
(key)
src/third_party/lighthouse-devtools-mcp-bundle.js:16349
↓ 286 callers
Function
__export
(target, all)
src/third_party/lighthouse-devtools-mcp-bundle.js:26
↓ 250 callers
Method
set
(key, value)
src/third_party/lighthouse-devtools-mcp-bundle.js:16341
↓ 244 callers
Method
join
(devToolsPaths, separator)
src/third_party/lighthouse-devtools-mcp-bundle.js:29660
↓ 156 callers
Method
getSelectedPptrPage
()
src/McpContext.ts:503
↓ 132 callers
Method
has
(key)
src/third_party/lighthouse-devtools-mcp-bundle.js:16352
↓ 122 callers
Method
evaluate
* Evaluate a function in the context of the current page. * If `useIsolation` is true, the function will be evaluated in a content script that
src/third_party/lighthouse-devtools-mcp-bundle.js:39444
↓ 119 callers
Method
find
( page: Page, filter: (item: WithSymbolId<T>) => boolean, )
src/PageCollector.ts:204
↓ 116 callers
Function
createIcuMessageFn
(filename, fileStrings = {})
src/third_party/lighthouse-devtools-mcp-bundle.js:10842
↓ 114 callers
Method
handle
(params: Record<string, unknown>)
src/ToolHandler.ts:177
↓ 88 callers
Function
html
( strings: TemplateStringsArray, ...values: unknown[] )
tests/utils.ts:232
↓ 88 callers
Method
sort
( aggregates: Record< string, DevTools.HeapSnapshotModel.HeapSnapshotModel.AggregatedInfo
src/formatters/HeapSnapshotFormatter.ts:154
↓ 85 callers
Method
slice
(devToolsPath, start, end)
src/third_party/lighthouse-devtools-mcp-bundle.js:29657
↓ 81 callers
Method
parse
(traceEvents, options)
src/third_party/lighthouse-devtools-mcp-bundle.js:30967
↓ 77 callers
Method
error
* @param {string} title * @param {...any} args
src/third_party/lighthouse-devtools-mcp-bundle.js:866
↓ 75 callers
Function
getTextContent
( content: CallToolResult['content'][number], )
tests/utils.ts:39
↓ 73 callers
Method
sendCommand
* @template {keyof LH.CrdpCommands} C * @param {C} method * @param {LH.CrdpCommands[C]['paramsType']} params * @return {Promise<LH.CrdpComman
src/third_party/lighthouse-devtools-mcp-bundle.js:59135
↓ 73 callers
Method
toLowerCase
(devToolsPath)
src/third_party/lighthouse-devtools-mcp-bundle.js:29666
↓ 71 callers
Method
from
( browser: Browser, logger: Logger, opts: McpContextOptions, /* Let tests use unbundled Locato
src/McpContext.ts:178
↓ 69 callers
Function
getMockRequest
( options: { url?: string; method?: string; response?: HTTPResponse; failure?: HTTPRequest['
tests/utils.ts:151
↓ 66 callers
Method
keys
()
src/third_party/lighthouse-devtools-mcp-bundle.js:16382
↓ 66 callers
Method
log
* @param {string} title * @param {...any} args
src/third_party/lighthouse-devtools-mcp-bundle.js:850
↓ 64 callers
Function
resolve
()
src/third_party/lighthouse-devtools-mcp-bundle.js:9647
↓ 63 callers
Method
split
(devToolsPath, separator, limit)
src/third_party/lighthouse-devtools-mcp-bundle.js:29663
↓ 60 callers
Function
__commonJS
(cb, mod2)
src/third_party/lighthouse-devtools-mcp-bundle.js:23
↓ 59 callers
Method
appendResponseLine
(value: string)
src/tools/ToolDefinition.ts:107
↓ 59 callers
Method
get
(page: Page)
src/devtools/DevtoolsUtils.ts:177
↓ 59 callers
Method
match
* @param {string} code * @return {PatternMatchResult[]}
src/third_party/lighthouse-devtools-mcp-bundle.js:28608
↓ 56 callers
Method
create
( page: McpPage, options: { verbose?: boolean; devtoolsData?: DevToolsData; extraHan
src/TextSnapshot.ts:47
↓ 54 callers
Method
getRoute
(path: string)
tests/server.ts:44
↓ 44 callers
Method
addHtmlRoute
(path: string, htmlContent: string)
tests/server.ts:51
↓ 44 callers
Method
url
()
src/third_party/lighthouse-devtools-mcp-bundle.js:19406
↓ 43 callers
Method
getData
(page: Page, includePreservedData?: boolean)
src/PageCollector.ts:166
↓ 42 callers
Method
toString
()
src/formatters/IssueFormatter.ts:48
↓ 39 callers
Function
parseArguments
( version: string, argv = process.argv, env = process.env, )
src/bin/chrome-devtools-mcp-cli-options.ts:361
↓ 38 callers
Method
newPage
( background?: boolean, isolatedContextName?: string, )
src/McpContext.ts:314
↓ 38 callers
Function
stabilizeStructuredContent
(content: unknown)
tests/utils.ts:253
↓ 37 callers
Method
substring
(devToolsPath, start, end)
src/third_party/lighthouse-devtools-mcp-bundle.js:29645
↓ 37 callers
Method
trim
(devToolsPath)
src/third_party/lighthouse-devtools-mcp-bundle.js:29654
↓ 36 callers
Function
verb
(n)
src/third_party/lighthouse-devtools-mcp-bundle.js:4741
↓ 35 callers
Function
definePageTool
( definition: PageToolDefinition<Schema> | ((args?: Args) => PageToolDefinition<Schema>), )
src/tools/ToolDefinition.ts:378
↓ 34 callers
Function
createLocation
(start, end)
src/third_party/lighthouse-devtools-mcp-bundle.js:8205
↓ 34 callers
Method
warn
* @param {string} title * @param {...any} args
src/third_party/lighthouse-devtools-mcp-bundle.js:858
↓ 33 callers
Method
toString
()
src/third_party/lighthouse-devtools-mcp-bundle.js:37689
↓ 32 callers
Method
delete
(key, value)
src/third_party/lighthouse-devtools-mcp-bundle.js:16365
↓ 30 callers
Method
from
( request: HTTPRequest, options: NetworkFormatterOptions, )
src/formatters/NetworkFormatter.ts:64
↓ 30 callers
Method
makeTableDetails
* @param {LH.Audit.Details.Table['headings']} headings * @param {LH.Audit.Details.Table['items']} results * @param {TableOptions=} optio
src/third_party/lighthouse-devtools-mcp-bundle.js:4205
↓ 29 callers
Method
restore
()
tests/server.ts:86
↓ 28 callers
Method
request
()
src/third_party/lighthouse-devtools-mcp-bundle.js:11944
↓ 27 callers
Method
assertNextCall
* Asserts that the next call in sequence has the correct name and matches expected arguments. * Increments the internal call index.
scripts/eval_result.ts:65
↓ 26 callers
Function
runCli
( args: string[], sessionId?: string, )
tests/utils.ts:370
↓ 25 callers
Method
init
(pages: Page[])
src/PageCollector.ts:73
↓ 25 callers
Method
verbose
* @param {string} title * @param {...any} args
src/third_party/lighthouse-devtools-mcp-bundle.js:873
↓ 24 callers
Method
error
()
src/McpResponse.ts:442
↓ 24 callers
Function
makeFormatter
(id: number, type: string, text: string, argsCount = 0)
tests/formatters/ConsoleFormatterGrouping.test.ts:32
↓ 24 callers
Function
reject
(value)
src/third_party/lighthouse-devtools-mcp-bundle.js:4889
↓ 21 callers
Method
close
()
src/devtools/McpHostBindingAdapter.ts:54
↓ 21 callers
Method
enqueueEvent
(event: ChromeDevToolsMcpExtension)
src/telemetry/watchdog/ClearcutSender.ts:67
↓ 21 callers
Method
getPageById
(pageId: number)
src/McpContext.ts:521
↓ 21 callers
Method
timeEnd
* @param {{msg: string, id: string, args?: any[]}} status * @param {string} level
src/third_party/lighthouse-devtools-mcp-bundle.js:842
↓ 21 callers
Method
type
()
src/third_party/lighthouse-devtools-mcp-bundle.js:11849
↓ 20 callers
Function
bucketizeLatency
(latencyMs: number)
src/telemetry/transformation.ts:11
↓ 20 callers
Function
data5
()
src/third_party/lighthouse-devtools-mcp-bundle.js:18874
↓ 20 callers
Method
time
* @param {{msg: string, id: string, args?: any[]}} status * @param {string} level
src/third_party/lighthouse-devtools-mcp-bundle.js:834
↓ 19 callers
Function
defineTool
( definition: ToolDefinition<Schema> | ((args?: Args) => ToolDefinition<Schema>), )
src/tools/ToolDefinition.ts:331
↓ 18 callers
Method
send
(message: WatchdogMessage)
src/telemetry/WatchdogClient.ts:69
↓ 18 callers
Method
traverse
* Traverses all connected nodes in BFS order, calling `callback` exactly once * on each. `traversalPath` is the shortest (though not necessaril
src/third_party/lighthouse-devtools-mcp-bundle.js:11756
↓ 17 callers
Method
includeSnapshot
(params?: SnapshotParams)
src/tools/ToolDefinition.ts:150
↓ 17 callers
Method
mappings
@return {Array<{lineNumber: number, columnNumber: number, sourceURL?: string, sourceLineNumber: number, sourceColumnNumber: number, name?: string, las
src/third_party/lighthouse-devtools-mcp-bundle.js:38673
↓ 16 callers
Function
__toESM
(mod2, isNodeMode, target)
src/third_party/lighthouse-devtools-mcp-bundle.js:38
↓ 16 callers
Method
addRoute
( path: string, handler: (req: IncomingMessage, res: ServerResponse) => void, )
tests/server.ts:62
↓ 16 callers
Function
getMockBrowser
()
tests/utils.ts:358
↓ 16 callers
Method
setPage
(page: McpPage)
src/McpResponse.ts:271
↓ 16 callers
Function
withClient
( cb: (client: Client) => Promise<void>, extraArgs: string[] = [], options: {capabilities?: Client
tests/index.test.ts:28
↓ 15 callers
Function
accept
(f)
src/third_party/lighthouse-devtools-mcp-bundle.js:4653
↓ 15 callers
Method
emulate
( options: { networkConditions?: string; cpuThrottlingRate?: number; geolocation?: Geolo
src/McpContext.ts:360
↓ 15 callers
Method
getDialog
()
src/McpPage.ts:77
↓ 15 callers
Method
initialize
(options: ClearcutLoggerOptions)
src/telemetry/ClearcutLogger.ts:58
↓ 15 callers
Method
next
()
src/third_party/lighthouse-devtools-mcp-bundle.js:38903
↓ 15 callers
Method
setIncludeNetworkRequests
( value: boolean, options?: PaginationOptions & { resourceTypes?: string[]; includePreserv
src/tools/ToolDefinition.ts:134
↓ 15 callers
Function
step
(result)
src/third_party/lighthouse-devtools-mcp-bundle.js:4726
↓ 15 callers
Method
validatePath
(filePath?: string)
src/McpContext.ts:207
↓ 14 callers
Method
clear
()
src/third_party/lighthouse-devtools-mcp-bundle.js:16392
↓ 14 callers
Function
createMockMessage
( data: Partial<MockConsoleMessage> = {}, )
tests/formatters/ConsoleFormatter.test.ts:25
↓ 14 callers
Method
dispose
* Disposes of a session so that it can no longer talk to Chrome. * @return {Promise<void>}
src/third_party/lighthouse-devtools-mcp-bundle.js:59170
↓ 14 callers
Function
isDaemonRunning
(sessionId: string)
src/daemon/utils.ts:96
↓ 14 callers
Method
substr
(devToolsPath, from, length)
src/third_party/lighthouse-devtools-mcp-bundle.js:29642
↓ 13 callers
Function
formatterTestDetailed
( label: string, setup: (t: it.TestContext) => Promise<ConsoleFormatter>, )
tests/formatters/ConsoleFormatter.test.ts:50
↓ 13 callers
Method
getEffectiveDirective
(directive)
src/third_party/lighthouse-devtools-mcp-bundle.js:48724
↓ 13 callers
Function
loadTraceAsBuffer
(filePath: string)
tests/trace-processing/fixtures/load.ts:17
↓ 13 callers
Method
stopForTesting
()
src/telemetry/watchdog/ClearcutSender.ts:246
↓ 13 callers
Method
toStringDetailed
()
src/formatters/IssueFormatter.ts:52
↓ 12 callers
Function
assertDaemonIsNotRunning
(sessionId?: string)
tests/utils.ts:397
↓ 12 callers
Function
computeFlagUsage
( args: Record<string, unknown>, options: CliOptions, )
src/telemetry/flagUtils.ts:39
↓ 12 callers
Method
consumePageNavigation
* Consumes initial page navigation/setup boilerplate. * - Ignores/skips leading list_pages calls. * - Asserts that new_page or navigate_page was
scripts/eval_result.ts:39
↓ 12 callers
Method
getElementByUid
(uid: string)
src/McpPage.ts:337
next →
1–100 of 3,308, ranked by callers