Skip to main content
Glama
Super Windows CLI MCP Server

Super Windows CLI MCP Server

Servidor MCP de Super Windows CLI

Una bifurcación mejorada del servidor MCP de Windows CLI con capacidades de acceso al sistema sin restricciones.

Mejoras

  • Acceso completo al sistema a través de la instalación del servicio SYSTEM

  • Ejecución de comandos sin restricciones

  • Controles de acceso a nivel de red

  • Capacidades de proceso ilimitadas

  • Recuperación automática y tolerancia a fallos

  • Telemetría de PowerShell deshabilitada

Related MCP server: Super Windows CLI MCP Server

Aviso de seguridad

Esta versión elimina las restricciones a nivel de aplicación en favor de la seguridad a nivel de red. Está diseñada para entornos de confianza donde se requiere acceso total al sistema.

Características

  • Acceso completo a entornos de shell de Windows (PowerShell, CMD, Git Bash)

  • Sin restricciones de comandos o argumentos

  • Acceso completo al sistema de archivos

  • Instalación de servicios a nivel de SISTEMA

  • Recuperación automática del servicio

  • Controles de enlace de red

  • Reutilización de procesos para mejorar el rendimiento

  • Tiempos de espera extendidos para operaciones de larga duración

Instalación

  1. Construir el proyecto:

npm install
npm run build
  1. Copie los archivos compilados a su máquina Windows

  2. Ejecute el script de instalación como administrador:

.\install-service.ps1

Configuración

El servidor está configurado para máxima capacidad con estas características clave:

  • Sin restricciones de comando

  • Acceso completo al sistema de archivos

  • Protección contra inyecciones deshabilitada

  • Recursos de proceso ilimitados

  • Control de acceso a nivel de red

  • Privilegios de nivel de SISTEMA

Consulte config.json para ver la configuración completa.

Gestión de servicios

Instalación

.\install-service.ps1

Eliminación

.\uninstall-service.ps1

Seguridad de la red

Si bien se eliminan las restricciones a nivel de aplicación, se mantienen las siguientes protecciones a nivel de red:

  • Enlace localhost por defecto

  • Rangos de IP permitidos configurables

  • Restricción de red local

  • Integración de VPN opcional

Licencia

Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.

Expresiones de gratitud

Basado en el win-cli-mcp-server original de SimonB97.

Available Tools

4 tools
execute_commandB

Execute a command in the specified shell (powershell, cmd, or gitbash)

Example usage (PowerShell):

{
  "shell": "powershell",
  "command": "Get-Process | Select-Object -First 5",
  "workingDir": "C:\Users\username"
}

Example usage (CMD):

{
  "shell": "cmd",
  "command": "dir /b",
  "workingDir": "C:\Projects"
}

Example usage (Git Bash):

{
  "shell": "gitbash",
  "command": "ls -la",
  "workingDir": "/c/Users/username"
}

Inputs: shell (required), command (required), workingDir.

get_command_historyA

Get the history of executed commands

Example usage:

{
  "limit": 5
}

Example response:

[
  {
    "command": "Get-Process",
    "output": "...",
    "timestamp": "2024-03-20T10:30:00Z",
    "exitCode": 0
  }
]

Inputs: limit.

ssh_disconnectA

Disconnect from an SSH server

Example usage:

{
  "connectionId": "raspberry-pi"
}

Use this to cleanly close SSH connections when they're no longer needed.

Inputs: connectionId (required).

ssh_executeA

Execute a command on a remote host via SSH

Example usage:

{
  "connectionId": "raspberry-pi",
  "command": "uname -a"
}

Configuration required in config.json:

{
  "ssh": {
    "enabled": true,
    "connections": {
      "raspberry-pi": {
        "host": "raspberrypi.local",
        "port": 22,
        "username": "pi",
        "password": "raspberry"
      }
    }
  }
}

Inputs: connectionId (required), command (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 4 tools

    Disambiguation3/5

    The tools have some overlap in purpose that could cause confusion. execute_command and ssh_execute both execute commands but in different contexts (local vs remote), which might lead to misselection if the agent doesn't carefully distinguish between local and remote execution. However, get_command_history and ssh_disconnect are clearly distinct from the execution tools.

    Naming Consistency4/5

    The naming follows a mostly consistent verb_noun pattern with clear actions like execute, get, and disconnect. All tools use snake_case consistently. The minor deviation is that ssh_disconnect uses 'disconnect' while others use more specific verbs, but overall it's readable and predictable.

    Tool Count3/5

    With only 4 tools, the count feels borderline thin for a 'Super Windows CLI MCP Server' that implies broader command-line capabilities. It covers basic execution and SSH operations but lacks tools for file management, process control, or other common CLI tasks, making the scope seem underdeveloped.

    Completeness2/5

    There are significant gaps in the tool surface for a Windows CLI server. It includes command execution and SSH operations but misses core functionalities like file operations (e.g., copy, move, delete), process management (e.g., start, stop), system information retrieval, or network utilities. The SSH tools are incomplete without a corresponding ssh_connect tool to establish connections.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An enhanced MCP server that grants AI assistants the ability to execute terminal commands on a user's system with improved security controls, designed for use in controlled environments.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables remote filesystem and CLI access to a Windows machine over LAN through MCP, with file read/write and command execution capabilities.
      MIT