winfolio

winfolio

Enables AI assistants to perform comprehensive Windows system health diagnostics, security checks, developer workflows, and maintenance tasks via 85 tools with actionable recommendations, over MCP and OpenAI-compatible HTTP.

Category
访问服务器

README

<div align="center"> <img src="assets/logo.svg" alt="WinFolio MCP" width="480" /> <br /><br /> <p><strong>The most comprehensive Windows system health toolkit for AI assistants.</strong></p> <p> <img src="https://img.shields.io/badge/tools-85-2563eb?style=flat-square" alt="85 tools" /> <img src="https://img.shields.io/badge/platform-Windows_10%2F11-0078D6?style=flat-square&logo=windows" alt="Windows" /> <img src="https://img.shields.io/badge/transport-MCP_%7C_HTTP-10b981?style=flat-square" alt="MCP + HTTP" /> <img src="https://img.shields.io/badge/node-%3E%3D20-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node 20+" /> <img src="https://img.shields.io/badge/license-MIT-yellow?style=flat-square" alt="MIT License" /> <img src="https://img.shields.io/badge/TypeScript-strict-3178c6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript" /> </p> <p> 85 tools covering diagnostics, security, developer workflows, hardware monitoring, networking, and system maintenance — accessible via MCP (Claude, Kiro, Cursor) or OpenAI-compatible HTTP (Ollama, LM Studio, Open WebUI). </p> <p><em>Every tool returns actionable recommendations, not just raw data.</em></p> </div>


Quick Start

# Install dependencies
npm install

# Build
npm run build

# Run in MCP mode (Claude, Kiro, Cursor)
npm start

# Run with write actions enabled
npm run start:actions

# Run as HTTP server for local LLMs
npm run serve

# Check version and tool count
node dist/index.js --version

# List all available tools
node dist/index.js --list-tools

MCP Configuration

Add to your MCP client config (Claude Desktop, Kiro, Cursor):

{
  "mcpServers": {
    "winfolio": {
      "command": "node",
      "args": ["C:/path/to/winfolio-mcp/dist/index.js"]
    }
  }
}

With actions enabled:

{
  "mcpServers": {
    "winfolio": {
      "command": "node",
      "args": ["C:/path/to/winfolio-mcp/dist/index.js", "--allow-actions"]
    }
  }
}

HTTP Mode (OpenAI-Compatible)

npm run serve
# Server starts on http://localhost:7890

# Custom port
node dist/index.js --serve --port=8080

Endpoints:

  • GET / — Server info and tool list
  • GET /v1/tools — Tools in OpenAI function-calling format
  • POST /v1/tools/:name — Invoke a tool directly
  • POST /v1/chat/completions — OpenAI-compatible chat with auto tool routing

Tools (85 total)

Core Diagnostics (7)

Tool Description
system_overview CPU, RAM, uptime, OS version with health recommendations
top_processes Top CPU/memory consumers with resource hog detection
port_check Listening ports with conflict detection for dev ports
services_status Windows services health, critical service monitoring
event_log_errors Recent errors with plain-English explanations
disk_usage Drive space analysis with cleanup suggestions
startup_programs Boot programs with safe-to-disable recommendations

System & OS (4)

Tool Description
windows_license Activation status, edition, license type
virtual_memory Page file config, commit charge, swap analysis
time_sync NTP server, clock skew, W32Time service
system_errors Categorized critical/error events (disk, driver, network, etc.)

Hardware (6)

Tool Description
gpu_status GPU model, VRAM, driver version, utilization
battery_status Charge, health %, cycle count, time remaining
thermal_status CPU/system temperatures, overheat detection
ram_details DIMM slots, speed, type, upgrade potential
bios_info UEFI/BIOS version, Secure Boot, TPM status
display_info Monitors, resolution, refresh rate, scaling

Networking (9)

Tool Description
network_info Adapters, IP, DNS, gateway, public IP
wifi_networks Visible networks, signal strength, saved profiles
active_connections TCP connections grouped by process (netstat)
hosts_file Hosts entries with suspicious redirect detection
vpn_status Connected VPNs, third-party adapter detection
proxy_settings System proxy, WPAD, env var proxies
network_speed Adapter link speeds, throughput stats
bluetooth_devices Paired devices, battery levels, connection status
audio_devices Playback/recording devices, status

Storage & Cleanup (2)

Tool Description
large_files Find biggest files on disk by size
duplicate_files Find identical files wasting space (MD5 hash)

Performance & Troubleshooting (4)

