Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
804 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
804
◇
Types & classes
172
↓ 41 callers
Method
get
()
src/telemetry/ClearcutLogger.ts:72
↓ 41 callers
Function
logger
(...args: unknown[])
src/utils/logger.ts:42
↓ 39 callers
Method
resolve
(result: unknown)
scripts/profile/inspector.ts:25
↓ 29 callers
Method
find
( filter: (item: WithSymbolId<T>) => boolean, )
src/collectors/PageCollector.ts:141
↓ 29 callers
Method
getSelectedMcpPage
()
src/McpContext.ts:416
↓ 25 callers
Method
error
()
src/McpResponse.ts:318
↓ 25 callers
Method
restore
()
tests/server.ts:86
↓ 24 callers
Method
from
( serverArgs: ParsedArguments, options: McpServerOptions = {}, )
src/index.ts:147
↓ 24 callers
Function
withMcpContext
( cb: (response: McpResponse, context: McpContext) => Promise<void>, options: { debug?: boolean; a
tests/utils.ts:158
↓ 21 callers
Method
toString
()
src/formatters/IssueFormatter.ts:48
↓ 18 callers
Method
appendResponseLine
(value: string)
src/tools/ToolDefinition.ts:126
↓ 18 callers
Method
close
()
scripts/profile/source_map_server.ts:10
↓ 17 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:69
↓ 16 callers
Method
consumePageNavigation
* Consumes initial page navigation/setup boilerplate. * - Ignores/skips leading or trailing list_pages calls. * - Asserts that new_page or navig
scripts/eval_result.ts:39
↓ 16 callers
Method
handle
(params: Record<string, unknown>)
src/ToolHandler.ts:199
↓ 16 callers
Function
html
( strings: TemplateStringsArray, ...values: unknown[] )
tests/utils.ts:286
↓ 15 callers
Method
getSnapshot
( filePath: string, )
src/processors/HeapSnapshotManager.ts:70
↓ 14 callers
Function
definePageTool
( definition: PageToolDefinition<Schema> | ((args?: Args) => PageToolDefinition<Schema>), )
src/tools/ToolDefinition.ts:430
↓ 14 callers
Method
sort
( aggregates: Record< string, DevTools.HeapSnapshotModel.HeapSnapshotModel.AggregatedInfo
src/formatters/HeapSnapshotFormatter.ts:207
↓ 13 callers
Method
addHtmlRoute
(path: string, htmlContent: string)
tests/server.ts:51
↓ 12 callers
Method
getRoute
(path: string)
tests/server.ts:44
↓ 12 callers
Function
serverHooks
()
tests/server.ts:132
↓ 10 callers
Method
send
(message: WatchdogMessage)
src/telemetry/WatchdogClient.ts:69
↓ 9 callers
Method
newPage
( background?: boolean, isolatedContextName?: string, )
src/McpContext.ts:338
↓ 9 callers
Method
saveFile
( data: Uint8Array<ArrayBufferLike>, clientProvidedFilePath: string, extension: SupportedExtension
src/McpContext.ts:712
↓ 8 callers
Function
assertValidSessionId
(sessionId: string)
src/daemon/utils.ts:26
↓ 8 callers
Method
create
( page: McpPage, options: { verbose?: boolean; devtoolsData?: DevToolsData; extraHan
src/TextSnapshot.ts:47
↓ 8 callers
Function
getTextContent
( content: CallToolResult['content'][number], )
tests/utils.ts:41
↓ 8 callers
Function
isDaemonRunning
(sessionId: string)
src/daemon/utils.ts:111
↓ 8 callers
Function
stripUnderscoreBeforeNumber
(name: string)
src/telemetry/transformation.ts:84
↓ 8 callers
Method
toJSON
()
src/formatters/IssueFormatter.ts:56
↓ 7 callers
Method
emulate
(options: { networkConditions?: string; cpuThrottlingRate?: number; geolocation?: GeolocationOptio
src/McpPage.ts:717
↓ 7 callers
Method
getElementByUid
(uid: string)
src/McpPage.ts:644
↓ 7 callers
Function
getPidFilePath
(sessionId: string)
src/daemon/utils.ts:85
↓ 7 callers
Method
resetResponseLineForTesting
()
src/McpResponse.ts:1452
↓ 7 callers
Function
resolveCanonicalPath
(filePath: string)
src/utils/files.ts:18
↓ 6 callers
Method
from
( request: HTTPRequest, options: NetworkFormatterOptions, )
src/formatters/NetworkFormatter.ts:65
↓ 6 callers
Method
getPageById
(pageId: number)
src/McpContext.ts:474
↓ 6 callers
Method
platform
()
src/devtools/McpHostBindingAdapter.ts:243
↓ 6 callers
Function
runCli
( args: string[], sessionId?: string, )
tests/utils.ts:414
↓ 6 callers
Method
toJSONDetailed
()
src/formatters/IssueFormatter.ts:65
↓ 6 callers
Method
validatePath
(filePath?: string)
src/McpContext.ts:250
↓ 5 callers
Function
categoryToFlagName
(category: ToolCategory)
src/config/category-options.ts:87
↓ 5 callers
Method
createPagesSnapshot
()
src/McpContext.ts:580
↓ 5 callers
Function
createTools
(args: ParsedArguments)
src/tools/tools.ts:28
↓ 5 callers
Function
defineTool
( definition: ToolDefinition<Schema> | ((args?: Args) => ToolDefinition<Schema>), )
src/tools/ToolDefinition.ts:383
↓ 5 callers
Method
dispose
()
src/McpPage.ts:438
↓ 5 callers
Method
getData
(includePreservedData?: boolean)
src/collectors/PageCollector.ts:113
↓ 5 callers
Method
getDialog
()
src/McpPage.ts:214
↓ 5 callers
Function
isAllowedUrl
( url: string, options: IsAllowedUrlOptions, )
src/utils/url.ts:73
↓ 5 callers
Function
parseArguments
(argv: string[], env: NodeJS.ProcessEnv = {})
tests/cli.test.ts:16
↓ 5 callers
Method
selectPage
(newPage: McpPage)
src/McpContext.ts:486
↓ 5 callers
Method
setPage
(page: McpPage)
src/McpResponse.ts:137
↓ 5 callers
Function
stabilizeResponseOutput
(text: unknown)
tests/utils.ts:335
↓ 5 callers
Method
stop
()
tests/server.ts:118
↓ 5 callers
Method
toStringDetailed
()
src/formatters/IssueFormatter.ts:52
↓ 5 callers
Method
uninstallExtension
(id: string)
src/McpContext.ts:745
↓ 4 callers
Method
addRoute
( path: string, handler: (req: IncomingMessage, res: ServerResponse) => void, )
tests/server.ts:62
↓ 4 callers
Function
assertDaemonIsNotRunning
(sessionId?: string)
tests/utils.ts:441
↓ 4 callers
Function
assertNoServiceWorkerReported
(targets: Target[], id: string)
tests/utils.ts:34
↓ 4 callers
Method
connect
(transport: Transport)
src/index.ts:124
↓ 4 callers
Method
createExtensionServiceWorkersSnapshot
* Creates a snapshot of the extension service workers.
src/McpContext.ts:504
↓ 4 callers
Function
createIdGenerator
()
src/utils/id.ts:7
↓ 4 callers
Method
ensureExtension
( filePath: string, extension: Extension, )
src/McpContext.ts:325
↓ 4 callers
Method
getById
(stableId: number)
src/collectors/PageCollector.ts:131
↓ 4 callers
Method
getDevToolsData
()
src/McpPage.ts:679
↓ 4 callers
Function
getMockRequest
( options: { url?: string; method?: string; response?: HTTPResponse; failure?: HTTPRequest['
tests/utils.ts:205
↓ 4 callers
Method
getPages
()
src/McpContext.ts:412
↓ 4 callers
Method
includeSnapshot
(params?: SnapshotParams)
src/tools/ToolDefinition.ts:176
↓ 4 callers
Function
isCategoryOffByDefault
(category: ToolCategory)
src/config/category-options.ts:101
↓ 4 callers
Function
isObject
(value: unknown)
scripts/profile/utils.ts:9
↓ 4 callers
Function
loadTraceAsBuffer
(filePath: string)
tests/trace-processing/fixtures/load.ts:17
↓ 4 callers
Function
parseArguments
( version: string, argv = process.argv, env = process.env, )
src/config/mcp-options.ts:441
↓ 4 callers
Function
parseRawTraceBuffer
( buffer: Uint8Array<ArrayBufferLike> | undefined, metadata?: { cpuThrottling?: number; networkThr
src/processors/PerformanceTrace.ts:27
↓ 4 callers
Method
send
(method: string, params?: Record<string, unknown>)
scripts/profile/inspector.ts:93
↓ 4 callers
Function
sendCommand
( command: DaemonMessage, sessionId: string, timeout = SEND_COMMAND_TIMEOUT, )
src/daemon/client.ts:145
↓ 4 callers
Method
setListWebMcpTools
()
src/tools/ToolDefinition.ts:195
↓ 4 callers
Method
setRoots
(roots: Root[] | undefined)
src/McpContext.ts:238
↓ 4 callers
Function
stabilizeStructuredContent
(content: unknown)
tests/utils.ts:307
↓ 4 callers
Method
timeout
(time: number)
src/utils/WaitForHelper.ts:102
↓ 4 callers
Method
triggerExtensionAction
(id: string)
src/McpContext.ts:757
↓ 3 callers
Method
#createMcpPage
(page: Page)
src/McpContext.ts:562
↓ 3 callers
Method
#getText
()
src/formatters/ConsoleFormatter.ts:199
↓ 3 callers
Method
#getTitle
()
src/formatters/IssueFormatter.ts:155
↓ 3 callers
Function
assertDaemonIsRunning
(sessionId?: string)
tests/utils.ts:449
↓ 3 callers
Method
attachNetworkRequest
( reqId: number, options?: {requestFilePath?: string; responseFilePath?: string}, )
src/tools/ToolDefinition.ts:178
↓ 3 callers
Function
checkForUpdates
(message: string)
src/utils/check-for-updates.ts:27
↓ 3 callers
Function
cleanup
(exitCode = 0)
src/daemon/daemon.ts:268
↓ 3 callers
Method
clearDialog
()
src/McpPage.ts:218
↓ 3 callers
Method
connect
(url: string)
scripts/profile/inspector.ts:41
↓ 3 callers
Function
createMockPuppeteerPage
()
tests/mocks.ts:73
↓ 3 callers
Method
dispose
()
src/McpContext.ts:154
↓ 3 callers
Method
enqueueEvent
(event: ChromeDevToolsMcpExtension)
src/telemetry/watchdog/ClearcutSender.ts:67
↓ 3 callers
Function
extractExtensionId
(response: McpResponse)
tests/utils.ts:60
↓ 3 callers
Method
format
( context: McpContext, data: { detailedConsoleMessage: ConsoleFormatter | IssueFormatter | undef
src/McpResponse.ts:735
↓ 3 callers
Function
formatStackTrace
( stackTrace: DevTools.DevTools.StackTrace.StackTrace.StackTrace, cause: SymbolizedError | undefined, fo
src/formatters/ConsoleFormatter.ts:383
↓ 3 callers
Method
fromDetails
(opts: { devTools?: TargetUniverse; details: Protocol.Runtime.ExceptionDetails; targetId: string;
src/devtools/DevtoolsUtils.ts:244
↓ 3 callers
Method
fromError
(opts: { devTools?: TargetUniverse; error: Protocol.Runtime.RemoteObject; targetId: string; })
src/devtools/DevtoolsUtils.ts:302
↓ 3 callers
Method
getAXNodeByUid
(uid: string)
src/McpPage.ts:675
↓ 3 callers
Method
getExtensionServiceWorkers
()
src/McpContext.ts:666
next →
1–100 of 804, ranked by callers