SkillTide Submit
Official description13 sourcesMCP servers8d ago
MladenSU/cli-mcp-server

MladenSU/cli-mcp-server

๐Ÿ ๐Ÿ  - Command-line execution with customizable security policies
View on GitHub โ†—Direct link ยท no redirect page
Official description๐Ÿ ๐Ÿ  - Command line interface with secure execution and customizable security policies
Config template (adjust for your client)
claude mcp add cli-mcp-server -- npx -y cli-mcp-server
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
177 โ˜… ยท MladenSU/cli-mcp-server ยท read from the repository page ยท (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-09 ยท last seen 2026-10-16 ยท seen 32ร— ยท listed by 13 sources
Score
score 1,303 ยท 177 โ˜… ยท 13 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆœๅŠก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository MladenSU/cli-mcp-server๏ผ›first catalogued 2026-10-09๏ผ›last seen 2026-10-16ใ€‚There is no official certification or quality rating here โ€” we record sources and dates only.
Third-party quality signals

CLI MCP Server

ไปฅไธ‹ๆ‘˜ๅฝ•่‡ช่ฏฅไป“ๅบ“็š„ README๏ผˆ็‰‡ๆฎต๏ผ‰ ยท ๅœจ GitHub ่ฏปๅฎŒๆ•ด README โ†’

---
A secure Model Context Protocol (MCP) server implementation for executing controlled command-line operations with
comprehensive security features.
---
Table of Contents
1. Overview
2. Features
3. Configuration
4. Available Tools
- run_command
- show_security_rules
5. Usage with Claude Desktop
- Development/Unpublished Servers Configuration
- Published Servers Configuration
6. Security Features
7. Error Handling
8. Development
- Prerequisites
- Building and Publishing
- Debugging
9. License
---
Overview
This MCP server enables secure command-line execution with robust security measures including command whitelisting, path
validation, and execution controls. Perfect for providing controlled CLI access to LLM applications while maintaining security.
Features
- ๐Ÿ”’ Secure command execution with strict validation
- โš™๏ธ Configurable command and flag whitelisting with 'all' option
- ๐Ÿ›ก๏ธ Path traversal prevention and validation
- ๐Ÿšซ Shell operator injection protection
- โฑ๏ธ Execution timeouts and length limits
- ๐Ÿ“ Detailed error reporting
- ๐Ÿ”„ Async operation support
- ๐ŸŽฏ Working directory restriction and validation
Configuration
Configure the server using environment variables:
| Variable | Description | Default |
|---------------------|------------------------------------------------------|-------------------|
| ALLOWED_DIR | Base directory for command execution (Required) | None (Required) |
| ALLOWED_COMMANDS | Comma-separated list of allowed commands or 'all' | ls,cat,pwd |
| ALLOWED_FLAGS | Comma-separated list of allowed flags or 'all' | -l,-a,--help |
| MAX_COMMAND_LENGTH| Maximum command string length | 1024 |
| COMMAND_TIMEOUT | Command execution timeout (seconds) | 30 |
| ALLOW_SHELL_OPERATORS | Allow shell operators (&&, \|\|, \|, >, etc.) | false |
Note: Setting ALLOWED_COMMANDS or ALLOWED_FLAGS to 'all' will allow any command or flag respectively.
Installation
To install CLI MCP Server for Claude Desktop automatically via Smithery:
Available Tools
run_command
Executes whitelisted CLI commands within allowed directories.
**Input Schema:**
**Security Notes:**
- Shell operators (&&, |, >, >>) are not supported by default, but can be enabled with ALLOW_SHELL_OPERATORS=true
- Commands must be whitelisted unless ALLOWED_COMMANDS='all'
- Flags must be whitelisted unless ALLOWED_FLAGS='all'
- All paths are validated to be within ALLOWED_DIR
show_security_rules
Displays current security configuration and restrictions, including:
- Working directory
- Allowed commands
- Allowed flags
- Security limits (max command length and timeout)
Usage with Claude Desktop
Add to your ~/Library/Application\ Support/Claude/claude_desktop_config.json:
> Development/Unpublished Servers Configuration
> Published Servers Configuration
> In case it's not working or showing in the UI, clear your cache via uv clean.
Security Features
- โœ… Command whitelist enforcement with 'all' option
- โœ… Flag validation with 'all' option
Source
awesome ยท https://github.com/MladenSU/cli-mcp-server
Browse by field
MCP servers
Traction
177 โ˜…
added
yesterday

More in MCP servers

All 5,525 in MCP servers โ†’

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields โ†’

โ† Back to index