{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"Provides a secure Model Context Protocol (MCP) server that allows LLM applications to execute whitelisted command-line operations with configurable security policies, command validation, and execution controls.","skillfed_tags":["mcp-protocol","llm-integration","security-sandbox"],"use_cases":["Give Claude Desktop controlled access to run file operations (ls, cat, pwd) on a specific project directory without exposing the entire filesystem.","Allow an LLM agent to execute build or test commands (e.g., pytest, make) within a sandbox directory as part of a development workflow.","Provide a secure interface for an AI application to query system information (e.g., echo, uname) without allowing arbitrary command execution.","Integrate with MCP-compatible LLM clients to enable auditable, whitelisted CLI automation while maintaining security boundaries.","Debug and test MCP server behavior using the MCP Inspector for local development and integration testing."],"what_it_does":"CLI MCP Server is a Python package that implements the Model Context Protocol (MCP) as a secure server for command-line execution. It bridges LLM applications (like Claude Desktop) and the shell by exposing two tools: run_command (to execute whitelisted CLI commands) and show_security_rules (to display current restrictions). The server enforces security through command and flag whitelisting, path validation to prevent traversal attacks, shell operator blocking, execution timeouts, and working directory restrictions\u2014all configured via environment variables.\n\nYou use it by installing the package, configuring it with allowed commands and a base directory, and registering it as an MCP server in your LLM client (typically Claude Desktop). Once running, the LLM can invoke commands only within the whitelist and the allowed directory, making it safe to grant controlled shell access to AI agents without exposing the full system.","worth_installing":"Yes, with conditions. Install if you need to safely expose CLI access to an LLM application and are comfortable configuring environment variables and managing a whitelist. The low install friction and clear security model make it straightforward to set up. However, verify the actual license in the repository first (metadata is unclear), and be aware that maintenance is aging\u2014last release was 406 days ago. No known vulnerabilities are recorded, but the security features (injection protection, path validation) should be reviewed for your threat model before use in production."},"id":"cli-mcp-server","links":{"html":"https://skillfed.io/packages/cli-mcp-server","md":"https://skillfed.io/packages/cli-mcp-server.md","pypi":"https://pypi.org/project/cli-mcp-server/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-07-04","license_spdx":null,"license_treatment":"unclear","name":"cli-mcp-server","python_support":"supports_current","summary":"Command line interface for MCP clients with secure execution and customizable security policies"},"popularity":{"monthly_downloads":82121,"position":14182,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.5"}
