Back to directory
cli-mcp-server

cli-mcp-server

@MladenSU168

Command line interface for MCP clients with secure execution and customizable security policies

clisecuritymcp-servertool

Installation & Configuration

{
  "mcpServers": {
    "cli-mcp-server": {
      "command": "uvx",
      "args": [
        "cli-mcp-server"
      ],
      "env": {
        "ALLOWED_DIR": "</your/desired/dir>",
        "ALLOWED_COMMANDS": "ls,cat,pwd,echo",
        "ALLOWED_FLAGS": "-l,-a,--help,--version",
        "MAX_COMMAND_LENGTH": "1024",
        "COMMAND_TIMEOUT": "30",
        "ALLOW_SHELL_OPERATORS": "false"
      }
    }
  }
}

Information

Transport
stdio
Language
Python
Created
2024/12/8
Updated
2026/6/7