1. Conduid
  2. Developer Tools
  3. sonirico/mcp-shell
MCP server · Developer Tools

sonirico/mcp-shell

Give hands to AI. MCP server to run shell commands securely, auditably, and on demand.

68Good

Scored 21 hours ago · breakdown

About sonirico/mcp-shell

sonirico/mcp-shell is an MCP server published by sonirico in the Developer Tools category: give hands to AI. MCP server to run shell commands securely, auditably, and on demand. Conduid read 30 tools from its source: delete, diff_files, edit_file, git_add, git_blame, git_branches and 24 more. No package is published for it, so it installs from a source checkout.

The repository has 114 stars and 20 forks, is licensed GPL-3.0, and its last commit was on 25 Sep 2026. The latest release is v1.1.1 (25 Sep 2026): Bug Fixes case-fold the git control-surface write guard (GHSA-vv99-jjh6-3c8x) (aa868dc) Fixes GHSA-vv99-jjh6-3c8x, an incomplete fix for GHSA-c598-5pxh-5vq3. It follows v1.1.0 (13 Sep 2026), and the 5 most recent releases go back to v0.8.1 (4 Sep 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include shell, command and automation.

Install

From source
git clone https://github.com/sonirico/mcp-shell

Tools (30)

deletepath*, recursive
ParameterTypeDescription
path *stringPath relative to the workspace root
recursivebooleanDelete directories and their contents recursively
diff_filespath_a*, path_b*
ParameterTypeDescription
path_a *stringFirst file, relative to the workspace root
path_b *stringSecond file, relative to the workspace root
edit_filepath*, old_string*, new_string*, replace_all
ParameterTypeDescription
new_string *stringReplacement string
old_string *stringExact string to replace
path *stringPath relative to the workspace root
replace_allbooleanReplace all occurrences instead of requiring a unique match
git_addpaths, all
ParameterTypeDescription
allbooleanStage all changes
pathsarrayPaths to stage, relative to the workspace root
git_blamepath*, ref, line_start, line_end
ParameterTypeDescription
line_endnumberLast line to blame, 1-based
line_startnumberFirst line to blame, 1-based
path *stringFile to blame, relative to the workspace root
refstringCommit or ref to blame at
git_branchesall, merged
ParameterTypeDescription
allbooleanInclude remote-tracking branches
mergedbooleanOnly branches merged into HEAD
git_commitmessage*, all
ParameterTypeDescription
allbooleanStage all modified and deleted tracked files before committing
message *stringCommit message
git_diffref, ref_to, staged, path, stat_only, name_only
ParameterTypeDescription
name_onlybooleanShow only changed file names
pathstringRestrict diff to this path, relative to the workspace root
refstringBase ref to diff from
ref_tostringRef to diff to, requires ref
stagedbooleanShow staged changes
stat_onlybooleanShow only the diffstat
git_logmax_count, ref, path, author, grep, since, until, oneline, follow
ParameterTypeDescription
authorstringFilter by author
followbooleanFollow file history across renames
grepstringFilter by commit message pattern
max_countnumberMaximum number of commits to show
onelinebooleanOne line per commit
pathstringRestrict log to this path, relative to the workspace root
refstringCommit or ref to start from
sincestringOnly commits after this date
untilstringOnly commits before this date
git_ls_filespath, untracked
ParameterTypeDescription
pathstringRestrict listing to this path, relative to the workspace root
untrackedbooleanList untracked files instead of tracked ones
git_remotesList remotes and their URLs
git_restorepaths*, staged
ParameterTypeDescription
paths *arrayPaths to restore, relative to the workspace root
stagedbooleanRestore the index instead of the working tree
git_rev_parseref*
ParameterTypeDescription
ref *stringRef to resolve
git_showref, path, stat_only
ParameterTypeDescription
pathstringFile to show, relative to the workspace root
refstringCommit or ref to show
stat_onlybooleanShow only the diffstat
git_stashaction*, message
ParameterTypeDescription
action *stringOne of push, pop, drop
messagestringMessage for a stash push
git_stash_listList the stash entries
git_statusShow the working tree status
git_switchbranch*, create
ParameterTypeDescription
branch *stringBranch to switch to
createbooleanCreate the branch before switching to it
git_tagspattern
ParameterTypeDescription
patternstringOnly list tags matching this pattern
globpattern*, path, newer_than, max_results
ParameterTypeDescription
max_resultsnumberMaximum number of results
newer_thanstringOnly include files modified within this duration, e.g. "24h"
pathstringBase path relative to the workspace root
pattern *stringDoublestar glob pattern
greppattern*, path, glob, ignore_case, context, files_only, count, max_results
ParameterTypeDescription
contextnumberLines of context before/after each match
countbooleanOnly list match counts per file
files_onlybooleanOnly list matching file names
globstringRestrict search to files matching this doublestar pattern
ignore_casebooleanCase-insensitive matching
max_resultsnumberMaximum number of matches
pathstringBase path relative to the workspace root
pattern *stringRegular expression pattern
list_dirpath, depth, include_hidden
ParameterTypeDescription
depthnumberLevels below path to descend
include_hiddenbooleanInclude dotfiles and dot-directories
pathstringPath relative to the workspace root
mkdirpath*
ParameterTypeDescription
path *stringPath relative to the workspace root
movefrom*, to*
ParameterTypeDescription
from *stringSource path relative to the workspace root
to *stringDestination path relative to the workspace root
read_filepath*, offset, limit, tail
ParameterTypeDescription
limitnumberNumber of lines to read, 0 for all
offsetnumber1-based first line to read
path *stringPath relative to the workspace root
tailnumberNumber of trailing lines to read, overrides offset/limit
run_scriptname*
ParameterTypeDescription
name *stringName of the script to run
shell_execUNRESTRICTED: runs the command through bash -c with no validation. Only available with MCP_SHELL_ALLOW_UNSAFE=1.
ParameterTypeDescription
base64booleanReturn stdout/stderr as base64-encoded strings (useful for binary data)
command *stringShell command to execute
statpath*
ParameterTypeDescription
path *stringPath relative to the workspace root
system_infoShow information about the host and workspace
write_filepath*, content*, append
ParameterTypeDescription
appendbooleanAppend to the file instead of overwriting it
content *stringContent to write
path *stringPath relative to the workspace root

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.1K words.
  • ✓License declaredThe repository declares the GPL-3.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum.
  • ✓No dynamic code executionScanned 12 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiomain.go:87
Starts other programs
2 callsexecutor.go:76, executor.go:116
Outbound network calls
No outbound network calls
Writes or deletes files
10 callsexecutor.go:137, paths.go:15, tools_fs.go:636
Lockfile
go.sum

Pattern matches on the source text of 12 files: places to read, not proof of what the code does at run time.

Releases

v1.1.1v1.1.1 · 25 Sep 2026Bug Fixes case-fold the git control-surface write guard (GHSA-vv99-jjh6-3c8x) (aa868dc) Fixes GHSA-vv99-jjh6-3c8x, an incomplete fix for GHSA-c598-5pxh-5vq3.
v1.1.0v1.1.0 · 13 Sep 2026Features security: confine child process execution with a Landlock sandbox Every secure-mode child (git tools, run_script) now runs under a Landlock domain that allows writes only inside `working_directory` and denies all TCP connect/bind.…
v1.0.1v1.0.1 · 13 Sep 2026Bug Fixes security: reject client writes to git's control surface (GHSA-c598-5pxh-5vq3) Closes the critical advisory GHSA-c598-5pxh-5vq3. With `writes_enabled: true`, a client could plant a repo-local git content-filter driver via…
v1.0.0v1.0.0 · 4 Sep 20261.0.0 (2026-09-04) ⚠ BREAKING CHANGES replace secure-mode shell_exec with typed tools Features paths: add workspace path confinement (b398e0d) replace secure-mode shell_exec with typed tools (cda5814) tools: add file and git write tools…
v0.8.1v0.8.1 · 4 Sep 20260.8.1 (2026-09-04) Bug Fixes security: deny abbreviated forms of denied git long options (743791c) security: deny abbreviated forms of denied git long options (d205560)

README

The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About sonirico/mcp-shell

How do I install sonirico/mcp-shell?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is sonirico/mcp-shell safe to use with an AI agent?

Its trust score is 68 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 12 source files found that it serves MCP over stdio, starts other programs (2 calls) and writes or deletes files (10 calls). Its dependencies are pinned by go.sum. It has no ConduID identity yet, so agent calls to it are not receipted.

Is sonirico/mcp-shell still maintained?

Yes — the latest release is v1.1.1 (25 Sep 2026), and the last commit was 2 months ago. The repository has 114 stars.

What tools does sonirico/mcp-shell provide?

Conduid read 30 tools from the source: delete, diff_files, edit_file, git_add, git_blame, git_branches, git_commit, git_diff and 22 more. 26 of them publish their parameters, listed under Tools above.

What license is sonirico/mcp-shell released under?

The repository declares the GPL-3.0 license. That applies to the latest release, v1.1.1, as well.