AcademyMCP serversDevelopment

mcp-shell-server

Development and operations teams that want an assistant to run approved commands on a machine under clear limits.

  • Recommendedour rating
  • 201gitHub stars
  • MITlicence
  • 4 days agolast update
claude mcp add shell -e ALLOW_COMMANDS=ls,cat,pwd,grep,wc,touch,find -- uvx mcp-shell-server
README.md

Loading the file...

What it does

An MCP server that lets an AI assistant run shell commands from an allowlist you define. Commands run as argument lists without shell-string interpretation, and it returns stdout, stderr, exit status and execution time. It also enforces timeouts and output size limits.

Use cases

  1. 01Run an approved build or test command
  2. 02Check disk or process status on a server
  3. 03Pipe a file into an allowed command

Questions about
mcp-shell-server.

What is mcp-shell-server used for?

Development and operations teams that want an assistant to run approved commands on a machine under clear limits. An MCP server that lets an AI assistant run shell commands from an allowlist you define. Commands run as argument lists without shell-string interpretation, and it returns stdout, stderr, exit status and execution time. It also enforces timeouts and output size limits.

How do I install mcp-shell-server?

Run this in your terminal: claude mcp add shell -e ALLOW_COMMANDS=ls,cat,pwd,grep,wc,touch,find -- uvx mcp-shell-server

Is mcp-shell-server open source?

Yes. The code is on GitHub (tumf/mcp-shell-server) under the MIT licence.

Is mcp-shell-server safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.