Shell Execution MCP Server

A Model Context Protocol (MCP) server that provides persistent shell command execution capabilities for Claude and other MCP-compatible AI assistants.

Local serverstdio

What is the Shell Execution MCP Server?

Shell Execution MCP Server is an MCP project maintained in the samihalawa/mcp-server-shell-exec repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides persistent shell command execution capabilities for Claude and other MCP-compatible AI assistants”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /path/to/node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
runInBackgroundboolean, optional): Whether to run the command in the background. Default: false
timeoutMsnumber, optional): Timeout in milliseconds for the command. Default: 30000

How to install the Shell Execution MCP Server

{
  "mcpServers": {
    "shell-exec-server": {
      "command": "/path/to/node",
      "args": [
        "/absolute/path/to/mcp-server-shell-exec/server.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.