Tool Description
memory_leaks Detect processes with growing memory, excessive handles
crash_dumps BSOD minidumps, app crashes, crash frequency
pending_reboots Check all reboot-required flags
slow_boot_analysis Boot time phases, slow startup items

Security (7)

Tool Description
firewall_status Profile states, rules count, recent blocks
defender_status Real-time protection, definitions, threats
open_shares SMB shares with permission audit
user_accounts Local accounts, admin audit, password age
bitlocker_status Drive encryption status per volume
exploit_protection DEP, ASLR, CFG, HVCI, Credential Guard
privacy_settings Telemetry, advertising ID, location, camera/mic

Developer Tools (12)

Tool Description
dev_environments Installed SDKs (Node, Python, .NET, Java, Go, Rust)
git_repos Repos with uncommitted/unpushed changes
npm_global_packages Global packages, deprecated detection
vscode_extensions Extensions with heavy/deprecated flagging
ssh_keys Key inventory, passphrase audit, agent status
wsl_disk_usage WSL VHD sizes, compaction recommendations
localhost_servers Dev ports scan (what's running locally)
dotnet_sdks .NET SDK/runtime versions, global.json verification
docker_status Containers, images, daemon status
wsl_status Distros, versions, running state
installed_software Programs with bloatware detection
environment_variables PATH analysis, key env vars

Maintenance (8)

Tool Description
windows_updates Pending updates, history, auto-update health
scheduled_tasks Non-system tasks, failed task detection
windows_features Optional features (Hyper-V, WSL, IIS, Sandbox)
startup_impact Startup items with boot impact rating
driver_issues Missing/failed/outdated drivers
windows_search Indexer status, index size
certificate_store Expiring/expired SSL certs
system_restore_points Restore points, age, creation triggers

Monitoring (2)

Tool Description
uptime_history Boot/shutdown events, stability score
performance_baseline Snapshot and compare system metrics over time

Workflow & Productivity (3)

Tool Description
clipboard_history Current clipboard, history entries
recent_files Recently accessed files with search
power_plan Active plan, throttle detection

Automation (2)

Tool Description
powershell_profile Profile load time, module imports audit
startup_services Auto-start services, failed detection

Additional Diagnostics (5)

Tool Description
font_list Installed fonts with search
usb_devices Connected USB peripherals and drives
disk_health S.M.A.R.T. data, wear level, drive failure prediction
screen_recording Detect active recording/sharing software
task_manager_summary All-in-one CPU/RAM/Disk/Network/GPU snapshot

Integrations (2)

Tool Description
ollama_models Local Ollama model inventory
system_report Generate full Markdown health report

Write Actions (12, require --allow-actions)

Tool Description
kill_process Terminate a process by PID or name
restart_service Restart/start/stop a Windows service
free_port Kill the process holding a port
clear_temp_files Delete temp files to free space
flush_dns Clear DNS resolver cache
empty_recycle_bin Permanently delete Recycle Bin contents
toggle_dark_mode Switch Windows dark/light theme
restart_computer Schedule a system restart
disable_startup_item Disable a startup program
create_restore_point Create a System Restore point
set_power_plan Switch power plan (Balanced/High Performance/etc.)
toast_notify Send a native Windows notification

Architecture

src/
  index.ts              — Entry point, CLI flags, MCP/HTTP transport selection
  powershell.ts         — AV-safe PowerShell executor (temp .ps1 files)
  http-server.ts        — Hono-based OpenAI-compatible HTTP server
  tools/
    registry.ts         — Unified tool registry (both transports consume this)
    *.ts                — Individual tool implementations

Key design decisions:

  • AV-safe execution: PowerShell scripts written to temp .ps1 files and run with -File flag (not -EncodedCommand which triggers antivirus heuristics)
  • Unified registry: Single tool definition consumed by both MCP and HTTP transports
  • Graceful degradation: Tools detect when features aren't available (Docker not installed, no WiFi adapter, etc.) and return helpful messages instead of errors
  • Actionable recommendations: Every tool returns not just data but what to do about it
  • Gated write actions: Dangerous operations require explicit --allow-actions flag

CLI Flags

Flag Description
--serve Start HTTP server instead of MCP stdio
--port=N HTTP server port (default: 7890)
--allow-actions Enable write action tools
--version, -v Print version and tool count
--list-tools Print all tools with descriptions

Requirements

  • Windows 10/11
  • Node.js 20+
  • PowerShell 5.1+ (ships with Windows)

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选