wcli0

s2005/wcli0

3.2

If you are the rightful owner of wcli0 and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Windows CLI MCP Server (Enhanced) is a secure command-line interface server for Windows systems, enabling controlled access to various shells through the Model Context Protocol.

The Windows CLI MCP Server (Enhanced) is designed to facilitate secure and controlled command-line interactions on Windows systems. It supports multiple shells, including PowerShell, CMD, Git Bash, and WSL, allowing MCP clients to perform operations similar to those enabled by Open Interpreter. This enhanced version introduces advanced configuration management, improved security features, and comprehensive testing capabilities. The server provides direct access to the system's command line interface, which necessitates careful configuration to ensure security. Users can review and restrict allowed paths, enable directory restrictions, and configure command blocks to mitigate security risks. The server's configuration system is inheritance-based, allowing global defaults to be overridden by shell-specific settings. This flexibility ensures that each shell can have its own security settings and path formats, tailored to specific needs. Additionally, the server includes built-in security features such as command blocking, working directory validation, and smart argument validation to protect against unauthorized access and command injection.

Features

  • Multi-Shell Support: Execute commands in PowerShell, Command Prompt (CMD), Git Bash, and WSL.
  • Inheritance-Based Configuration: Global defaults with shell-specific overrides.
  • Shell-Specific Validation: Each shell can have its own security settings and path formats.
  • Flexible Path Management: Different shells support different path formats (Windows/Unix/Mixed).
  • Security Controls: Command blocking, working directory validation, and smart argument validation.

Tools

  1. execute_command

    Execute a command in the specified shell.

  2. get_current_directory

    Get the server's active working directory.

  3. set_current_directory

    Set the server's active working directory.

  4. get_config

    Get the windows CLI server configuration.

  5. validate_directories

    Check if specified directories are within allowed paths.