AI Slop Code RIsk Monitor

CursorTouch/Windows-MCP

MCP Server for Computer Use in Windows

37.1 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for CursorTouch/Windows-MCP, a Python project with 8,642 GitHub stars. SynthScan examined 41,607 lines of code across 155 source files, recording 1150 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 37.1 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

37.1
Adjusted Signal
37.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
8.6K
Stars
Python
Language
41.6K
Lines of Code
155
Files
1.1K
Pattern Hits
2026-10-12
Scan Date
0.43
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 60.5/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 741 finding(s).

Hallucinated Dependency & Supply Chain Risk 10.8/100 · LOW

Are imports declared and package/API names verified? 99 finding(s).

Agent Over-Engineering Ratio 80.5/100 · CRITICAL

Are wrappers, guards, and repeated structures necessary? 981 finding(s).

PR Review Velocity Impact 85.2/100 · CRITICAL

Which changes need focused human review? 1150 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 66MEDIUM 54LOW 1030

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1150 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers582 hits · 638 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md224def test_click_tool_validates_coordinates():CODE
LOWtests/test_watchdog_backoff.py51 def test_immediate_degradation_escalates(self, watchdog, monkeypatch):CODE
LOWtests/test_watchdog_backoff.py79 def test_exception_path_still_backs_off(self, watchdog, monkeypatch):CODE
LOWtests/test_watchdog_backoff.py94 def test_a_run_that_lasted_resets_the_backoff(self, watchdog, monkeypatch):CODE
LOWtests/test_watchdog_backoff.py111 def test_stopping_does_not_wait(self, watchdog, monkeypatch):CODE
LOWtests/test_watchdog_backoff.py121 def test_every_cycle_gets_a_fresh_client_and_clean_counters(self, watchdog, monkeypatch):CODE
LOW⚡tests/test_registry.py14 def test_single_quote_escaping(self):CODE
LOW⚡tests/test_registry.py17 def test_double_quotes_not_escaped(self):CODE
LOW⚡tests/test_registry.py20 def test_dollar_sign_not_expanded(self):CODE
LOWtests/test_registry.py45 def test_command_uses_ps_quote(self):CODE
LOWtests/test_registry.py78 def test_creates_key_if_missing(self):CODE
LOWtests/test_registry.py104 def test_delete_value_failure(self):CODE
LOW⚡tests/test_watchdog_toggle.py23 def test_disabling_and_unrecognised_values_stay_off(self, monkeypatch, value):CODE
LOW⚡tests/test_watchdog_toggle.py32 def test_enabling_values_turn_it_on(self, monkeypatch, value):CODE
LOW⚡tests/test_watchdog_toggle.py36 def test_manifest_boolean_maps_through(self, monkeypatch):CODE
LOW⚡tests/test_cli_legacy_flags.py17def test_legacy_serve_flags_at_group_level_get_migration_hint(args, suggestion):CODE
LOW⚡tests/test_cli_legacy_flags.py26def test_serve_options_still_work_on_serve_subcommand_help():CODE
LOW⚡tests/test_cli_legacy_flags.py33def test_install_options_are_not_blocked_by_legacy_filter(monkeypatch, tmp_path):CODE
LOWtests/test_cli_legacy_flags.py52def test_group_help_still_renders():CODE
LOWtests/test_cli_legacy_flags.py59def test_bare_group_still_reports_missing_command():CODE
LOW⚡tests/test_filesystem_views.py58 def test_to_string_with_extension(self):CODE
LOW⚡tests/test_filesystem_views.py63 def test_to_string_without_extension(self):CODE
LOW⚡tests/test_filesystem_views.py67 def test_to_string_with_contents(self):CODE
LOW⚡tests/test_filesystem_views.py72 def test_to_string_without_contents(self):CODE
LOW⚡tests/test_filesystem_views.py76 def test_to_string_with_link_target(self):CODE
LOWtests/test_filesystem_views.py105 def test_relative_path_override(self):CODE
LOWtests/test_tree_views.py19 def test_get_center_zero_size(self):CODE
LOWtests/test_tree_views.py25 def test_get_center_negative_coords(self):CODE
LOWtests/test_tree_views.py37 def test_convert_xywh_to_xyxy(self, sample_bounding_box):CODE
LOWtests/test_tree_views.py41 def test_from_bounding_rectangle(self):CODE
LOW⚡tests/test_tree_views.py64 def test_interactive_elements_to_string_empty(self):CODE
LOW⚡tests/test_tree_views.py68 def test_truncated_appends_note_to_interactive_elements(CODE
LOW⚡tests/test_tree_views.py78 def test_truncated_appends_note_to_scrollable_elements(CODE
LOW⚡tests/test_tree_views.py85 def test_not_truncated_omits_note(self, sample_tree_element_node: TreeElementNode) -> None:CODE
LOW⚡tests/test_tree_views.py90 def test_truncated_with_no_elements_still_shows_note(self) -> None:CODE
LOW⚡tests/test_tree_views.py95 def test_truncated_appends_note_to_semantic_tree(self) -> None:CODE
LOW⚡tests/test_tree_views.py104 def test_semantic_tree_not_truncated_omits_note(self) -> None:CODE
LOW⚡tests/test_tree_views.py110 def test_interactive_elements_to_string_with_elements(CODE
LOWtests/test_tree_views.py123 def test_interactive_elements_preserve_order(CODE
LOWtests/test_tree_views.py143 def test_scrollable_elements_to_string_empty(self):CODE
LOWtests/test_tree_views.py147 def test_scrollable_elements_to_string_with_elements(CODE
LOWtests/test_tree_views.py164 def test_scrollable_elements_are_independent_from_interactive_count(CODE
LOWtests/conftest.py42def sample_scroll_element_node(sample_bounding_box, sample_center):CODE
LOWtests/test_control_input.py21def test_type_stops_before_next_character_after_preemption(monkeypatch):CODE
LOWtests/test_control_input.py37def test_drag_releases_its_mouse_button_after_preemption(monkeypatch):CODE
LOWtests/test_control_input.py60def test_ai_hold_is_released_if_press_raises_after_injection():CODE
LOWtests/test_control_input.py74def test_ai_hold_defers_up_only_when_physical_down_reached_app():CODE
LOWtests/test_control_input.py83def test_fail_open_blocks_new_press_and_clears_before_notification():CODE
LOWtests/test_control_input.py100def test_fail_open_wakes_existing_watchdog_to_release_ai_hold(monkeypatch):CODE
LOWtests/test_control_input.py123def test_fail_open_releases_before_slow_health_probe(monkeypatch):CODE
LOWtests/test_control_input.py158def test_takeover_after_checkpoint_blocks_new_ai_down(monkeypatch):CODE
LOWtests/test_control_input.py177def test_takeover_between_checkpoint_and_press_injects_no_down(monkeypatch, action):CODE
LOWtests/test_control_input.py208def test_new_lease_reenables_ledger_after_cancelled_mouse_candidate():CODE
LOWtests/test_control_input.py227def test_release_waits_for_inflight_press_then_clears_hold():CODE
LOWtests/test_control_input.py253def test_release_all_attempts_other_holds_after_one_failure():CODE
LOWtests/test_control_input.py268def test_recovery_requires_ledger_clear_health_and_interactive_desktop(monkeypatch):CODE
LOWtests/test_control_input.py296def test_preemption_reports_executed_steps():CODE
LOWtests/test_iserror_compliance.py38def test_shell_tool_error_is_error_true(monkeypatch, mcp):CODE
LOWtests/test_iserror_compliance.py55def test_clipboard_tool_error_is_error_true(monkeypatch, mcp):CODE
LOWtests/test_iserror_compliance.py72def test_registry_tool_error_is_error_true(monkeypatch, mcp):CODE
522 more matches not shown…
Empty Error Handlers55 hits · 275 pts
SeverityFileLineSnippetContext
HIGHsrc/windows_mcp/tree/service.py1077except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py262except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py838except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py533except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py402except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py409except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py628except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py642except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py651except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py662except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py694except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py708except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py714except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py720except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py726except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py735except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py749except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py687except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py588except Exception:CODE
HIGHsrc/windows_mcp/tree/service.py602except Exception:CODE
HIGHsrc/windows_mcp/tools/control_notifications.py64except asyncio.CancelledError:CODE
HIGHsrc/windows_mcp/tools/control_notifications.py197except Exception:CODE
HIGHsrc/windows_mcp/tools/scrape.py70except Exception:CODE
HIGHsrc/windows_mcp/vdm/core.py387except Exception:CODE
HIGHsrc/windows_mcp/desktop/service.py826except Exception:CODE
HIGHsrc/windows_mcp/desktop/service.py1081except Exception:CODE
HIGHsrc/windows_mcp/desktop/service.py841except Exception:CODE
HIGHsrc/windows_mcp/desktop/control.py400except Exception:CODE
HIGHsrc/windows_mcp/desktop/control.py184except Exception:CODE
HIGHsrc/windows_mcp/desktop/control_ledger.py51except Exception:CODE
HIGHsrc/windows_mcp/desktop/flash_overlay.py576except Exception:CODE
HIGHsrc/windows_mcp/desktop/flash_overlay.py581except Exception:CODE
HIGHsrc/windows_mcp/filesystem/service.py305except PermissionError:CODE
HIGHsrc/windows_mcp/powershell/service.py58except OSError:CODE
HIGHsrc/windows_mcp/powershell/utils.py148except subprocess.TimeoutExpired:CODE
HIGHsrc/windows_mcp/watchdog/service.py281except Exception:CODE
HIGHsrc/windows_mcp/watchdog/service.py293except Exception:CODE
HIGHsrc/windows_mcp/watchdog/service.py306except Exception:CODE
HIGHsrc/windows_mcp/uia/controls.py1169except comtypes.COMError:CODE
HIGHsrc/windows_mcp/uia/controls.py6117except comtypes.COMError:CODE
HIGHsrc/windows_mcp/uia/patterns.py419except Exception:CODE
HIGHsrc/windows_mcp/uia/patterns.py434except Exception:CODE
HIGHsrc/windows_mcp/uia/events.py42except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py664except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py674except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py703except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py726except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py1760except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py65except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py680except Exception:CODE
HIGHsrc/windows_mcp/uia/core.py1779except Exception:CODE
HIGHsrc/windows_mcp/uia/comtypes_cache.py78except OSError:CODE
HIGHsrc/windows_mcp/uia/comtypes_cache.py106except OSError:CODE
HIGHsrc/windows_mcp/infrastructure/eventloop.py79except OSError:CODE
HIGHsrc/windows_mcp/infrastructure/analytics.py192except Exception:CODE
Decorative Section Separators50 hits · 180 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_screenshot_capture.py45# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py47# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py97# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py99# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py121# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py123# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py252# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py254# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py326# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py328# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py407# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_screenshot_capture.py409# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_screenshot_capture.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_screenshot_capture.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/ia2.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/ia2.py77# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/tree/ia2.py181# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/tree/ia2.py183# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/ia2.py207# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/ia2.py209# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/tree/ia2.py279# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/tree/ia2.py281# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/ia2.py414# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/ia2.py416# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/views.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/tree/views.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/flash_overlay.py135# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/flash_overlay.py137# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/flash_overlay.py305# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/flash_overlay.py307# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/flash_overlay.py349# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/flash_overlay.py351# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/desktop/flash_overlay.py482# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/desktop/flash_overlay.py484# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/desktop/screenshot.py23# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡src/windows_mcp/desktop/screenshot.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/screenshot.py65# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/screenshot.py67# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/screenshot.py274# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/screenshot.py276# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/screenshot.py322# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/desktop/screenshot.py324# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py68# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py275# ---------------------------------------------------------------------------COMMENT
MEDIUMsrc/windows_mcp/infrastructure/oauth.py277# ---------------------------------------------------------------------------COMMENT
Excessive Try-Catch Wrapping167 hits · 167 pts
SeverityFileLineSnippetContext
LOWsrc/windows_mcp/__main__.py241 except Exception:CODE
LOWsrc/windows_mcp/__main__.py287 except Exception:CODE
LOWsrc/windows_mcp/__main__.py831 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py588 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py594 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py602 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py708 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py714 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py720 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py726 except Exception:CODE
LOW⚡src/windows_mcp/tree/service.py735 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py67 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py158 except Exception as e:CODE
LOWsrc/windows_mcp/tree/service.py262 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py286 except Exception as e:CODE
LOWsrc/windows_mcp/tree/service.py290 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py383 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py402 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py409 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py533 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py569 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py628 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py642 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py651 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py662 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py687 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py694 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py749 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py838 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py874 except Exception:CODE
LOWsrc/windows_mcp/tree/service.py904 except Exception as e:CODE
LOWsrc/windows_mcp/tree/service.py1003 except Exception as e:CODE
LOWsrc/windows_mcp/tree/service.py1058 except Exception as e:CODE
LOWsrc/windows_mcp/tree/service.py1077 except Exception:CODE
LOWsrc/windows_mcp/tree/cache_utils.py150 except Exception as e:CODE
LOWsrc/windows_mcp/tree/cache_utils.py201 except Exception as e:CODE
LOWsrc/windows_mcp/tree/cache_utils.py209 except Exception as fallback_error:CODE
LOWsrc/windows_mcp/tools/control_notifications.py157 except Exception:CODE
LOWsrc/windows_mcp/tools/control_notifications.py192 except Exception:CODE
LOWsrc/windows_mcp/tools/control_notifications.py197 except Exception:CODE
LOWsrc/windows_mcp/tools/control_notifications.py234 except Exception as exc:CODE
LOWsrc/windows_mcp/tools/control_notifications.py254 except Exception as exc:CODE
LOWsrc/windows_mcp/tools/registry.py50 except Exception as e:CODE
LOWsrc/windows_mcp/tools/notification.py44 except Exception as e:CODE
LOWsrc/windows_mcp/tools/filesystem.py80 except Exception as e:CODE
LOWsrc/windows_mcp/tools/shell.py26 except Exception as e:CODE
LOWsrc/windows_mcp/tools/multi.py48 except Exception as e:CODE
LOWsrc/windows_mcp/tools/multi.py100 except Exception as e:CODE
LOWsrc/windows_mcp/tools/input.py31 except Exception as e:CODE
LOWsrc/windows_mcp/tools/process.py41 except Exception as e:CODE
LOWsrc/windows_mcp/tools/clipboard.py51 except Exception as e:CODE
LOWsrc/windows_mcp/tools/scrape.py70 except Exception:CODE
LOWsrc/windows_mcp/tools/snapshot.py61 except Exception as e:CODE
LOWsrc/windows_mcp/tools/snapshot.py107 except Exception as e:CODE
LOWsrc/windows_mcp/vdm/core.py116except Exception:CODE
LOWsrc/windows_mcp/vdm/core.py387 except Exception:CODE
LOW⚡src/windows_mcp/vdm/core.py404 except Exception as e:CODE
LOW⚡src/windows_mcp/vdm/core.py408 except Exception as e:CODE
LOW⚡src/windows_mcp/vdm/core.py419 except Exception:CODE
LOWsrc/windows_mcp/vdm/core.py431 except Exception:CODE
107 more matches not shown…
Unused Imports98 hits · 93 pts
SeverityFileLineSnippetContext
LOWtests/test_wait_for_tool.py1CODE
LOWtests/test_config_validation.py1CODE
LOWtests/test_filesystem_service.py1CODE
LOWtests/test_filesystem_service.py3CODE
LOWtests/test_control_mcp_gate.py3CODE
LOWscripts/check_versions.py32CODE
LOWsrc/windows_mcp/tree/service.py1CODE
LOWsrc/windows_mcp/tree/service.py99CODE
LOWsrc/windows_mcp/tree/budget.py12CODE
LOWsrc/windows_mcp/tree/cache_utils.py19CODE
LOWsrc/windows_mcp/tree/ia2.py17CODE
LOWsrc/windows_mcp/tree/ia2.py45CODE
LOWsrc/windows_mcp/tree/ia2.py46CODE
LOWsrc/windows_mcp/tree/views.py1CODE
LOWsrc/windows_mcp/tools/control_notifications.py3CODE
LOWsrc/windows_mcp/vdm/__init__.py1CODE
LOWsrc/windows_mcp/vdm/__init__.py1CODE
LOWsrc/windows_mcp/vdm/__init__.py1CODE
LOWsrc/windows_mcp/desktop/control.py7CODE
LOWsrc/windows_mcp/desktop/control.py18CODE
LOWsrc/windows_mcp/desktop/control.py18CODE
LOWsrc/windows_mcp/desktop/control_ledger.py3CODE
LOWsrc/windows_mcp/desktop/control_context.py3CODE
LOWsrc/windows_mcp/filesystem/service.py14CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py1CODE
LOWsrc/windows_mcp/filesystem/__init__.py12CODE
LOWsrc/windows_mcp/filesystem/__init__.py12CODE
LOWsrc/windows_mcp/filesystem/__init__.py12CODE
LOWsrc/windows_mcp/filesystem/__init__.py12CODE
LOWsrc/windows_mcp/filesystem/__init__.py12CODE
LOWsrc/windows_mcp/powershell/__init__.py1CODE
LOWsrc/windows_mcp/watchdog/__init__.py1CODE
LOWsrc/windows_mcp/registry/__init__.py1CODE
LOWsrc/windows_mcp/registry/__init__.py1CODE
LOWsrc/windows_mcp/registry/__init__.py1CODE
LOWsrc/windows_mcp/registry/__init__.py1CODE
LOWsrc/windows_mcp/registry/__init__.py8CODE
LOWsrc/windows_mcp/registry/__init__.py8CODE
LOWsrc/windows_mcp/uia/controls.py14CODE
LOWsrc/windows_mcp/uia/controls.py27CODE
LOWsrc/windows_mcp/uia/controls.py28CODE
LOWsrc/windows_mcp/uia/controls.py30CODE
LOWsrc/windows_mcp/uia/controls.py31CODE
LOWsrc/windows_mcp/uia/controls.py31CODE
LOWsrc/windows_mcp/uia/patterns.py14CODE
LOWsrc/windows_mcp/uia/patterns.py23CODE
LOWsrc/windows_mcp/uia/patterns.py24CODE
LOWsrc/windows_mcp/uia/__init__.py1CODE
LOWsrc/windows_mcp/uia/__init__.py2CODE
LOWsrc/windows_mcp/uia/__init__.py3CODE
LOWsrc/windows_mcp/uia/__init__.py4CODE
LOWsrc/windows_mcp/uia/__init__.py5CODE
LOWsrc/windows_mcp/uia/__init__.py6CODE
38 more matches not shown…
AI Structural Patterns89 hits · 47 pts
SeverityFileLineSnippetContext
LOWsrc/windows_mcp/__main__.py479CODE
LOWsrc/windows_mcp/tree/service.py446CODE
LOWsrc/windows_mcp/tools/filesystem.py25CODE
LOWsrc/windows_mcp/tools/app.py89CODE
LOWsrc/windows_mcp/tools/snapshot.py37CODE
LOWsrc/windows_mcp/desktop/service.py87CODE
LOWsrc/windows_mcp/uia/controls.py227CODE
LOWsrc/windows_mcp/uia/controls.py2213CODE
LOWsrc/windows_mcp/uia/controls.py2244CODE
LOWsrc/windows_mcp/uia/controls.py2275CODE
LOWsrc/windows_mcp/uia/controls.py2306CODE
LOWsrc/windows_mcp/uia/controls.py2337CODE
LOWsrc/windows_mcp/uia/controls.py2368CODE
LOWsrc/windows_mcp/uia/controls.py2399CODE
LOWsrc/windows_mcp/uia/controls.py2430CODE
LOWsrc/windows_mcp/uia/controls.py2461CODE
LOWsrc/windows_mcp/uia/controls.py2492CODE
LOWsrc/windows_mcp/uia/controls.py2523CODE
LOWsrc/windows_mcp/uia/controls.py2554CODE
LOWsrc/windows_mcp/uia/controls.py2585CODE
LOWsrc/windows_mcp/uia/controls.py2616CODE
LOWsrc/windows_mcp/uia/controls.py2647CODE
LOWsrc/windows_mcp/uia/controls.py2678CODE
LOWsrc/windows_mcp/uia/controls.py2709CODE
LOWsrc/windows_mcp/uia/controls.py2740CODE
LOWsrc/windows_mcp/uia/controls.py2771CODE
LOWsrc/windows_mcp/uia/controls.py2802CODE
LOWsrc/windows_mcp/uia/controls.py2833CODE
LOWsrc/windows_mcp/uia/controls.py2864CODE
LOWsrc/windows_mcp/uia/controls.py2895CODE
LOWsrc/windows_mcp/uia/controls.py2926CODE
LOWsrc/windows_mcp/uia/controls.py2957CODE
LOWsrc/windows_mcp/uia/controls.py2988CODE
LOWsrc/windows_mcp/uia/controls.py3019CODE
LOWsrc/windows_mcp/uia/controls.py3050CODE
LOWsrc/windows_mcp/uia/controls.py3081CODE
LOWsrc/windows_mcp/uia/controls.py3112CODE
LOWsrc/windows_mcp/uia/controls.py3143CODE
LOWsrc/windows_mcp/uia/controls.py3174CODE
LOWsrc/windows_mcp/uia/controls.py3205CODE
LOWsrc/windows_mcp/uia/controls.py3236CODE
LOWsrc/windows_mcp/uia/controls.py3267CODE
LOWsrc/windows_mcp/uia/controls.py3298CODE
LOWsrc/windows_mcp/uia/controls.py3329CODE
LOWsrc/windows_mcp/uia/controls.py3360CODE
LOWsrc/windows_mcp/uia/controls.py3391CODE
LOWsrc/windows_mcp/uia/controls.py3422CODE
LOWsrc/windows_mcp/uia/controls.py3453CODE
LOWsrc/windows_mcp/uia/controls.py3486CODE
LOWsrc/windows_mcp/uia/controls.py3522CODE
LOWsrc/windows_mcp/uia/controls.py3576CODE
LOWsrc/windows_mcp/uia/controls.py3636CODE
LOWsrc/windows_mcp/uia/controls.py3685CODE
LOWsrc/windows_mcp/uia/controls.py3796CODE
LOWsrc/windows_mcp/uia/controls.py3832CODE
LOWsrc/windows_mcp/uia/controls.py3892CODE
LOWsrc/windows_mcp/uia/controls.py3970CODE
LOWsrc/windows_mcp/uia/controls.py4024CODE
LOWsrc/windows_mcp/uia/controls.py4078CODE
LOWsrc/windows_mcp/uia/controls.py4120CODE
29 more matches not shown…
Deep Nesting51 hits · 40 pts
SeverityFileLineSnippetContext
LOWsrc/windows_mcp/__main__.py248CODE
LOWsrc/windows_mcp/__main__.py430CODE
LOWsrc/windows_mcp/__main__.py318CODE
LOWsrc/windows_mcp/tree/service.py226CODE
LOWsrc/windows_mcp/tree/service.py361CODE
LOWsrc/windows_mcp/tree/service.py446CODE
LOWsrc/windows_mcp/tree/service.py922CODE
LOWsrc/windows_mcp/tree/cache_utils.py155CODE
LOWsrc/windows_mcp/tools/registry.py12CODE
LOWsrc/windows_mcp/tools/registry.py25CODE
LOWsrc/windows_mcp/tools/clipboard.py10CODE
LOWsrc/windows_mcp/tools/clipboard.py23CODE
LOWsrc/windows_mcp/desktop/service.py62CODE
LOWsrc/windows_mcp/desktop/service.py586CODE
LOWsrc/windows_mcp/desktop/service.py816CODE
LOWsrc/windows_mcp/desktop/service.py1103CODE
LOWsrc/windows_mcp/desktop/service.py1180CODE
LOWsrc/windows_mcp/desktop/control_overlay.py137CODE
LOWsrc/windows_mcp/desktop/control_overlay.py390CODE
LOWsrc/windows_mcp/desktop/control_overlay.py424CODE
LOWsrc/windows_mcp/desktop/control_overlay.py299CODE
LOWsrc/windows_mcp/desktop/control.py452CODE
LOWsrc/windows_mcp/desktop/flash_overlay.py405CODE
LOWsrc/windows_mcp/desktop/flash_overlay.py487CODE
LOWsrc/windows_mcp/desktop/screenshot.py114CODE
LOWsrc/windows_mcp/desktop/control_win32.py253CODE
LOWsrc/windows_mcp/filesystem/service.py86CODE
LOWsrc/windows_mcp/filesystem/service.py147CODE
LOWsrc/windows_mcp/powershell/service.py20CODE
LOWsrc/windows_mcp/powershell/utils.py37CODE
LOWsrc/windows_mcp/watchdog/service.py163CODE
LOWsrc/windows_mcp/uia/controls.py5851CODE
LOWsrc/windows_mcp/uia/controls.py6045CODE
LOWsrc/windows_mcp/uia/controls.py6077CODE
LOWsrc/windows_mcp/uia/controls.py6200CODE
LOWsrc/windows_mcp/uia/controls.py6220CODE
LOWsrc/windows_mcp/uia/controls.py317CODE
LOWsrc/windows_mcp/uia/controls.py1296CODE
LOWsrc/windows_mcp/uia/controls.py1613CODE
LOWsrc/windows_mcp/uia/controls.py1674CODE
LOWsrc/windows_mcp/uia/controls.py1711CODE
LOWsrc/windows_mcp/uia/controls.py3737CODE
LOWsrc/windows_mcp/uia/core.py1485CODE
LOWsrc/windows_mcp/uia/core.py1831CODE
LOWsrc/windows_mcp/uia/core.py1995CODE
LOWsrc/windows_mcp/uia/core.py2022CODE
LOWsrc/windows_mcp/uia/core.py2051CODE
LOWsrc/windows_mcp/uia/core.py2103CODE
LOWsrc/windows_mcp/uia/comtypes_cache.py42CODE
LOWsrc/windows_mcp/uia/comtypes_cache.py113CODE
LOWsrc/windows_mcp/process/service.py51CODE
Modern Structural Boilerplate34 hits · 34 pts
SeverityFileLineSnippetContext
LOWsrc/windows_mcp/paths.py21logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/__main__.py38logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/tree/service.py22logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/tree/budget.py17logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/tree/cache_utils.py22logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/tree/ia2.py26logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/tools/control_notifications.py15logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/tools/_snapshot_helpers.py19logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/tools/snapshot.py16logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/vdm/core.py13logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/desktop/service.py41logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/desktop/control_overlay.py27logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/desktop/control_overlay.py79 def set_opacity(self, opacity: int) -> None:CODE
LOWsrc/windows_mcp/desktop/control.py87 def set_health_probe(self, probe: Callable[[], bool]) -> None:CODE
LOWsrc/windows_mcp/desktop/flash_overlay.py23logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/desktop/utils.py9__all__ = [CODE
LOW⚡src/windows_mcp/desktop/screenshot.py20logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/filesystem/service.py22logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/powershell/service.py15__all__ = ["PowerShellExecutor"]CODE
LOWsrc/windows_mcp/powershell/service.py17logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/powershell/__init__.py3__all__ = [CODE
LOWsrc/windows_mcp/powershell/utils.py8__all__ = [CODE
LOWsrc/windows_mcp/powershell/utils.py14logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/watchdog/service.py20logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/watchdog/event_handlers.py10logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/registry/service.py13logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/infrastructure/__init__.py30__all__ = [CODE
LOWsrc/windows_mcp/infrastructure/eventloop.py7logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/infrastructure/eventloop.py9__all__ = ["install_selfpipe_guard", "SELFPIPE_REBUILD_WARN_AT"]CODE
LOWsrc/windows_mcp/infrastructure/analytics.py16logger = logging.getLogger(__name__)CODE
LOWsrc/windows_mcp/notifications/service.py4__all__ = [CODE
LOWsrc/windows_mcp/notifications/__init__.py3__all__ = [CODE
LOWsrc/windows_mcp/process/service.py4__all__ = ["list_processes", "kill_process"]CODE
LOWsrc/windows_mcp/process/__init__.py6__all__ = ["list_processes", "kill_process"]CODE
Docstring Block Structure6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md156Click on UI elements at specific coordinates. Args: loc: List of [x, y] coordinates to click buSTRING
HIGHsrc/windows_mcp/tree/ia2.py456Walk the IAccessible tree of ``hwnd`` and return DOM-shaped node lists. Used as a fallback for Firefox, whose web DSTRING
HIGHsrc/windows_mcp/desktop/utils.py19Parse a tool argument declared as ``boolean | string`` into a bool. Claude Desktop strips anyOf schemas, so a calleSTRING
HIGHsrc/windows_mcp/uia/comtypes_cache.py43Cross-process lock serializing comtypes.gen cache generation. Args: timeout: Maximum number of seconds to wSTRING
HIGHsrc/windows_mcp/uia/comtypes_cache.py114``comtypes.client.GetModule`` with locking and corrupt-cache recovery. Args: tlib: Type library to generateSTRING
HIGHsrc/windows_mcp/notifications/service.py10Send a Windows toast notification with a title and message. Args: title: The title of the notification. STRING
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsrc/windows_mcp/uia/controls.py0uiautomation for python 3. author: yinkaisheng source: https://github.com/yinkaisheng/python-uiautomation-for-windows thSTRING
HIGHsrc/windows_mcp/uia/enums.py0uiautomation for python 3. author: yinkaisheng source: https://github.com/yinkaisheng/python-uiautomation-for-windows thSTRING
HIGHsrc/windows_mcp/uia/patterns.py0uiautomation for python 3. author: yinkaisheng source: https://github.com/yinkaisheng/python-uiautomation-for-windows thSTRING
HIGHsrc/windows_mcp/uia/core.py0uiautomation for python 3. author: yinkaisheng source: https://github.com/yinkaisheng/python-uiautomation-for-windows thSTRING
Structural Annotation Overuse5 hits · 8 pts
SeverityFileLineSnippetContext
LOW.claude/skills/windows-mcp-tool-tester/SKILL.md35## Step 0: Identify the Target ToolCOMMENT
LOW.claude/skills/windows-mcp-tool-tester/SKILL.md46## Step 1: Analyze the ToolCOMMENT
LOW.claude/skills/windows-mcp-tool-tester/SKILL.md62## Step 2: Generate Test CasesCOMMENT
LOW.claude/skills/windows-mcp-tool-tester/SKILL.md133## Step 3: Execute TestsCOMMENT
LOW.claude/skills/windows-mcp-tool-tester/SKILL.md282## Step 4: Generate the Test ReportCOMMENT
Redundant / Tautological Comments5 hits · 7 pts
SeverityFileLineSnippetContext
LOWsrc/windows_mcp/tree/service.py852 # Check if the child is a DOM elementCOMMENT
LOWsrc/windows_mcp/tree/service.py861 # Check if the child is a dialogCOMMENT
LOWsrc/windows_mcp/tree/cache_utils.py51 # Set scope to cache element and its childrenCOMMENT
LOWsrc/windows_mcp/filesystem/service.py160 # Check if directory is emptyCOMMENT
LOW⚡src/windows_mcp/watchdog/service.py182 # Check if we need to UNREGISTER because configuration changed or disabledCOMMENT
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/windows_mcp/tree/cache_utils.py184 # so our python wrapper would crash. We just use the raw IUIAutomationElement.COMMENT
LOWsrc/windows_mcp/desktop/utils.py86 # If the GUID is not a known folder id, just return the original textCOMMENT
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHtests/test_tree_ia2.py403 """If AccessibleObjectFromWindow returns null, return an empty result."""STRING
Over-Commented Block1 hit · 0 pts
SeverityFileLineSnippetContext
LOWsrc/windows_mcp/desktop/service.py601 returnCOMMENT