MCP.so
Sign In

CMD MCP Server

@PhialsBasement

About CMD MCP Server

MCP server for executing CMD commands. Can be hooked to claude for additional agentics.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "CMD-MCP-Server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "server-cmd",
        "--client",
        "claude"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is CMD MCP Server?

CMD MCP Server is a Model Context Protocol (MCP) server implementation for executing CMD commands on Windows and Linux, as well as allowing SSH connections. It is designed for developers and users who want to integrate command-line operations with MCP-compatible applications.

How to use CMD MCP Server?

Install via npm (npm install server-cmd) or automatically via Smithery (npx -y @smithery/cli install server-cmd --client claude). Then import and initialize the server in TypeScript: const server = new MCPCmdServer(); server.start();. Configuration can be passed via environment variables or a config object.

Key features of CMD MCP Server

  • Execute CMD commands through MCP
  • TypeScript implementation built on the official MCP SDK
  • Cross-platform compatibility (Windows and Linux)
  • SSH connection support

Use cases of CMD MCP Server

  • Automating command-line operations from MCP‑compatible AI assistants
  • Running remote commands via SSH through an MCP interface
  • Integrating shell scripts into LLM‑powered workflows

FAQ from CMD MCP Server

Is CMD MCP Server cross‑platform?

Yes, it supports both Windows and Linux for executing CMD commands.

What are the prerequisites?

Node.js v16 or higher and npm or yarn.

How do I install CMD MCP Server?

Use npm install server-cmd for manual installation, or the Smithery CLI for automatic installation with Claude Desktop.

Is it safe to use?

The README warns that command‑line operations can be dangerous. Proper security measures and input validation should be implemented in production environments.

Frequently asked questions

Is CMD MCP Server cross‑platform?

Yes, it supports both Windows and Linux for executing CMD commands.

What are the prerequisites?

Node.js v16 or higher and npm or yarn.

How do I install CMD MCP Server?

Use `npm install server-cmd` for manual installation, or the Smithery CLI for automatic installation with Claude Desktop.

Is it safe to use?

The README warns that command‑line operations can be dangerous. Proper security measures and input validation should be implemented in production environments.

Comments

More Other MCP servers