Windows自然语言处理器

Windows MCP是一个通过自然语言处理技术自动化控制Windows系统的工具,无需编写代码即可执行各种系统任务。

  • by powershelling
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 powershelling/windows_mcp

使用说明

🖥️ Windows MCP

一 微命令处理器(MCP) 倒 用自然语言自动化和控制Windows 通过LLM(如猫)。 无需编写代码 :用户只需询问他们需要什么。


📋 描述

windows_mcp 设计用于允许 助理法学硕士 执行Windows系统任务 而无需用户编码. 可能的请求示例:

  • “给我GPU的温度”
  • “在桌面上创建一个包含我的进程列表的文件”
  • “清理C:\Temp的临时文件”
  • “列出我安装的Steam游戏”

✨ 功能

类别 自然命令示例 内部功能
监控 “我的CPU温度是多少?» windows_get_temperatures()
“显示磁盘使用历史记录” windows_performance_history()
安全 “检查Windows更新” windows_check_updates()
“UAC的状态如何?» windows_uac_status()
文件 “在我的下载中查找重复文件” windows_find_duplicates()
“清理临时文件” windows_clean_temp()
网络 “进行互联网速度测试” windows_speed_test()
«Ping google.com 10个错误» windows_ping()
游戏 “显示图形卡的统计信息” windows_gpu_stats()
“列出我的Steam游戏” windows_steam_games()
自动化 “安排每天3小时的备份” windows_create_scheduled_task()

(见 NOUVELLES_FEATURES.md 以获取完整列表。)


🤖 与LLM一起使用

Le MCP est 由助手自动调用 :

graph LR
    A[Utilisateur] -->|"Donne-moi la température de mon GPU"| B[LLM]
    B -->|Appel interne| C[Windows MCP]
    C -->|"Température GPU: 65°C"| B
    B -->|Réponse| A

具体实例 :

  • “哪些进程使用的CPU最多?»
  • “创建一个C:\Temp\Process.txt文件,其中包含活动进程列表”
  • “优化游戏性能”

🛠️ 安装(管理员)

先决条件

  • Python 3.8+
  • PowerShell 5.1+(某些功能)

步骤

  1. 克隆存储库:

    git clone https://github.com/powershelling/windows_mcp.git
    cd windows_mcp
    
  2. 安装依赖项:

    pip install -r requirements.txt
    

    (Si requirements.txt 不存在: pip install speedtest-cli pywin32.)

  3. 启动MCP服务器:

    python main.py
    
    • MCP在本地监听LLM请求。

📂 项目结构

windows_mcp/
├── main.py          # Point d’entrée du serveur MCP
├── server_instance.py # Instance partagée du MCP
├── tools/           # Outils modulaires (automatisation, etc.)
├── utils.py         # Fonctions utilitaires
├── NOUVELLES_FEATURES.md # Détails des fonctionnalités
└── LICENSE          # Licence MIT

📄 许可证

许可项目 麻省理工学院 –免费使用、修改和分发。 (见 许可证 更多详情。)


🤝 贡献

莱斯 拉取请求 欢迎! 要报告错误或建议功能,请打开 问题.