
cli-mcp-serverThis tool gives AI apps safe access to your terminal by letting you approve specific commands, restrict them to one folder, and block harmful inputs. You set simple limits once, so the AI only perform
Overview
Key features
- Secure command execution
- Configurable command and flag whitelisting
- Path traversal prevention
- Shell operator injection protection
- Execution timeouts and length limits
- Detailed error reporting
Pricing
- Model
- Free
- Category
- MCP Servers
- Rating
- No reviews yet
Use cases
Controlled CLI Access for LLM Applications
Provide secure and controlled CLI access to LLM applications while maintaining security.
Restricted Command Execution
Restrict command execution to a specific directory and whitelist specific commands and flags.
Pros & Cons
Pros
- Secure command execution with strict validation
- Configurable command and flag whitelisting
- Path traversal prevention and validation
Cons
- Requires configuration to set allowed commands and directories
- Shell operators are not supported by default
Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Q&A
Are shell operators supported by default?
No, shell operators are not supported by default, but can be enabled by setting ALLOW_SHELL_OPERATORS=true.
Asked by Xander de Vries · Jan 7, 2026
Can I restrict commands to a specific directory?
Yes, you can restrict commands to a specific directory by setting the ALLOWED_DIR environment variable.
Asked by Malik Rasheed · Jan 5, 2026
How do I configure the server?
The server is configured using environment variables such as ALLOWED_DIR, ALLOWED_COMMANDS, and ALLOWED_FLAGS.
Asked by Esther Adeyemi · Dec 27, 2025
What security features does cli-mcp-server offer?
cli-mcp-server offers command whitelisting, path validation, execution controls, shell operator injection protection, and execution timeouts.
Asked by Halime Yalcin · Oct 16, 2025
Ask a question
MCP Servers alternatives
Playwright MCP
MCP Servers
Open-source MCP server that lets LLMs drive real browsers via Playwright and accessibility snapshots.
Pydantic AI
MCP Servers
Python agent framework from the Pydantic team for building type-safe GenAI apps.
Cognee
MCP Servers
Adaptive memory layer that helps AI agents learn from context over time.
Inbox Zero
MCP Servers
AI email assistant that organizes, drafts replies, and helps you reach inbox zero faster.
Screenpipe
MCP Servers
Open-source 24/7 local screen and audio recording for building context-aware AI apps
AgentKit
MCP Servers
TypeScript library for building and orchestrating AI agents with tools, memory, and multi-agent workflows.
onchain-mcp
MCP Servers
Bringing the bankless onchain API to MCP
markitdown
MCP Servers
Python tool for converting files and office documents to Markdown.
Trending now
Reducto AI
AI Agent Development Platforms
Document intelligence API that parses, splits, OCRs, and extracts structured data from complex PDFs, slides, and spreadsheets.
AdCrier
Marketing & Advertising
Sponsored answers, paid per click.
Biology AI
Education AI
Accurate Homework Help with Full Explanations
KlapAI
3D Generation
A platform integrating AI and Web3, enabling gamers to create, mint, validate, and earn from their gaming assets.










