Token导航 LogoToken导航TokenDH.com
Powershell MCP Server (Alpha Orionis9527) logo
开发工具stdio官方级别未说明来源级核验

Powershell MCP Server (Alpha Orionis9527)

MCP Server

通过PowerShell实现文件管理、数据处理、系统监控等办公场景自动化的工具,适用于Windows系统环境。

工具数

0

提示词数

0

GitHub Stars

2

资源数

0
办公自动化批量操作PythonClaude数据处理ClaudeCline

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

AlphaOrionis9527

提供方

AlphaOrionis9527

最后核验

2026/5/17 20:19

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install mcp[cli]

详细介绍

以下操作是为Windows系统上的实际场景而设计的。 macOS用户可以通过Parallels Desktop(PD)虚拟机安装Windows来轻松实现这一点。在虚拟环境中执行操作有助于防止人工智能误操作的潜在风险。

一、特点:

PowerShell在办公场景中的实际应用:

📁 File Management Automation

Batch file renaming - Standardize naming conventions, e.g., "Contract_2025_001.pdf"
File categorization - Automatically organize files into folders by date or type
Duplicate file detection - Clean up duplicate documents and images
Folder structure creation - Quickly create project folder templates
Large file identification - Find and clean up space-consuming files

📊 Data Processing and Reporting

Batch Excel data processing - Merge multiple Excel files
CSV file conversion - Format conversion and data cleaning
File statistics reports - Generate reports on file count and size
Log analysis - Extract key information and generate reports
Backup verification - Check backup file integrity

📧 Office Automation

Batch email attachment download - Extract attachments from Outlook
Batch document format conversion - Word to PDF, image format conversion
Print job management - Batch document printing
Shortcut creation - Create desktop shortcuts for frequently used folders
Software installation check - Verify office software versions and updates

🔍 Information Collection and Monitoring

Network connection monitoring - Check office network status
System performance monitoring - Monitor computer operation status
Disk space alerts - Automatic notifications when space is low
File change monitoring - Monitor changes in important folders
Device status check - Printer, network device status

📅 Time and Task Management

Scheduled reminders - Meeting and deadline reminders
Work log generation - Automatically record daily file operations
Scheduled task execution - Timed backups, cleanup operations
Attendance assistance - Record startup/shutdown times
Project progress tracking - File modification time statistics

🛠️ System Maintenance

Temporary file cleanup - Regularly clear system junk
Software uninstallation - Batch remove unnecessary programs
Registry cleanup - Remove invalid registry entries
Startup item management - Optimize boot speed
System information collection - Generate computer configuration reports

📋 Document and Content Processing

Document content search - Search for keywords across multiple documents
Batch image processing - Compression, resizing, watermarking
Text extraction - Extract text from PDFs and images
Template application - Apply document templates in bulk
Version control - Document version management and comparison

🔐 Security and Compliance

File permission management - Batch set file access permissions
Sensitive information check - Scan documents for sensitive data
Password generation - Generate secure passwords
Encrypted file backup - Secure backup of important files
Access log analysis - Analyze file access records

📈 Efficiency Tools

Quick launch menu - Create startup scripts for common programs
Work environment configuration - One-click desktop layout setup
Batch operation templates - Save frequent operations as scripts
Data validation - Batch verify data formats and integrity
Automated report generation - Generate regular statistical reports

These scenarios can significantly improve office efficiency, reduce repetitive tasks, and allow staff to focus on more valuable work. Which scenario interests you most? I can demonstrate specific implementation methods.

二、情节:

使用PowerShell工具,您可以完成许多有趣且实用的任务!以下是一些引人入胜的应用场景:

系统管理和监控

实时监控CPU、内存和磁盘使用情况 查看和管理正在运行的进程和服务 监控网络连接状态和流量 检查系统正常运行时间和运行状态 管理Windows防火墙规则

文件和数据处理

批量重命名文件和文件夹 查找重复文件并释放磁盘空间 批处理图像/文档属性 创建文件备份和同步脚本 分析文件夹大小和文件分布统计信息

网络与安全

扫描本地网络上的设备 检查开放端口和网络服务 监控网络延迟和连接质量 检索WiFi密码和网络配置 检查系统安全更新状态

自动化任务

计划清理临时文件和缓存 自动化软件安装和配置 批量创建用户帐户并设置权限 将重要文件自动备份到指定位置 计划的系统状态报告

娱乐功能

创建ASCII艺术和文本图形 生成随机密码和UUID 播放系统声音或文本转语音 控制系统音量和功率设置 创建桌面壁纸幻灯片

发展援助

批处理代码文件格式 检查端口使用情况和服务状态 管理环境变量和路径设置 快速设置本地测试环境 监控文件更改并触发操作

