独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
A

ag88/cmdshellmcp

本站为独立目录,非该工具官网;下方信息取自其公开仓库。

cmdshellmcp is a constrained command-shell MCP server for AI agents. (原文为英文)

3 ★ 本站实测 · 核对 2026-11-19

装之前:没有可直接复制的命令 · 许可证 MIT

第一步:这条暂时没有可执行的下一步,可先看原仓库 https://github.com/ag88/cmdshellmcp

★ 3·更新 2026-10-17
在 GitHub 查看 ↗直链 · 无中转页

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

★ 数取值
3 ★ · ag88/cmdshellmcp · 取自 GitHub 搜索 API · (2026-11-19 20:00:48 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-18 · 最近见到 2026-11-20 · 共见到 3 次 · 被 3 个来源列出
评分构成
综合分 300 · 3 ★ · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 ag88/cmdshellmcp;我们收录于 2026-11-18;最近见到 2026-11-20。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
README 原文(英文,未翻译) · 在 GitHub 读完整 README →

# cmdshellmcp

以下摘录自该仓库的 README(片段)

cmdshellmcp is a constrained command-shell MCP server for AI agents. It exposes a small allowlisted Unix command set, somewhat safe file operations, patch application, and URL fetching so an MCP client can perform limited local tasks without unrestricted shell access.
The server is implemented in Python and runs as an MCP server using the fastmcp package. By default it listens on 127.0.0.1:8003 using the streamable HTTP transport unless --sse is selected.
Added setup files for a full featured Docker Debian based sandbox system container with cmdshellmcp (setup scripts, guides DOCKER.md, Dockerfile, cmdshellmcp.service unit file that runs cmdshellmcp in the container).
## [!CAUTION]
This server provides remote command execution (RCE), which is normally considered a critical security vulnerability. Allow-listing powerful commands—such as bash, sh, python, perl, sudo, docker, or commands capable of writing files—may allow an attacker or untrusted LLM to bypass intended restrictions and take control of the system. For example, allowing python or bash can effectively permit arbitrary code execution and file access. If the server lacks strong authentication, is reachable by untrusted clients, or is controlled by an untrusted or prompt-injected LLM, it may cause severe damage, including data loss, credential theft, malware installation, or compromise of other systems. Run cmdshellmcp \(cmdshellmcp2.py\) only in a protected, disposable sandbox with carefully scoped privileges limited to those required for its intended task and limited access to files, credentials, devices, and networks—for example, disposable Docker container or virtual machine that can be safely destroyed after use.
## Warning
This is a scratch / experimental app that evolved out of using an MCP server (tools) that allow running shell commands for coding purpose.
Unfortunately, for such a purpose, one often needs to provide the LLM (model) client with rather powerful shell commands to "do its job"
for a particular scope / context / intent.
The default allowed commands are not necessarily safe, i.e. LLM agents or practically clients calling
the MCP api can 'escape' and do things outside a context e.g. the working directory defined with --cwd
option. It validates the arguments in a limited way, i.e. looking for string path patterns if they seem to escape the current
directory. This is a heuristic check, i.e. this check is pattern matching, it does not know if that argument is intended to be a file
or directory. Nor does it know the argument's context for a particular command, or if they are after all safe.
e.g. it may prevent a ls / (listing a root directory), but sometimes that is what you need. But it may prevent by sheer pattern
matching e.g. rm /PreciousFile.txt i.e. remove a file in the root directory. This is not an always secure check, but added
as it is better than no checks at all.
There are also tools (MCP functions exposed) that expose write and file modification ops, including
executing shell commands.
Authentication is enabled by default. Keep the randomly generated token, or set
a fixed auth_token using the auth field in the config file or --auth.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/ag88-cmdshellmcp/)
来源
awesome · https://github.com/ag88/cmdshellmcp
按领域浏览
MCP 服务
Traction
3 ★
收录来源
3 个独立来源
收录于
今天

更多 MCP 服务器

全部 6,555 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引