MCPcopy Create free account

hub / github.com/wonderwhy-er/DesktopCommanderMCP / functions

Functions1,250 in github.com/wonderwhy-er/DesktopCommanderMCP

↓ 1,248 callersMethodlog
(entry: FuzzySearchLogEntry)
src/utils/fuzzySearchLogger.ts:75
↓ 104 callersFunctionassert
* Assert function for test validation
test/test-search-code.js:191
↓ 83 callersMethodon
()
test/test-remote-channel-reconnect.js:44
↓ 67 callersFunctioncapture
(event: string, properties?: any)
src/utils/capture.ts:465
↓ 54 callersMethodsetValue
* Set a specific configuration value
src/config-manager.ts:207
↓ 52 callersFunctionlogToFile
(message, isError = false)
uninstall-claude-server.js:62
↓ 45 callersMethodgetConfig
* Get the entire config
src/config-manager.ts:191
↓ 41 callersMethodget
* Get a flag value
src/utils/feature-flags.ts:81
↓ 41 callersFunctionprintWarning
(message)
scripts/publish-release.cjs:47
↓ 39 callersMethodfrom
()
test/test-remote-channel-reconnect.js:131
↓ 37 callersFunctioncaptureRemote
(event: string, properties?: any)
src/utils/capture.ts:485
↓ 33 callersFunctionupdateUninstallStep
(index, status, error = null)
uninstall-claude-server.js:403
↓ 31 callersFunctionisPathAccessible
* Check if a path is accessible
test/test-allowed-directories.js:59
↓ 30 callersFunctiontrackEvent
(eventName, additionalProps = {})
setup-claude-server.js:301
↓ 28 callersFunctionprintSuccess
(message)
scripts/publish-release.cjs:39
↓ 28 callersMethodwrite
* Write file (complete rewrite or append) * @param path Validated file path * @param content Content to write * @param mode Write mode:
src/utils/files/base.ts:28
↓ 27 callersFunctionupdateSetupStep
(index, status, error = null)
setup-claude-server.js:524
↓ 26 callersFunctionassert
* Assert function
test/test-search-code-edge-cases.js:146
↓ 26 callersMethodgetValue
* Get a specific configuration value
src/config-manager.ts:199
↓ 26 callersFunctionprintError
(message)
scripts/publish-release.cjs:43
↓ 25 callersFunctionlogToFile
(message, isError = false)
setup-claude-server.js:432
↓ 25 callersFunctiontrackEvent
(eventName, additionalProps = {})
uninstall-claude-server.js:215
↓ 25 callersFunctionvalidatePath
(requestedPath: string)
src/tools/filesystem.ts:221
↓ 24 callersFunctionassertToolSuccess
(result, message)
test/integration/edit-block-performance.js:55
↓ 24 callersFunctioncallTool
(client, name, args)
test/integration/edit-block-performance.js:60
↓ 24 callersFunctionhandleEditBlock
(args: unknown)
src/tools/edit.ts:397
↓ 24 callersFunctionreadFile
( filePath: string, options?: ReadOptions )
src/tools/filesystem.ts:566
↓ 24 callersFunctionroundTrip
* Use the production round-trip path. Any wrapper / extension / serializer * change in editor.ts is automatically exercised here, so this test stays
test/test-markdown-editor-roundtrip.js:49
↓ 24 callersMethodupdateConfig
* Update multiple configuration values at once
src/config-manager.ts:242
↓ 21 callersFunctionprintInfo
(message)
scripts/publish-release.cjs:51
↓ 18 callersFunctiontest
(name, fn)
test/ab-test.test.js:134
↓ 17 callersFunctionescapeHtml
(input: string)
src/ui/file-preview/src/components/highlighting.ts:39
↓ 17 callersFunctionexec
(command, options = {})
scripts/publish-release.cjs:91
↓ 17 callersFunctionexecSilent
(command, options = {})
scripts/publish-release.cjs:107
↓ 17 callersFunctionstripReadStatusLine
(content: string)
src/ui/file-preview/src/document-workspace.ts:10
↓ 16 callersFunctiondebug
(...args)
track-installation.js:30
↓ 16 callersFunctionhandleReadFile
(args: unknown)
src/handlers/filesystem-handlers.ts:73
↓ 16 callersFunctionhandleStartSearch
(args: unknown)
src/handlers/search-handlers.ts:13
↓ 15 callersMethoddestroy
* Cleanup on shutdown
src/utils/feature-flags.ts:241
↓ 15 callersFunctionwriteFile
(filePath: string, content: string, mode: 'rewrite' | 'append' = 'rewrite')
src/tools/filesystem.ts:624
↓ 14 callersFunctioncreateErrorResponse
(message: string)
src/error-handlers.ts:9
↓ 14 callersFunctionescapeHtml
(value: string)
src/ui/shared/escape-html.ts:4
↓ 14 callersFunctionisObjectRecord
(value: unknown)
src/ui/shared/host-context.ts:16
↓ 14 callersFunctionisTelemetryDisabledValue
(value: unknown)
src/config-manager.ts:43
↓ 14 callersFunctionlog
(message)
test/test-node-repl.js:52
↓ 13 callersMethodcanHandle
* Check if this handler can handle the given file * @param path File path * @returns true if this handler supports this file type (can be as
src/utils/files/base.ts:63
↓ 13 callersFunctionisAllowedImageMimeType
(mimeType: string | undefined)
src/ui/file-preview/src/image-preview.ts:20
↓ 13 callersFunctionreadProcessOutput
(args: unknown)
src/tools/improved-process-tools.ts:242
↓ 13 callersFunctionstartProcess
(args: unknown)
src/tools/improved-process-tools.ts:98
↓ 12 callersFunctionaddSetupStep
(step, status = 'started', error = null)
setup-claude-server.js:512
↓ 12 callersFunctionaddUninstallStep
(step, status = 'started', error = null)
uninstall-claude-server.js:391
↓ 12 callersFunctionextractToolText
(value: unknown)
src/ui/file-preview/src/payload-utils.ts:39
↓ 12 callersFunctiongetText
(result)
test/integration/edit-block-performance.js:162
↓ 12 callersFunctionhasFeature
(featureName)
test/ab-test.test.js:83
↓ 12 callersFunctionisShellAvailable
* Check if a shell is available on the system
test/test-default-shell.js:34
↓ 12 callersFunctionisStepComplete
(state, step)
scripts/publish-release.cjs:86
↓ 11 callersFunctionassertEditBlockSuccess
* Assert that an edit_block result indicates success. * * Since the file-preview refactor (commit 8fd8f94), handleEditBlock's * exact-match path no
test/test-edit-block-line-endings.js:44
↓ 11 callersFunctiongetFileExtensionForAnalytics
(filePath: string)
src/ui/file-preview/src/payload-utils.ts:10
↓ 11 callersFunctionparseReadRange
(content: string)
src/ui/file-preview/src/document-workspace.ts:14
↓ 10 callersFunctionassert
* Assert function for test validation
test/test-literal-search.js:170
↓ 10 callersMethodextractCommands
(commandString: string)
src/command-manager.ts:11
↓ 10 callersFunctiongetFileHandler
(filePath: string)
src/utils/files/factory.ts:76
↓ 10 callersFunctiongetReadmeLine
(index, salt)
test/integration/edit-block-performance.js:201
↓ 10 callersFunctionparsePdfToMarkdown
(source: string, pageNumbers: number[] | PageRange = [])
src/tools/pdf/markdown.ts:274
↓ 10 callersFunctionresolveMarkdownLink
(currentPath: string, rawHref: string)
src/ui/file-preview/src/markdown/linking.ts:243
↓ 10 callersFunctionsearchAndWaitForCompletion
* Helper function to wait for search completion and get all results
test/test-search-code.js:33
↓ 10 callersMethodsendLogNotification
(level: "emergency" | "alert" | "critical" | "error" | "warning" | "notice" | "info" | "debug", args: any[])
src/custom-stdio.ts:225
↓ 9 callersMethodconnState
* Compact connection state for logs — e.g. "socket=open(1) ch=errored attempt=3". * readyState 1=OPEN (a 1 while joins keep failing = a half-open
src/remote-device/remote-channel.ts:257
↓ 9 callersFunctionexecuteCommand
(command, timeout_ms = 2000, shell = null)
test/test-default-shell.js:18
↓ 9 callersFunctiongetState
(payload: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:403
↓ 9 callersFunctionlogToStderr
(level: LogLevel, message: string)
src/utils/logger.ts:71
↓ 9 callersFunctionnormalizeFilePath
(value: string)
src/ui/file-preview/src/path-utils.ts:9
↓ 9 callersFunctionprintStep
(message)
scripts/publish-release.cjs:35
↓ 9 callersFunctionresolveOnce
()
src/tools/improved-process-tools.ts:288
↓ 9 callersFunctionrunTest
(name, testFn)
test/test-error-sanitization.js:42
↓ 9 callersFunctionsanitizeError
(error)
test/test-error-sanitization.js:10
↓ 8 callersMethodgetStats
* Get current usage stats from config
src/utils/usageTracker.ts:88
↓ 8 callersFunctiongetUpdatedEntryByKey
(key: string)
src/ui/config-editor/src/app.ts:612
↓ 8 callersFunctionlog
(level: LogLevel, message: string, data?: any)
src/utils/logger.ts:18
↓ 8 callersFunctionpythonMarker
(workflowId, editNumber, state)
test/integration/edit-block-performance.js:174
↓ 8 callersFunctionsearchAndWaitForCompletion
* Helper function to wait for search completion and get all results
test/test-literal-search.js:29
↓ 8 callersFunctionsearchAndWaitForCompletion
* Helper function to wait for search completion and get all results
test/test-search-code-edge-cases.js:29
↓ 8 callersFunctionsetLinkHeadingOptions
(headings: MarkdownLinkHeading[] = [], placeholder: string = 'None')
src/ui/file-preview/src/markdown/editor.ts:1132
↓ 7 callersFunctioncallTool
(client, name, args)
test/integration/read-file-unknown-params.js:31
↓ 7 callersFunctioncanAccessPath
* Test helper: check if path validation succeeds or fails
test/test-symlink-security.js:72
↓ 7 callersFunctiondeferLog
(level: string, message: string)
src/index.ts:17
↓ 7 callersFunctionexecAsync
(command)
setup-claude-server.js:536
↓ 7 callersFunctionextractPid
(result)
test/test-process-pagination.js:10
↓ 7 callersFunctionfail
(name, detail)
test/test-markdown-editor-edit-diff.js:124
↓ 7 callersFunctionforceTerminate
(args: unknown)
src/tools/improved-process-tools.ts:661
↓ 7 callersFunctiongetDefaultEditorMetadata
(filePath: string)
src/tools/filesystem.ts:1058
↓ 7 callersFunctiongetExpectedShellOutput
* Get expected shell output for a given shell path
test/test-default-shell.js:71
↓ 7 callersFunctiongetShellFromCommand
* Execute echo $0 command and extract the shell name from the output * For Windows shells, use appropriate commands
test/test-default-shell.js:92
↓ 7 callersFunctionhandleStopSearch
(args: unknown)
src/handlers/search-handlers.ts:180
↓ 7 callersFunctionisObjectRecord
(value: unknown)
src/ui/file-preview/src/payload-utils.ts:6
↓ 7 callersFunctionmarker
(workflowId, editNumber, state)
test/integration/edit-block-performance.js:166
↓ 7 callersFunctionqueryById
(id: string)
src/ui/file-preview/src/panel-actions.ts:21
↓ 7 callersFunctionresolveMcpUiPreviewDecision
(deps: McpUiPreviewDecisionDeps)
src/utils/mcp-ui-ab-test.ts:25
↓ 7 callersFunctionwait
(ms)
test/test-process-pagination.js:16
↓ 6 callersFunctionadd
(shell: string)
src/tools/config.ts:27
next →1–100 of 1,250, ranked by callers