# exec-dir-mcp

> exec-dir-mcp — yunhai-dev-exec-dir-mcp. Use this tool when you need to execute shell commands in a secure and controlled environment, with features like directory restrictions and timeout control, to prevent unauthorized access or resource overload. It solves problems related to command execution security and logging, providing a safe way to run commands in specified directories. The tool takes shell commands and directory paths as input and outputs detailed logs, making it ideal for use cases requiring auditable and restricted command execution.

Canonical page: https://skillsregistry.net/skills/yunhai-dev-exec-dir-mcp  
JSON: https://api.skillsregistry.net/v1/skills/yunhai-dev-exec-dir-mcp

## Description

A Model Context Protocol server for safely executing shell commands in specified directories with directory restrictions, timeout control, and detailed logging.

## Trust

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

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** monitoring
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/uhgl2sym9j)
- **Repository:** <https://github.com/yunhai-dev/exec-dir-mcp>

## 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": "yunhai-dev-exec-dir-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/yunhai-dev-exec-dir-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/yunhai-dev-exec-dir-mcp/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
