PowerShell Server
byhypo69
0Executes PowerShell scripts and commands on external client requests, integrating with AI assistants via the Model Context Protocol.
关于
The PowerShell Server is an implementation of the Model Context Protocol (MCP) designed to enable AI assistants and other external clients to execute PowerShell scripts and commands. It offers flexible integration through two primary modes: STDIO for secure, local inter-process communication, ideal for tools like `gemini-cli` running on the same machine, and HTTP for network-based interaction, suitable for web applications, remote management, or microservices architectures. This server acts as a bridge, allowing various applications to leverage PowerShell capabilities programmatically and securely.
主要功能
- Dual operational modes (STDIO and HTTP) for flexible client integration
- Isolated script execution in separate PowerShell processes for security and stability
- Configurable execution timeouts to prevent runaway scripts
- Detailed operational logging for all executed commands and server activities
- Comprehensive security features including blocked commands, path restrictions, and script validation
- 0 GitHub stars
使用案例
- Remote execution of PowerShell scripts for system administration, management, and DevOps automation.
- Enabling web applications and microservices to securely interact with PowerShell functionalities.
- Integrating AI assistants (like Gemini CLI) to execute PowerShell commands and automate system tasks.