convez.ai
MCP ServerDevOps & InfraestruturaIntermediário
phialsbasement

CMD MCP Server

phialsbasement/cmd-mcp-server

Execute comandos shell e SSH nativamente via MCP para Claude

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP para executar comandos CMD/Shell nativamente em Windows e Linux, além de suportar conexões SSH. Integra operações de linha de comando diretamente com Claude e aplicações compatíveis com MCP, habilitando automação e agentics avançados.

Instalação

$npx convez-ai phialsbasement/cmd-mcp-server

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
26
Forks
11
Acompanhando
1
Saúde
42%
Último commit
há 1 ano
Versão
—
Issues abertas
4
Contribuidores
3

Casos de uso

  • Automação de tarefas administrativas do sistema
  • Execução remota de scripts e operações DevOps
  • Integração de operações CLI com agentes Claude
  • Gerenciamento de infraestrutura através de MCP

Veredito

Ferramenta legítima para automação de sistema via MCP, mas exige cautela: executar comandos shell arbitrários apresenta riscos severos de segurança. Recomendado apenas em ambientes controlados com validação rigorosa de entrada e sandboxing apropriado.

README

A tradução para o português deste README ainda está na fila.

CMD MCP Server

smithery badge npm downloads A Model Context Protocol (MCP) server implementation for executing CMD commands on both Windows and Linux, as well as allowing SSH connections. This server allows you to integrate command-line operations with MCP-compatible applications.

Features

  • Execute CMD commands through MCP
  • TypeScript implementation
  • Built on the official MCP SDK
  • Cross-platform compatibility

Installation

Installing via Smithery

To install CMD Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install server-cmd --client claude

Manual Installation

npm install server-cmd

Prerequisites

  • Node.js (v16 or higher recommended)
  • npm or yarn package manager

Usage

import { MCPCmdServer } from 'server-cmd';

// Initialize the server
const server = new MCPCmdServer();

// Start the server
server.start();

Configuration

The server can be configured through environment variables or a configuration object:

const config = {
  // Add your configuration options here
};

const server = new MCPCmdServer(config);

Development

To set up the development environment:

  1. Clone the repository:
git clone https://github.com/PhialsBasement/CMD-MCP-Server.git
cd CMD-MCP-Server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Scripts

  • npm run build - Compile TypeScript to JavaScript
  • npm run prepare - Prepare the package for publishing

Dependencies

  • @modelcontextprotocol/sdk: ^1.0.1
  • glob: ^10.3.10
  • zod-to-json-schema: ^3.23.5

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Security

Please note that executing command-line operations can be potentially dangerous. Make sure to implement proper security measures and input validation when using this server in production environments.

Support

For issues and feature requests, please use the GitHub issue tracker.

Ver o original no GitHub

Bom para

Relacionados