Skip to main content
Glama

MCP Command Server

Servidor de comandos MCP

Un servidor de Protocolo de Contexto de Modelo (MCP) seguro para ejecutar comandos del sistema a través de aplicaciones LLM como Claude.

Inicio rápido

  1. Instalar el paquete:
uv pip install mcp-command-server
  1. Configurar comandos permitidos:
export ALLOWED_COMMANDS="ls,pwd,echo"
  1. Agregar a la configuración de Claude Desktop:
{ "mcpServers": { "command-server": { "command": "uv", "args": ["run", "python", "-m", "mcp_command_server"], "env": { "ALLOWED_COMMANDS": "ls,pwd,echo" } } } }

Características

  • Ejecución segura de comandos con lista blanca
  • ✅ Confirmación del usuario para todos los comandos
  • 📝 Registro de auditoría completo
  • 🔍 Validación y saneamiento de entradas
  • 🤖 Integración de Claude Desktop

Documentación

Para obtener la documentación completa, consulte el directorio docs/ :

Desarrollo

Configuración

# Clone repository git clone https://github.com/yourusername/mcp-command-server.git cd mcp-command-server # Create virtual environment uv venv source .venv/bin/activate # On Unix/macOS .venv\Scripts\activate # On Windows # Install development dependencies uv pip install -e ".[dev]"

Pruebas

# Run all tests pytest # Run specific test file pytest tests/unit/security/test_validator.py # Run with coverage pytest --cov=mcp_command_server

Contribuyendo

  1. Bifurcar el repositorio
  2. Crea tu rama de funciones
  3. Ejecutar pruebas y linting
  4. Enviar una solicitud de extracción

Licencia

Licencia MIT: consulte LICENCIA para obtener más detalles.

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Un servidor seguro que permite que las aplicaciones LLM como Claude ejecuten comandos del sistema incluidos en la lista blanca con confirmación del usuario y funciones de seguridad integrales.

  1. Inicio rápido
    1. Características
      1. Documentación
        1. Desarrollo
          1. Configuración
          2. Pruebas
          3. Contribuyendo
        2. Licencia

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A secure MCP server for executing whitelisted shell commands with resource and timeout controls, designed for integration with Claude and other MCP-compatible LLMs.
            Last updated -
            20
            143
            2
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            An MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface for LLMs.
            Last updated -
            10
            23
            Python
            MIT License
            • Apple
          • -
            security
            F
            license
            -
            quality
            An MCP server that allows secure execution of macOS terminal commands through Claude or Roo Code with built-in security whitelisting and approval mechanisms.
            Last updated -
            1
            JavaScript
            • Apple
          • -
            security
            A
            license
            -
            quality
            An MCP server that enables secure execution of shell commands across Windows, macOS, and Linux with built-in whitelisting and approval mechanisms for enhanced security.
            Last updated -
            13
            JavaScript
            MIT License
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Andrew-Beniash/mcp-command-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server