cli-mcp-server

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

Overview

What is cli-mcp-server

cli-mcp-server is a secure command line interface for executing controlled command-line operations using the Model Context Protocol (MCP). It incorporates comprehensive security features to ensure safe execution of commands.

How to Use

To use cli-mcp-server, install it via Smithery with the command 'npx @smithery/cli install cli-mcp-server --client claude'. Configure the server using environment variables to set allowed directories, commands, flags, and security parameters.

Key Features

Key features include secure command execution with strict validation, configurable command and flag whitelisting, path traversal prevention, shell operator injection protection, execution timeouts, detailed error reporting, async operation support, and working directory restrictions.

Use Cases

cli-mcp-server is ideal for providing controlled CLI access to applications, particularly in environments where security is paramount, such as executing commands in machine learning models or other sensitive applications.

Content