drio
Open app

mcp-server-cli

Source

Model Context Protocol server to run shell scripts or commands

Catalog onlyCatalog onlySTDIO

Overview

The mcp-server-cli is a Model Context Protocol server designed to execute shell scripts or commands efficiently.

To use mcp-server-cli, install it from the GitHub repository, configure your shell scripts, and run the server to execute commands remotely.

  • Executes shell scripts and commands in a server environment. - Supports remote command execution. - Easy integration with existing workflows.
  1. Automating server management tasks.
  2. Running batch scripts on multiple servers.
  3. Integrating with CI/CD pipelines for automated deployments.

Add to your AI client

Use these steps to connect mcp-server-cli 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": {
    "mcp-server-cli-hdcola": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-cli-hdcola"
      ]
    }
  }
}

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": {
    "mcp-server-cli-hdcola": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-cli-hdcola"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

Can mcp-server-cli run any shell command?

Yes! It can execute any valid shell command or script.

Is mcp-server-cli free to use?

Yes! It is open-source and available under the MIT license.

How do I install mcp-server-cli?

You can install it by following the instructions on the GitHub repository.