数据分析

分析日志文件和错误报告 文件类型和大小分布统计 监控系统性能趋势 生成各种格式的报告 处理CSV和JSON数据

所有这些都可以通过PowerShell实现,既实用又有趣!你对哪个方面感兴趣?我可以演示一些功能。

III、 环境:

安装Python环境(推荐3.11或更高版本)。按Win+R,打开cmd并输入:

pip install mcp[cli]

安装MCP SDK工具后,将出现以下返回值:

C:\Users\alphaorionis>pip install mcp[cli]

# Return value below:

Defaulting to user installation because normal site-packages is not writeable
Collecting mcp[cli]
  Downloading mcp-1.6.0-py3-none-any.whl.metadata (20 kB)
Collecting anyio>=4.5 (from mcp[cli])
  Downloading anyio-4.9.0-py3-none-any.whl.metadata (4.7 kB)
Collecting httpx-sse>=0.4 (from mcp[cli])
  Using cached httpx_sse-0.4.0-py3-none-any.whl.metadata (9.0 kB)
Collecting httpx>=0.27 (from mcp[cli])
  Using cached httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB)
Collecting pydantic-settings>=2.5.2 (from mcp[cli])
  Downloading pydantic_settings-2.9.1-py3-none-any.whl.metadata (3.8 kB)
Collecting pydantic=2.7.2 (from mcp[cli])
  Downloading pydantic-2.11.3-py3-none-any.whl.metadata (65 kB)
Collecting sse-starlette>=1.6.1 (from mcp[cli])
  Downloading sse_starlette-2.2.1-py3-none-any.whl.metadata (7.8 kB)
Collecting starlette>=0.27 (from mcp[cli])
  Downloading starlette-0.46.2-py3-none-any.whl.metadata (6.2 kB)
Collecting uvicorn>=0.23.1 (from mcp[cli])
  Downloading uvicorn-0.34.2-py3-none-any.whl.metadata (6.5 kB)
Collecting python-dotenv>=1.0.0 (from mcp[cli])
  Downloading python_dotenv-1.1.0-py3-none-any.whl.metadata (24 kB)
Collecting typer>=0.12.4 (from mcp[cli])
  Downloading typer-0.15.2-py3-none-any.whl.metadata (15 kB)
Requirement already satisfied: idna>=2.8 in c:\users\alphaorionis\appdata\local\packages\pythonsoftwarefoundation.python.3.13_qbz5n2kfra8p0\localcache\local-packages\python313\site-packages (from anyio>=4.5->mcp[cli]) (3.10)
Requirement already satisfied: sniffio>=1.1 in c:\users\alphaorionis\appdata\local\packages\pythonsoftwarefoundation.python.3.13_qbz5n2kfra8p0\localcache\local-packages\python313\site-packages (from anyio>=4.5->mcp[cli]) (1.3.1)
Requirement already satisfied: certifi in c:\users\alphaorionis\appdata\local\packages\pythonsoftwarefoundation.python.3.13_qbz5n2kfra8p0\localcache\local-packages\python313\site-packages (from httpx>=0.27->mcp[cli]) (2024.12.14)
Collecting httpcore==1.* (from httpx>=0.27->mcp[cli])
  Downloading httpcore-1.0.8-py3-none-any.whl.metadata (21 kB)
Requirement already satisfied: h11=0.13 in c:\users\alphaorionis\appdata\local\packages\pythonsoftwarefoundation.python.3.13_qbz5n2kfra8p0\localcache\local-packages\python313\site-packages (from httpcore==1.*->httpx>=0.27->mcp[cli]) (0.14.0)
Collecting annotated-types>=0.6.0 (from pydantic=2.7.2->mcp[cli])
  Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
Collecting pydantic-core==2.33.1 (from pydantic=2.7.2->mcp[cli])
  Downloading pydantic_core-2.33.1-cp313-cp313-win_amd64.whl.metadata (6.9 kB)
Requirement already satisfied: typing-extensions>=4.12.2 in c:\users\alphaorionis\appdata\local\packages\pythonsoftwarefoundation.python.3.13_qbz5n2kfra8p0\localcache\local-packages\python313\site-packages (from pydantic=2.7.2->mcp[cli]) (4.12.2)
Collecting typing-inspection>=0.4.0 (from pydantic=2.7.2->mcp[cli])
  Downloading typing_inspection-0.4.0-py3-none-any.whl.metadata (2.6 kB)
Collecting click>=8.0.0 (from typer>=0.12.4->mcp[cli])
  Using cached click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
