MCPcopy Create free account

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

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

↓ 1 callersFunctiondetectAvailableShells
(systemInfo: ReturnType<typeof getSystemInfo>)
src/tools/config.ts:25
↓ 1 callersFunctiondetectContainerEnvironment
* Detect container environment and type
src/utils/system-info.ts:69
↓ 1 callersFunctiondetectInstallationSource
* Detect installation source from environment and process context
track-installation.js:83
↓ 1 callersFunctiondetectLineEnding
(content: string)
src/utils/lineEndingHandler.ts:10
↓ 1 callersFunctiondetectNodeInfo
* Detect Node.js installation and version from current process
src/utils/system-info.ts:443
↓ 1 callersFunctiondetectPythonInfo
* Detect Python installation and version and put on systeminfo.pythonInfo
src/utils/system-info.ts:467
↓ 1 callersFunctiondetectShell
()
setup-claude-server.js:170
↓ 1 callersFunctiondetectShell
()
uninstall-claude-server.js:127
↓ 1 callersFunctiondetectUnsupportedParams
(args: unknown, schema: unknown)
src/utils/unsupportedParams.ts:50
↓ 1 callersFunctiondirListOp
()
src/tools/filesystem.ts:450
↓ 1 callersFunctiondiscoverContainerMounts
* Discover container mount points
src/utils/system-info.ts:187
↓ 1 callersMethoddisplayUserInstructions
(deviceAuth: DeviceAuthResponse)
src/remote-device/device-authenticator.ts:95
↓ 1 callersFunctiondisposeHandles
()
src/ui/file-preview/src/markdown/controller.ts:337
↓ 1 callersFunctiondownloadAndExtractPlatform
(platform)
scripts/download-all-ripgrep.cjs:146
↓ 1 callersFunctiondownloadFile
(url, dest)
scripts/download-all-ripgrep.cjs:47
↓ 1 callersMethodenableNotifications
* Call this method after MCP initialization is complete to enable JSON-RPC notifications
src/custom-stdio.ts:63
↓ 1 callersFunctionenhancedGetTrackingProperties
(additionalProps = {})
setup-claude-server.js:265
↓ 1 callersFunctionensureChromeAvailable
()
src/tools/pdf/markdown.ts:255
↓ 1 callersFunctionensureCompletePayload
(payload: RenderPayload)
src/ui/file-preview/src/markdown/controller.ts:385
↓ 1 callersFunctionescapeAppleScriptString
(value: string)
src/tools/filesystem.ts:1054
↓ 1 callersFunctionescapeRegExp
* Escape special regex characters
src/utils/process-detection.ts:165
↓ 1 callersFunctionexecutablePathForBuild
(chromeDir, buildDirName)
test/test-pdf-chrome-cache.js:18
↓ 1 callersFunctionexecuteCommand
(command, timeout_ms = 2000, shell = null)
test/test-blocked-commands.js:17
↓ 1 callersFunctionexecuteNodeCode
* Execute Node.js code via temp file (fallback when Python unavailable) * Creates temp .mjs file in MCP directory for ES module import access
src/tools/improved-process-tools.ts:27
↓ 1 callersFunctionexpandHome
* Expand home directory (~) in a file path
src/handlers/filesystem-handlers.ts:38
↓ 1 callersFunctionexportLogs
()
scripts/export-fuzzy-logs.js:47
↓ 1 callersFunctionextractActualTextFromFuzzyDiff
(resultText)
test/integration/edit-block-performance.js:215
↓ 1 callersFunctionextractHeaderFooterOutline
* Extract outline info for headers and footers from the DOCX zip.
src/utils/files/docx.ts:413
↓ 1 callersFunctionextractImagesFromPdf
( pdfBuffer: Uint8Array, pageNumbers?: number[], compressionOptions: ImageCompressionOptions = {}
src/tools/pdf/extract-images.ts:39
↓ 1 callersFunctionextractInlineText
(token: Record<string, unknown> | undefined)
src/ui/file-preview/src/markdown/utils.ts:1
↓ 1 callersFunctionextractMetadata
({ pdfDocument, metadata }: ParseResult)
src/tools/pdf/lib/pdf2md.ts:46
↓ 1 callersFunctionextractOutline
* Extract a text-bearing outline from document.xml. * * Walks direct children of <w:body> and for each: * - w:p (paragraph): extracts text from <w:
src/utils/files/docx.ts:125
↓ 1 callersFunctionextractParagraphStyle
Extract paragraph style id from w:pPr/w:pStyle
src/utils/files/docx.ts:264
↓ 1 callersFunctionextractPayload
(result: unknown)
src/ui/config-editor/src/app.ts:145
↓ 1 callersFunctionextractStructuredContentText
(value: unknown)
src/ui/file-preview/src/payload-utils.ts:58
↓ 1 callersFunctionextractTableRows
Extract table rows as arrays of cell text
src/utils/files/docx.ts:276
↓ 1 callersFunctionextractTableStyle
Extract table style from w:tblPr/w:tblStyle
src/utils/files/docx.ts:270
↓ 1 callersFunctionextractTarGz
(tarPath, outputDir, targetBinary)
scripts/download-all-ripgrep.cjs:115
↓ 1 callersFunctionextractToolsFromManifest
()
scripts/validate-tools-sync.js:28
↓ 1 callersFunctionextractToolsFromServer
()
scripts/validate-tools-sync.js:36
↓ 1 callersFunctionextractToolsFromServer
()
scripts/count-tokens.js:31
↓ 1 callersFunctionextractZip
(zipPath, outputDir, targetBinary)
scripts/download-all-ripgrep.cjs:83
↓ 1 callersMethodfetchSupabaseConfig
()
src/remote-device/device.ts:242
↓ 1 callersMethodfindDevice
(deviceId: string)
src/remote-device/remote-channel.ts:93
↓ 1 callersMethodfindDocxFiles
* Find all DOCX files in a directory recursively
src/search-manager.ts:610
↓ 1 callersMethodfindExcelFiles
* Find all Excel files in a directory recursively
src/search-manager.ts:455
↓ 1 callersFunctionfindHeading
(anchor: string)
src/ui/file-preview/src/markdown/controller.ts:532
↓ 1 callersFunctionfindSystemChrome
* Find system-installed Chrome/Chromium browser * Returns the executable path if found, undefined otherwise
src/tools/pdf/markdown.ts:140
↓ 1 callersFunctionflushDeferredMessages
()
src/server.ts:88
↓ 1 callersFunctionformatCategoriesResponse
* Format categories list response
src/tools/prompts.ts:241
↓ 1 callersFunctionformatJsonIfPossible
(content: string, filePath: string)
src/ui/file-preview/src/components/code-viewer.ts:47
↓ 1 callersFunctionformatLocalTimestamp
(isoTimestamp: string)
src/utils/toolHistory.ts:19
↓ 1 callersFunctionformatPromptResponse
* Format individual prompt response with the actual prompt content
src/tools/prompts.ts:319
↓ 1 callersFunctionformatPromptsListResponse
* Format prompts list response using secondary tags for clean organization
src/tools/prompts.ts:262
↓ 1 callersFunctionformatValue
* Format a value for display, handling objects and arrays
src/handlers/filesystem-handlers.ts:397
↓ 1 callersFunctionfromFileUrl
(url: URL)
src/ui/file-preview/src/markdown/linking.ts:175
↓ 1 callersMethodgeneratePKCE
()
src/remote-device/device-authenticator.ts:60
↓ 1 callersFunctiongeneratePageNumbers
( offset: number, length: number, totalPages: number )
src/tools/pdf/utils.ts:21
↓ 1 callersMethodgetAll
* Get all flags for debugging
src/utils/feature-flags.ts:88
↓ 1 callersFunctiongetAlphaVersion
* Calculate alpha version from current version * - "0.2.28" → "0.2.29-alpha.0" * - "0.2.29-alpha.0" → "0.2.29-alpha.1" * - "0.2.29-alpha.5" → "0.2.
scripts/publish-release.cjs:117
↓ 1 callersFunctiongetAncestorDirectories
(filePath: string)
src/ui/file-preview/src/path-utils.ts:39
↓ 1 callersFunctiongetAvailableDisplayModes
()
src/ui/file-preview/src/app.ts:59
↓ 1 callersMethodgetBinaryInstructions
* Generate instructions for handling binary files
src/utils/files/binary.ts:70
↓ 1 callersFunctiongetCachedChromeBuildDir
* Resolve the cached Chrome build directory that owns an executable path.
src/tools/pdf/markdown.ts:62
↓ 1 callersFunctiongetCategoryDescription
* Get category description (can be expanded later)
src/tools/prompts.ts:220
↓ 1 callersFunctiongetCharacterCodeData
* Extract character code data from diff * @param expected The string that was searched for * @param actual The string that was found * @returns Cha
src/tools/edit.ts:57
↓ 1 callersFunctiongetChromeExecutablePath
* Find the platform-specific executable within a cached Chrome build directory.
src/tools/pdf/markdown.ts:37
↓ 1 callersFunctiongetClientId
* Get the client ID from the Desktop Commander config file, or generate a new one
track-installation.js:46
↓ 1 callersFunctiongetConfig
()
src/tools/config.ts:90
↓ 1 callersFunctiongetConfigFieldMetadata
(key: string)
src/ui/config-editor/src/app.ts:135
↓ 1 callersFunctiongetConfigSettings
()
uninstall-claude-server.js:21
↓ 1 callersFunctiongetContainerEnvironment
* Get container environment information
src/utils/system-info.ts:342
↓ 1 callersMethodgetDefaultStats
* Get default usage stats
src/utils/usageTracker.ts:66
↓ 1 callersFunctiongetDefaultTargetOrigin
()
src/ui/shared/tool-bridge.ts:36
↓ 1 callersFunctiongetDevelopmentToolGuidance
(systemInfo: SystemInfo)
src/utils/system-info.ts:760
↓ 1 callersFunctiongetDockerInfoMessage
()
src/utils/dockerPrompt.ts:25
↓ 1 callersFunctiongetExecutionContext
()
setup-claude-server.js:243
↓ 1 callersFunctiongetExecutionContext
()
uninstall-claude-server.js:162
↓ 1 callersFunctiongetFallbackWidgetInstanceId
()
src/ui/shared/widget-state.ts:52
↓ 1 callersFunctiongetFallbackWidgetStateKey
()
src/ui/shared/widget-state.ts:73
↓ 1 callersMethodgetFeedbackPromptMessage
* Get a random feedback prompt message with strong CTAs and clear actions * NEW 2025 Survey - 3 variants for fresh analytics tracking
src/utils/usageTracker.ts:279
↓ 1 callersFunctiongetFileExtension
(filePath: string)
src/ui/file-preview/src/components/code-viewer.ts:37
↓ 1 callersMethodgetFileLineCount
* Get file line count (for files under size limit)
src/utils/files/text.ts:121
↓ 1 callersMethodgetInfo
* Get file metadata * @param path Validated file path * @returns File information including type-specific metadata
src/utils/files/base.ts:56
↓ 1 callersFunctiongetLatestSchemaVersion
* Get the latest schema version from mcp-publisher
scripts/publish-release.cjs:322
↓ 1 callersFunctiongetLineInfo
(selection: Selection)
src/ui/file-preview/src/host/selection-context.ts:73
↓ 1 callersFunctiongetMimeType
(filePath: string)
src/tools/mime-types.ts:2
↓ 1 callersMethodgetMimeType
* Get MIME type for image based on file extension
src/utils/files/image.ts:84
↓ 1 callersFunctiongetMimeTypeInfo
* Get MIME type information for a file * @param filePath Path to the file * @returns Object with mimeType and isImage properties
src/tools/filesystem.ts:34
↓ 1 callersFunctiongetNpmVersion
()
setup-claude-server.js:125
↓ 1 callersFunctiongetNpmVersion
()
uninstall-claude-server.js:83
↓ 1 callersFunctiongetOSSpecificGuidance
(systemInfo: SystemInfo)
src/utils/system-info.ts:631
↓ 1 callersMethodgetOnboardingMessage
* Get onboarding message for new users - DIRECT 5-OPTION LIST (V2)
src/utils/usageTracker.ts:483
↓ 1 callersFunctiongetPageLayout
(page: PDFPage)
src/tools/pdf/manipulations.ts:44
↓ 1 callersFunctiongetPathGuidance
(systemInfo: SystemInfo)
src/utils/system-info.ts:813
↓ 1 callersFunctiongetPrompt
* Get a specific prompt by ID and inject it into the chat
src/tools/prompts.ts:189
↓ 1 callersFunctiongetPrompts
(params: any)
src/tools/prompts.ts:73
↓ 1 callersFunctiongetPythonCommand
* Determines the correct python command to use * @returns {string} 'python3' or 'python'
test/test-enhanced-repl.js:9
↓ 1 callersMethodgetRecentCalls
* Get recent tool calls with filters
src/utils/toolHistory.ts:245
↓ 1 callersMethodgetRecentCallsFormatted
* Get recent calls formatted with local timezone
src/utils/toolHistory.ts:271
← previousnext →501–600 of 1,250, ranked by callers