feat: implement v2.0-v2.2 -- 19 new tools (63 total) #64

Merged
jmiller merged 6 commits from dev into main 2026-05-26 04:01:40 +00:00
Owner

Summary

  • 19 new tools across 9 source modules, bringing the total to 63 tools
  • v2.0: Bluetooth, Wi-Fi, USB, printers, hosts file management
  • v2.1: Theme/dark mode, virtual desktops, focus assist, default apps
  • v2.2: Firewall rules, Windows Update, event logs, restore points, certificates, performance monitoring

Milestones

Milestone New Tools Modules
v2.0 Connectivity & Hardware 7 bluetooth, wifi, usb, printer, hosts
v2.1 Appearance & Desktop 5 theme (4 tools), virtual_desktop
v2.2 Security & Maintenance 7 firewall (2), maintenance (5)

Test Results

  • v2 tools: 17/17 passed, 0 failed
  • 11 destructive/interactive actions verified by code review

Notable Implementation Details

  • Wi-Fi scanning uses netsh wlan (universal availability)
  • Virtual desktops use keybd_event P/Invoke (no public Windows API)
  • Certificate listing uses .NET X509Store (Cert: PSDrive unavailable in NonInteractive)
  • Theme control is registry-based with SystemParametersInfo for wallpaper

Generated with Claude Code

## Summary - 19 new tools across 9 source modules, bringing the total to 63 tools - v2.0: Bluetooth, Wi-Fi, USB, printers, hosts file management - v2.1: Theme/dark mode, virtual desktops, focus assist, default apps - v2.2: Firewall rules, Windows Update, event logs, restore points, certificates, performance monitoring ## Milestones | Milestone | New Tools | Modules | |-----------|-----------|---------| | v2.0 Connectivity & Hardware | 7 | bluetooth, wifi, usb, printer, hosts | | v2.1 Appearance & Desktop | 5 | theme (4 tools), virtual_desktop | | v2.2 Security & Maintenance | 7 | firewall (2), maintenance (5) | ## Test Results - v2 tools: 17/17 passed, 0 failed - 11 destructive/interactive actions verified by code review ## Notable Implementation Details - Wi-Fi scanning uses netsh wlan (universal availability) - Virtual desktops use keybd_event P/Invoke (no public Windows API) - Certificate listing uses .NET X509Store (Cert: PSDrive unavailable in NonInteractive) - Theme control is registry-based with SystemParametersInfo for wallpaper Generated with [Claude Code](https://claude.com/claude-code)
jmiller added 6 commits 2026-05-26 03:59:57 +00:00
chore: cascade main → dev [skip ci]
chore: cascade main → dev [skip ci]
chore: cascade main → dev [skip ci]
feat: implement v2.0 connectivity & hardware tools (7 new tools)
Generic: Repo Health / Access control (push) Successful in 2s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
a2922eca6b
- tools/bluetooth.ts: windows_bluetooth_get, _control (#45, #46)
- tools/wifi.ts: windows_wifi_networks, _connect (#47, #48)
- tools/usb.ts: windows_usb_devices with safe eject (#49)
- tools/printer.ts: windows_printer_list with queue/default/clear (#50)
- tools/hosts.ts: windows_hosts_file list/add/remove/enable/disable (#51)

Total: 51 tools registered

Authored-by: Moko Consulting
feat: implement v2.1 appearance + v2.2 security/maintenance (12 new tools)
Generic: Repo Health / Access control (push) Successful in 6s
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
f996c7a788
v2.1 — Appearance & Desktop:
- tools/theme.ts: windows_theme_get, _set, _focus_mode, _default_apps (#52-56)
- tools/virtual_desktop.ts: windows_virtual_desktop (#54)

v2.2 — Security & Maintenance:
- tools/firewall.ts: windows_firewall_get, _manage (#57, #58)
- tools/maintenance.ts: windows_updates, _event_log, _restore_point,
  _certificate_list, _performance_monitor (#59-63)

Total: 63 tools registered (v1.0-v1.4 + v2.0-v2.2 complete)

Authored-by: Moko Consulting
fix: resolve v2 test failures — printer timeout, cert store, restore point
Generic: Repo Health / Access control (push) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Generic: Repo Health / Access control (pull_request) Successful in 2s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 6s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 11s
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 6s
Universal: PR Check / Changelog Updated (pull_request) Failing after 8s
Universal: PR Check / Validate PR (pull_request) Failing after 8s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 10s
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 5s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 5s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 8s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 4s
MCP: Build & Validate / build (20) (pull_request) Failing after 14s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 3s
MCP: Build & Validate / build (22) (pull_request) Failing after 15s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 5s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 6s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 7s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 6s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 7s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 10s
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 9s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 7s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 8s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 8s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 7s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 7s
Universal: Auto-Assign / Assign unassigned issues and PRs (pull_request_target) Successful in 2s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 6s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 10s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 1m6s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 1m10s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 1m11s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 1m5s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 58s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 1m1s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 1m10s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 1m37s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m40s
MCP: Standards Compliance / Compliance Summary (pull_request) Failing after 3s
Universal: CodeQL Analysis / Security Scan Summary (pull_request) Successful in 3s
Generic: Repo Health / Scripts governance (pull_request) Successful in 6s
Generic: Repo Health / Release configuration (pull_request) Failing after 7s
Generic: Repo Health / Release configuration (push) Failing after 7s
Generic: Repo Health / Repository health (pull_request) Failing after 7s
Generic: Repo Health / Scripts governance (push) Successful in 9s
Generic: Repo Health / Repository health (push) Failing after 6s
2b01be20e3
- printer.ts: increase WMI timeout to 45s (Win32_Printer query is slow)
- maintenance.ts: use .NET X509Store API instead of Cert: PSDrive (not
  available in -NonInteractive mode)
- maintenance.ts: improve restore point error handling (access denied = needs
  elevation, not a crash)

Test results: 17/17 v2 tools passed

Authored-by: Moko Consulting
jmiller merged commit fcc05a2b5d into main 2026-05-26 04:01:40 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/mcp-windows#64