# Secure Shell Executor

> Use this tool when you need to securely execute shell commands with robust validation and safety features, solving problems of unauthorized access and uncontrolled shell execution in AI assistant conversations. It takes shell commands as input and returns execution results as output, with features like command whitelisting and timeout handling. Ideal for workflows requiring controlled shell access, it provides a clean API for executing commands with proper error handling and resource cleanup.

Canonical page: https://skillsregistry.net/skills/diegofornalha-secure-shell  
JSON: https://api.skillsregistry.net/v1/skills/diegofornalha-secure-shell

## Description

MCP Shell Server provides a secure way to execute shell commands through the MCP protocol, with robust validation and safety features. The implementation includes command whitelisting through environment variables, directory validation to prevent unauthorized access, support for input/output redirection and command pipelines, and timeout handling for long-running processes. Built with Python using asyncio for non-blocking execution, it offers a clean API for executing commands with proper error handling and resource cleanup, making it ideal for workflows requiring controlled shell access within AI assistant conversations.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** devops-ci
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/diegofornalha-secure-shell)
- **Repository:** <https://github.com/diegofornalha/mcp-shell-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "diegofornalha-secure-shell"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/diegofornalha-secure-shell` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/diegofornalha-secure-shell/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
