Repository Analysis

wonderwhy-er/DesktopCommanderMCP

This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of wonderwhy-er/DesktopCommanderMCP, a TypeScript project with 8,242 GitHub stars. SynthScan v2.0 examined 70,716 lines of code across 268 source files, recording 200 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
8.2K
Stars
TypeScript
Language
70.7K
Lines of Code
268
Files
200
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 5MEDIUM 15LOW 180

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 200 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers146 hits · 146 pts
SeverityFileLineSnippetContext
LOWsetup-claude-server.js265async function enhancedGetTrackingProperties(additionalProps = {}) {CODE
LOWuninstall-claude-server.js548async function removeDesktopCommanderConfig() {CODE
LOWtest/test_search_truncation.js7async function searchAndWaitForCompletion(searchArgs, timeout = 30000) {CODE
LOWtest/test-markdown-preview.js130async function testWikiRewriteAndRendering() {CODE
LOWtest/test-markdown-preview.js166async function testFailedSaveResyncsEditBaseline() {CODE
LOWtest/test-markdown-preview.js310async function testSuccessfulSaveResetsUndoBaseline() {CODE
LOWtest/test-markdown-preview.js375async function testFullscreenWorkspaceHelpers() {CODE
LOWtest/test-markdown-preview.js401async function testCopyFormatsAndEditorShell() {CODE
LOWtest/test-markdown-preview.js432async function testPartialDocumentBecomesNewEditBaseline() {CODE
LOWtest/test-markdown-preview.js481async function testRefreshDoesNotMisclassifyMarkdownContentAsDeletion() {CODE
LOWtest/test-markdown-preview.js525async function testUnsupportedRawContentPreview() {CODE
LOWtest/test-literal-search.js29async function searchAndWaitForCompletion(searchArgs, timeout = 10000) {CODE
LOWtest/test-literal-search.js187async function testLiteralSearchExactMatches() {CODE
LOWtest/test-literal-search.js213async function testRegexVsLiteralDifference() {CODE
LOWtest/test-literal-search.js245async function testSpecialCharactersLiteralSearch() {CODE
LOWtest/test-literal-search.js333async function testRegexFailureLiteralSuccess() {CODE
LOWtest/test-allowed-directories.js110async function testEmptyAllowedDirectories() {CODE
LOWtest/test-allowed-directories.js139async function testSpecificAllowedDirectory() {CODE
LOWtest/test-allowed-directories.js176async function testRootInAllowedDirectories() {CODE
LOWtest/test-allowed-directories.js275async function testSpecificAllowedDirectoryWithSlash() {CODE
LOWtest/test-default-shell.js334async function testConfigurationPersistence() {CODE
LOWtest/test-markdown-editor-roundtrip.js53async function testPipeTableSurvivesRoundTrip() {CODE
LOWtest/test-markdown-editor-roundtrip.js77async function testAdjacentHeadingsKeepOriginalSpacing() {CODE
LOWtest/test-markdown-editor-roundtrip.js89async function testWikilinkSurvivesRoundTrip() {CODE
LOWtest/test-markdown-editor-roundtrip.js101async function testTrailingNewlineSurvives() {CODE
LOWtest/test-markdown-editor-roundtrip.js113async function testCombinedBugReportFile() {CODE
LOWtest/test-markdown-editor-roundtrip.js126async function testYamlFrontmatterSurvives() {CODE
LOWtest/test-markdown-editor-roundtrip.js138async function testSquareBracketsNotEscaped() {CODE
LOWtest/test-markdown-editor-roundtrip.js150async function testUnderscoresNotEscaped() {CODE
LOWtest/test-markdown-editor-roundtrip.js205async function testReadmeStyleFileNotCollapsed() {CODE
LOWtest/test-markdown-editor-roundtrip.js264async function testTableInsideRealisticDoc() {CODE
LOWtest/test-markdown-editor-roundtrip.js321async function testEmojiPrefixedSoftBreaksRestored() {CODE
LOWtest/test-markdown-editor-roundtrip.js340async function testLinkInTableCellSurvivesRoundTrip() {CODE
LOWtest/test-markdown-editor-roundtrip.js359async function testStarBulletMarkerPreserved() {CODE
LOWtest/test-markdown-editor-roundtrip.js377async function testRelativePathLinksSurvive() {CODE
LOWtest/test-markdown-editor-roundtrip.js401async function testLessThanInProseNotEscaped() {CODE
LOWtest/test-markdown-editor-roundtrip.js427async function testTrailingHardBreakWhitespacePreserved() {CODE
LOWtest/test-markdown-editor-roundtrip.js447async function testBoldAroundInlineCodePreserved() {CODE
LOWtest/test-markdown-editor-roundtrip.js472async function testEscapedPipeInTableCellPreserved() {CODE
LOWtest/test-markdown-editor-roundtrip.js495async function testListItemWithContinuationLine() {CODE
LOWtest/test-edit-block-line-endings.js247async function testContextAwareReplacement() {CODE
LOWtest/test-edit-block-line-endings.js402async function runEditBlockLineEndingTests() {CODE
LOWtest/test-feature-flags-timeout.js129async function testAbortControllerBehavior() {CODE
LOWtest/test-feature-flags-timeout.js178async function testCurrentPatternBlackHole() {CODE
LOWtest/test-feature-flags-timeout.js209async function testAbortControllerOnlyBlackHole() {CODE
LOWtest/test-feature-flags-timeout.js245async function testCurrentPatternSlowResponse() {CODE
LOWtest/test-feature-flags-timeout.js281async function testNewUserOnboardingPath() {CODE
LOWtest/test-feature-flags-timeout.js327async function testBrokenAbortControllerSimulation() {CODE
LOWtest/test-search-code.js33async function searchAndWaitForCompletion(searchArgs, timeout = 10000) {CODE
LOWtest/test-search-code.js244async function testCaseInsensitiveSearch() {CODE
LOWtest/test-read-completed-process.js11async function testReadCompletedProcessOutput() {CODE
LOWtest/test-edit-block-occurrences.js83async function testMoreOccurrencesThanExpected() {CODE
LOWtest/test-edit-block-occurrences.js115async function testFewerOccurrencesThanExpected() {CODE
LOWtest/test-edit-block-occurrences.js144async function testExactNumberOfOccurrences() {CODE
LOWtest/test-edit-block-occurrences.js186async function testContextSpecificReplacements() {CODE
LOWtest/test-edit-block-occurrences.js311async function runEditBlockOccurrencesTests() {CODE
LOWtest/test-file-preview-directory-runtime.js6async function testDirectoryBodyRendering() {CODE
LOWtest/test-file-handlers.js297async function testReadFilePreviewMetadata() {CODE
LOWtest/test-file-handlers.js377async function testMarkdownExactMatchSave() {CODE
LOWtest/test-search-code-edge-cases.js29async function searchAndWaitForCompletion(searchArgs, timeout = 10000) {CODE
86 more matches not shown…
Decorative Section Separators14 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMsrc/utils/files/docx.ts23// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts25// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts63// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts65// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts97// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts99// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts236// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts238// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts436// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts438// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts487// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts489// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts501// ════════════════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/files/docx.ts503// ════════════════════════════════════════════════════════════════COMMENT
Verbosity Indicators13 hits · 26 pts
SeverityFileLineSnippetContext
LOWtest-listener-bug.js97 // Step 1: Start Node.js REPLCOMMENT
LOWtest-listener-bug.js107 // Step 2: Send first commandCOMMENT
LOWtest-listener-bug.js117 // Step 3: First read_process_output (this might break listeners with removeAllListeners)COMMENT
LOWtest-listener-bug.js126 // Step 4: Send second command WITHOUT waiting (so output stays in buffer)COMMENT
LOWtest-listener-bug.js139 // Step 5: Second read_process_output (THIS WILL FAIL if listeners were removed)COMMENT
LOWscripts/validate-tools-sync.js70 // Step 1: Send initialize requestCOMMENT
LOWscripts/validate-tools-sync.js89 // Step 2: Send tools/list requestCOMMENT
LOWsrc/tools/filesystem.ts148 * and we need to check if any of the parent directories existCOMMENT
LOWsrc/utils/dockerPrompt.ts13 // Step 1: Check if client is Docker MCP GatewayCOMMENT
LOWsrc/utils/dockerPrompt.ts17 // Step 2: Check if this is their first or second command (0 or 1 total calls)COMMENT
LOWsrc/remote-device/device-authenticator.ts46 // Step 1: Request device codeCOMMENT
LOWsrc/remote-device/device-authenticator.ts49 // Step 2: Display user instructions and open browserCOMMENT
LOWsrc/remote-device/device-authenticator.ts52 // Step 3: Poll for authorizationCOMMENT
Structural Annotation Overuse12 hits · 25 pts
SeverityFileLineSnippetContext
LOWtest-listener-bug.js97 // Step 1: Start Node.js REPLCOMMENT
LOWtest-listener-bug.js107 // Step 2: Send first commandCOMMENT
LOWtest-listener-bug.js117 // Step 3: First read_process_output (this might break listeners with removeAllListeners)COMMENT
LOWtest-listener-bug.js126 // Step 4: Send second command WITHOUT waiting (so output stays in buffer)COMMENT
LOWtest-listener-bug.js139 // Step 5: Second read_process_output (THIS WILL FAIL if listeners were removed)COMMENT
LOWscripts/validate-tools-sync.js70 // Step 1: Send initialize requestCOMMENT
LOWscripts/validate-tools-sync.js89 // Step 2: Send tools/list requestCOMMENT
LOWsrc/utils/dockerPrompt.ts13 // Step 1: Check if client is Docker MCP GatewayCOMMENT
LOWsrc/utils/dockerPrompt.ts17 // Step 2: Check if this is their first or second command (0 or 1 total calls)COMMENT
LOWsrc/remote-device/device-authenticator.ts46 // Step 1: Request device codeCOMMENT
LOWsrc/remote-device/device-authenticator.ts49 // Step 2: Display user instructions and open browserCOMMENT
LOWsrc/remote-device/device-authenticator.ts52 // Step 3: Poll for authorizationCOMMENT
Cross-Language Confusion (JS/TS)4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtest/enhanced-repl-example.js59 print(greet(f"Guest {i+1}"))CODE
HIGHtest/repl-via-terminal-example.js60 print(greet(f"Guest {i+1}"))CODE
HIGHtest/test-enhanced-repl.js103 print(greet(f"Guest {i+1}"))`;CODE
HIGHtest/test-search-code.js133 print("This is a python function")CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/tools/pdf/extract-images.ts97 // Ignore conversion errors as requestedCOMMENT
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtest/repro/test-read-abort-frees-thread.js1// Demonstration: runWithAbortableTimeout actually CANCELS the underlying readCOMMENT
LOWsrc/ui/file-preview/src/markdown/editor.ts61 * restoration converts back to the literal `\|` in the output. */COMMENT
LOWsrc/ui/file-preview/src/markdown/editor.ts221 // restore — same shape, different schema-level reason for needing it.COMMENT
LOWsrc/ui/file-preview/src/markdown/editor.ts241 // Tiptap's HTML output path HTML-escapes bare `<` characters inCOMMENT
LOWsrc/ui/file-preview/src/markdown/editor.ts261 // bullet is emitted as `- `. If the source used `*` (or a mix), we'dCOMMENT
LOWsrc/ui/file-preview/src/markdown/editor.ts501 // Quick check: if no candidate escapes are even present in thisCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWinstall.sh16# Check if Node.js is installedCOMMENT
LOWinstall-docker.sh79# Check if Docker is availableCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/utils/capture.ts177 // Is MCP running in a container - use robust detectionCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/command-manager.ts156 // Don't forget to add the last commandCOMMENT