• Home
  • Categories
  • Tags
  • Pricing
  • Submit
  1. Home
  2. Code Execution & Automation Mcp Servers
  3. cli-mcp-server

cli-mcp-server

A command line MCP Server offering secure execution and customizable security policies. Directly relevant to MCP server implementations for command line environments.

🌐Visit Website

About this tool

cli-mcp-server

Source: GitHub - MladenSU/cli-mcp-server

A secure Model Context Protocol (MCP) server for executing controlled command-line operations, with comprehensive security features for CLI environments.


Features

  • Secure Command Execution: Executes commands with strict validation.
  • Command and Flag Whitelisting: Supports configurable whitelists for commands and flags, with an 'all' option to allow any.
  • Path Traversal Prevention: Validates and normalizes paths to prevent unauthorized access.
  • Shell Operator Protection: Blocks shell operators (e.g., &&, |, >, >>).
  • Execution Timeouts and Length Limits: Enforces maximum command string length and execution timeouts.
  • Detailed Error Reporting: Provides comprehensive error messages for security violations and failures.
  • Async Operation Support: Supports asynchronous command execution.
  • Working Directory Restriction: Restricts execution to a specified directory, including symlink validation.
  • Environment-based Configuration:
    • ALLOWED_DIR: Required base directory for execution.
    • ALLOWED_COMMANDS: Comma-separated allowed commands or 'all'.
    • ALLOWED_FLAGS: Comma-separated allowed flags or 'all'.
    • MAX_COMMAND_LENGTH: Maximum command length (default 1024).
    • COMMAND_TIMEOUT: Timeout in seconds (default 30).
  • Available Tools:
    • run_command: Executes whitelisted commands within allowed directories.
    • show_security_rules: Displays current security settings and restrictions.
  • Error Handling:
    • Detailed errors for security violations, timeouts, invalid formats, path issues, and execution failures.
  • Development Features:
    • Python 3.10+ support.
    • Easy build and publish commands.
    • Integrated debugging with MCP Inspector.
  • MIT License

Pricing

  • No pricing information provided. The project is open-source and available under the MIT license.

Tags

mcp cli code-execution security

Surveys

Loading more......

Information

Websitegithub.com
PublishedMay 14, 2025

Categories

1 Item
Code Execution & Automation Mcp Servers

Tags

4 Items
#mcp
#cli
#code-execution
#security

Similar Products

6 result(s)
Container MCP

An MCP server offering secure, sandboxed environments for executing code, running commands, accessing files, and performing web operations through containerization and isolation technologies.

Awsome Kali MCP Servers

MCP servers providing a secure, sandboxed environment for executing Kali Linux security tools like nmap, objdump, and wireshark for network analysis and vulnerability scanning.

Cedarscript MCP

Implements CEDARScript, a SQL-like language, as an MCP server for code manipulation, showcasing the adaptability of MCP servers for language and code-based tasks.

CLI Server

A secure MCP server for executing shell commands with robust security controls, enabling protected command-line operations. Directly relevant as a widely-used MCP server for secure CLI automation.

Code Sandbox MCP

A sandboxed MCP server enabling secure, multi-language code execution with resource limits and network restrictions. Direct example of an MCP server providing isolated code execution environments.

atomicchonk/roadrecon_mcp_server

MCP server designed for analyzing ROADrecon gather results from Azure tenant enumeration, illustrating specialized security analysis via MCP servers.

Built with
Ever Works
Ever Works

Connect with us

Stay Updated

Get the latest updates and exclusive content delivered to your inbox.

Product

  • Categories
  • Tags
  • Pricing
  • Help

Clients

  • Sign In
  • Register
  • Forgot password?

Company

  • About Us
  • Admin
  • Sitemap

Resources

  • Blog
  • Submit
  • API Documentation
All product names, logos, and brands are the property of their respective owners. All company, product, and service names used in this repository, related repositories, and associated websites are for identification purposes only. The use of these names, logos, and brands does not imply endorsement, affiliation, or sponsorship. This directory may include content generated by artificial intelligence.
Copyright © 2025 Acme. All rights reserved.·Terms of Service·Privacy Policy·Cookies