drio
Open app

CMD MCP Server

Source

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

Catalog onlyCatalog onlySTDIO

Overview

CMD MCP Server is a Model Context Protocol (MCP) server designed for executing CMD commands on both Windows and Linux platforms, enabling integration with MCP-compatible applications.

To use CMD MCP Server, install the package via npm, initialize the server in your TypeScript code, and start the server. You can also configure it with environment variables or a configuration object.

  • Execute CMD commands through MCP. - Cross-platform compatibility for Windows and Linux. - TypeScript implementation based on the official MCP SDK. - SSH connection capability.
  1. Automating command-line tasks across different platforms.
  2. Integrating with cloud or remote applications that utilize command execution.
  3. Building custom automation tools with command execution capabilities.

Add to your AI client

Use these steps to connect CMD MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "cmd-mcp-server-phialsbasement": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cmd-mcp-server-phialsbasement"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "cmd-mcp-server-phialsbasement": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cmd-mcp-server-phialsbasement"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "cmd-mcp-server-phialsbasement": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cmd-mcp-server-phialsbasement"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "cmd-mcp-server-phialsbasement": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cmd-mcp-server-phialsbasement"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cmd-mcp-server-phialsbasement": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cmd-mcp-server-phialsbasement"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "cmd-mcp-server-phialsbasement": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cmd-mcp-server-phialsbasement"
      ]
    }
  }
}

FAQ

What is required to run CMD MCP Server?

You need Node.js (version 16 or higher) and npm or yarn as the package manager.

Can I customize the server configuration?

Yes! The server can be configured using environment variables or a configuration object.

Is CMD MCP Server open for contributions?

Absolutely! Contributions are welcome, and you can submit a pull request on the GitHub repository.