
cli-mcp-server该工具通过让您批准特定命令、限制在单个文件夹内并阻止有害输入,为 AI 应用提供对终端的安全访问。您只需一次性设置简单限制,即可让 AI 仅执行被允许的操作。
概览
主要功能
- 安全的命令执行
- 可配置的命令和标志白名单
- 防止路径遍历
- 防止 Shell 操作符注入
- 执行超时和长度限制
- 详细的错误报告
价格
- 模型
- Free
- 分类
- 服务配缩器
- 评分
- 暂无评价
使用场景
受控的 CLI 访问用于 LLM 应用
为 LLM 应用提供安全且受控的 CLI 访问,同时保持安全性。
受限的命令执行
将命令执行限制在特定目录,并对白名单中的特定命令和标志进行限制。
优点 & 缺点
优点
- 通过严格验证实现安全的命令执行
- 可配置的命令和标志白名单
- 防止路径遍历并进行验证
缺点
- 需要配置才能设置允许的命令和目录
- 默认不支持 Shell 操作符
评测
登录以留下评测。
暂无评测。来当第一个吧!
问答
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
提问
服务配缩器 的替代品
Playwright MCP
服务配缩器
开源MCP服务器,利用_playwright让LLM控制真实的浏览器以及可访问性快照
Pydantic AI
服务配缩器
Python agent 框架由 Pydantic 团队开发,用于构建类型安全的 GenAI 应用。
Cognee
服务配缩器
自适应的记忆层,帮助AI智能体从上下文中学习
Inbox Zero
服务配缩器
AI 邮箱助手,帮助您更快地达到 inbox zero。
Screenpipe
服务配缩器
开源式24小时设备屏幕和音频录制,适合构建依赖实况人工智能(AI)应用
AgentKit
服务配缩器
用于构建和编排带有工具、内存和多智能体工作流的AI智能体的TypeScript库。
onchain-mcp
服务配缩器
把无银行的 onchain API 带入 MCP
markitdown
服务配缩器
带少分享系兿司上字詰級下合存号来皅