Collecting shellingham>=1.3.0 (from typer>=0.12.4->mcp[cli])
  Using cached shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting rich>=10.11.0 (from typer>=0.12.4->mcp[cli])
  Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Collecting colorama (from click>=8.0.0->typer>=0.12.4->mcp[cli])
  Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->typer>=0.12.4->mcp[cli])
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments=2.13.0 (from rich>=10.11.0->typer>=0.12.4->mcp[cli])
  Using cached pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->typer>=0.12.4->mcp[cli])
  Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading anyio-4.9.0-py3-none-any.whl (100 kB)
Using cached httpx-0.28.1-py3-none-any.whl (73 kB)
Downloading httpcore-1.0.8-py3-none-any.whl (78 kB)
Using cached httpx_sse-0.4.0-py3-none-any.whl (7.8 kB)
Downloading pydantic-2.11.3-py3-none-any.whl (443 kB)
Downloading pydantic_core-2.33.1-cp313-cp313-win_amd64.whl (2.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 21.2 MB/s eta 0:00:00
Downloading pydantic_settings-2.9.1-py3-none-any.whl (44 kB)
Downloading python_dotenv-1.1.0-py3-none-any.whl (20 kB)
Downloading sse_starlette-2.2.1-py3-none-any.whl (10 kB)
Downloading starlette-0.46.2-py3-none-any.whl (72 kB)
Downloading typer-0.15.2-py3-none-any.whl (45 kB)
Downloading uvicorn-0.34.2-py3-none-any.whl (62 kB)
Downloading mcp-1.6.0-py3-none-any.whl (76 kB)
Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
Using cached click-8.1.8-py3-none-any.whl (98 kB)
Downloading rich-14.0.0-py3-none-any.whl (243 kB)
Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Downloading typing_inspection-0.4.0-py3-none-any.whl (14 kB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached pygments-2.19.1-py3-none-any.whl (1.2 MB)
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: typing-inspection, shellingham, python-dotenv, pygments, pydantic-core, mdurl, httpx-sse, httpcore, colorama, anyio, annotated-types, starlette, pydantic, markdown-it-py, httpx, click, uvicorn, sse-starlette, rich, pydantic-settings, typer, mcp
  WARNING: The script dotenv.exe is installed in 'C:\Users\alphaorionis\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pygmentize.exe is installed in 'C:\Users\alphaorionis\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script markdown-it.exe is installed in 'C:\Users\alphaorionis\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script httpx.exe is installed in 'C:\Users\alphaorionis\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script uvicorn.exe is installed in 'C:\Users\alphaorionis\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script typer.exe is installed in 'C:\Users\alphaorionis\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script mcp.exe is installed in 'C:\Users\alphaorionis\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed annotated-types-0.7.0 anyio-4.9.0 click-8.1.8 colorama-0.4.6 httpcore-1.0.8 httpx-0.28.1 httpx-sse-0.4.0 markdown-it-py-3.0.0 mcp-1.6.0 mdurl-0.1.2 pydantic-2.11.3 pydantic-core-2.33.1 pydantic-settings-2.9.1 pygments-2.19.1 python-dotenv-1.1.0 rich-14.0.0 shellingham-1.5.4 sse-starlette-2.2.1 starlette-0.46.2 typer-0.15.2 typing-inspection-0.4.0 uvicorn-0.34.2

C:\Users\alphaorionis>

上述返回值表示安装成功。

配置后,打开一个新的CMD并输入mcp以验证功能。

代码环境设置现在已完成。

IV、 JSON配置:

JSON配置文件内容:

注意:相应地修改文件路径。 可以与Claude、游标、VSCode+Cline或CherryStudio应用程序一起使用。

{
  "mcpServers": {
    "powershell": {
      "command": "python",
      "args": [
        "C:\\Users\\root\\Desktop\\MCP\\powershell.py" (Enter your own path here)
      ]
    }
  }
}

打开克劳德,该工具现在处于活动状态。

摘要:

PowerShell基本上可以用你的计算机做任何你想做的事情。

示例:

基于文件生成小报告

桌面上有哪些文件?将XXX文件组织到XXX文件夹

操作特定的Excel/CSV文件以生成专业的HTML可视化报告

轻量级数据清理

等等

数据可视化示例: 使用特定表格,从开源网站中选择可视化样式 vchart,从可视化的右侧复制代码,并让AI使用您的数据模拟这种显示格式来创建可视化。 原理:让AI使用PowerShell读取Excel并操作Excel。

其他文档的操作遵循类似的原则。

就我个人而言,我发现整体用户体验比文件系统mcp更实用。 我通过Parallels Desktop中的Windows在macOS上使用它。 在Windows虚拟机中运行可以防止危险的操作,确保系统可以通过定期备份在一分钟内恢复。

目录标签

目录标签

办公自动化批量操作PythonClaude数据处理本地部署文件管理系统监控

支持客户端

ClaudeCline

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP