技能潮 SkillTide 提交收录
官方说明10 个来源MCP 服务8 天前
sonirico/mcp-shell

sonirico/mcp-shell

🏎️ 🏠 🍎 🪟 🐧 - Run shell commands securely, auditably and on demand in isolated environments such as Docker
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add mcp-shell -- npx -y mcp-shell
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
108 ★ · sonirico/mcp-shell · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 108 ★ · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 sonirico/mcp-shell;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

mcp-shell

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

MCP server that runs shell commands. Your LLM gets a tool; you get control over what runs and how.
Built on mark3labs/mcp-go. Written in Go.
---
Run it
**Docker** (easiest):
**From source**:
---
Configure it
**Secure mode is the default.** With no config file, mcp-shell boots in secure
mode and registers only typed tools: file reads, grep/glob, git inspection,
and (opt-in) file/git writes and operator-defined scripts. There is no raw
shell command. You only need a config file to change the defaults below. To
run fully unrestricted you must opt in explicitly:
To customize the policy, point to a YAML config:
**Secure mode** (default) — typed tools only, every path confined to working_directory:
---
Wire it up
**Claude Desktop** — add to your MCP config:
For custom config, mount the file and set the env:
---
Tools
Secure mode (the default) registers these typed tools. * marks a required
parameter.
| Tool | Parameters | Available |
|------|------------|-----------|
| read_file | path*, offset, limit, tail | always |
| list_dir | path, depth, include_hidden | always |
| glob | pattern*, path, newer_than, max_results | always |
| grep | pattern*, path, glob, ignore_case, context, files_only, count, max_results | always |
| stat | path* | always |
| diff_files | path_a*, path_b* | always |
| system_info | | always |
| git_status | | always |
| git_log | max_count, ref, path, author, grep, since, until, oneline, follow | always |
| git_diff | ref, ref_to, staged, path, stat_only, name_only | always |
| git_show | ref, path, stat_only | always |
| git_blame | path*, ref, line_start, line_end | always |
| git_branches | all, merged | always |
| git_tags | pattern | always |
| git_rev_parse | ref* | always |
| git_ls_files | path, untracked | always |
| git_stash_list | | always |
| git_remotes | | always |
| write_file | path*, content*, append | writes_enabled |
| edit_file | path*, old_string*, new_string*, replace_all | writes_enabled |
| mkdir | path* | writes_enabled |
| move | from*, to* | writes_enabled |
| delete | path*, recursive | writes_enabled |
| git_add | paths, all | writes_enabled |
| git_commit | message*, all | writes_enabled |
| git_switch | branch*, create | writes_enabled |
| git_restore | paths*, staged | writes_enabled |
| git_stash | action*, message | writes_enabled |
| run_script | name* | scripts |
Every path parameter is resolved against working_directory (symlinks
followed); anything outside it is rejected. Git paths and refs are passed
positionally and validated: a ref starting with - is rejected. There are no
network tools; push, fetch and clone are not offered.
**Unrestricted mode**: shell_exec exists only with MCP_SHELL_ALLOW_UNSAFE=1, runs the command through bash -c with no validation, by design, and it is the only tool registered in that mode.
---
Environment variables
| Variable | Description |
|----------|-------------|
| MCP_SHELL_SEC_CONFIG_FILE | Path to security YAML (overrides built-in secure defaults) |
| MCP_SHELL_ALLOW_UNSAFE | Set 1 (or true) to disable secure mode and expose shell_exec instead of the typed tools (opt-in) |
| MCP_SHELL_SERVER_NAME | Server name (default: "mcp-shell 🐚") |
来源
awesome · https://github.com/sonirico/mcp-shell
按领域浏览
MCP 服务
Traction
108 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

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

浏览全部领域 →

← 返回索引