Skip to main content
Glama

快速开始

# 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

Related MCP server: WinScript

MCP 配置

添加到你的 MCP 客户端配置(Claude Desktop、Kiro、Cursor):

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

启用操作后:

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

HTTP 模式(兼容 OpenAI)

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

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

端点:

  • GET / — 服务器信息与工具列表

  • GET /v1/tools — 以 OpenAI 函数调用格式列出的工具

  • POST /v1/tools/:name — 直接调用工具

  • POST /v1/chat/completions — 兼容 OpenAI 的聊天,支持自动工具路由

工具(共 85 个)

核心诊断(7 个)

工具

描述

system_overview

CPU、内存、运行时间、操作系统版本及健康建议

top_processes

CPU/内存占用最高的进程,并检测资源占用大户

port_check

监听端口,检测开发端口冲突

services_status

Windows 服务健康状态,关键服务监控

event_log_errors

最近的错误及通俗易懂的解释

disk_usage

磁盘空间分析及清理建议

startup_programs

开机启动程序及可安全禁用的建议

系统与操作系统(4 个)

工具

描述

windows_license

激活状态、版本、许可证类型

virtual_memory

页面文件配置、提交内存、交换分析

time_sync

NTP 服务器、时钟偏差、W32Time 服务

system_errors

分类的关键/错误事件(磁盘、驱动、网络等)

硬件(6 个)

工具

描述

gpu_status

GPU 型号、显存、驱动版本、利用率

battery_status

电量、健康百分比、循环次数、剩余时间

thermal_status

CPU/系统温度,过热检测

ram_details

内存插槽、速度、类型、升级潜力

bios_info

UEFI/BIOS 版本、安全启动、TPM 状态

display_info

显示器、分辨率、刷新率、缩放

网络(9 个)

工具

描述

network_info

适配器、IP、DNS、网关、公网 IP

wifi_networks

可见网络、信号强度、已保存的配置文件

active_connections

按进程分组的 TCP 连接(netstat)

hosts_file

Hosts 条目及可疑重定向检测

vpn_status

已连接的 VPN,第三方适配器检测

proxy_settings

系统代理、WPAD、环境变量代理

network_speed

适配器链路速度、吞吐量统计

bluetooth_devices

已配对设备、电池电量、连接状态

audio_devices

播放/录音设备、状态

存储与清理(2 个)

工具

描述

large_files

按大小查找磁盘上最大的文件

duplicate_files

查找浪费空间的相同文件(MD5 哈希)

性能与故障排除(4 个)

工具

描述

memory_leaks

检测内存持续增长、句柄过多的进程

crash_dumps

蓝屏小型转储、应用崩溃、崩溃频率

pending_reboots

检查所有需要重启的标志

slow_boot_analysis

启动时间阶段、启动缓慢的项目

安全(7 个)

工具

描述

firewall_status

配置文件状态、规则数量、最近的阻止记录

defender_status

实时保护、定义、威胁

open_shares

SMB 共享及权限审计

user_accounts

本地账户、管理员审计、密码期限

bitlocker_status

每个卷的驱动器加密状态

exploit_protection

DEP、ASLR、CFG、HVCI、Credential Guard

privacy_settings

遥测、广告 ID、位置、摄像头/麦克风

开发者工具(12 个)

工具

描述

dev_environments

已安装的 SDK(Node、Python、.NET、Java、Go、Rust)

git_repos

有未提交/未推送更改的仓库

npm_global_packages

全局包,弃用检测

vscode_extensions

扩展,标记重量级/已弃用

ssh_keys

密钥清单、口令审计、代理状态

wsl_disk_usage

WSL VHD 大小、压缩建议

localhost_servers

开发端口扫描(本地正在运行的内容)

dotnet_sdks

.NET SDK/运行时版本、global.json 验证

docker_status

容器、镜像、守护进程状态

wsl_status

发行版、版本、运行状态

installed_software

程序及预装软件检测

environment_variables

PATH 分析、关键环境变量

维护(8 个)

工具

描述

windows_updates

待安装更新、历史记录、自动更新健康状态

scheduled_tasks

非系统任务、失败任务检测

windows_features

可选功能(Hyper-V、WSL、IIS、Sandbox)

startup_impact

启动项及启动影响评级

driver_issues

缺失/失败/过时的驱动程序

windows_search

索引器状态、索引大小

certificate_store

即将过期/已过期的 SSL 证书

system_restore_points

还原点、时间、创建触发条件

监控(2 个)

工具

描述

uptime_history

启动/关机事件、稳定性评分

performance_baseline

快照并随时间比较系统指标

工作流与生产力(3 个)

工具

描述

clipboard_history

当前剪贴板、历史条目

recent_files

最近访问的文件,支持搜索

power_plan

当前电源计划、节流检测

自动化(2 个)

工具

描述

powershell_profile

配置文件加载时间、模块导入审计

startup_services

自动启动服务、失败检测

附加诊断(5 个)

工具

描述

font_list

已安装的字体,支持搜索

usb_devices

已连接的 USB 外设和驱动器

disk_health

S.M.A.R.T. 数据、磨损程度、驱动器故障预测

screen_recording

检测正在录屏/共享的软件

task_manager_summary

CPU/内存/磁盘/网络/GPU 一体化快照

集成(2 个)

工具

描述

ollama_models

本地 Ollama 模型清单

system_report

生成完整的 Markdown 健康报告

写入操作(12 个,需要 --allow-actions

工具

描述

kill_process

按 PID 或名称终止进程

restart_service

重启/启动/停止 Windows 服务

free_port

终止占用端口的进程

clear_temp_files

删除临时文件以释放空间

flush_dns

清除 DNS 解析器缓存

empty_recycle_bin

永久删除回收站内容

toggle_dark_mode

切换 Windows 深色/浅色主题

restart_computer

计划系统重启

disable_startup_item

禁用启动程序

create_restore_point

创建系统还原点

set_power_plan

切换电源计划(平衡/高性能等)

toast_notify

发送原生 Windows 通知

架构

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

关键设计决策:

  • 防病毒安全执行:PowerShell 脚本写入临时 .ps1 文件,并使用 -File 标志运行(而非会触发防病毒启发式检测的 -EncodedCommand

  • 统一注册表:单一工具定义,同时供 MCP 和 HTTP 传输使用

  • 优雅降级:工具会检测功能不可用的情况(未安装 Docker、没有 WiFi 适配器等),并返回有用的提示信息而非错误

  • 可操作的建议:每个工具不仅返回数据,还返回应对措施

  • 受控的写入操作:危险操作需要显式指定 --allow-actions 标志

CLI 标志

标志

描述

--serve

启动 HTTP 服务器而非 MCP stdio

--port=N

HTTP 服务器端口(默认:7890)

--allow-actions

启用写入操作工具

--version, -v

打印版本和工具数量

--list-tools

打印所有工具及其描述

系统要求

  • Windows 10/11

  • Node.js 20+

  • PowerShell 5.1+(随 Windows 附带)

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    A MCP server for Windows/Linux that provides 90+ tools enabling AI assistants to systematically manage local systems, including system probing, command execution, file editing, network diagnostics, and more.
    12
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants to manage, monitor, and diagnose Windows systems through 42 tools across 8 modules, including services, event viewer, task scheduler, processes, network, diagnostics, observability, and safety features.
    32
    8
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to perform extensive Windows system administration, file operations, process management, network configuration, registry editing, GUI automation, and more through a comprehensive set of MCP tools.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

  • Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/reprodev/winfolio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server