# Logics MCP Terminal

> Install, configure, and use the Terminal MCP (server-shell) for running shell commands in Codex/agents. Use when wiring MCP clients to terminal control, executing commands via MCP, or debugging shell access. Use when this capability is needed.

- Skill: `tomevault-io/logics-mcp-terminal` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/logics-mcp-terminal`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/logics-mcp-terminal/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/logics-mcp-terminal

---


# Terminal MCP (server-shell)

## Quick start
1) Ensure Node.js and npm are available.
2) Add the MCP server config (below) to your client.
3) Use MCP tools to run commands safely (pwd, ls, rg, git status).

### Standard MCP config
```json
{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-shell"]
    }
  }
}
```

### Codex CLI command
```bash
codex mcp add terminal -- npx -y @modelcontextprotocol/server-shell
```

## Usage flow (agent-side)
- Start with `pwd` and `ls` to confirm the repo root.
- Use `rg` for fast search.
- Prefer non-destructive commands; avoid `rm -rf`.
- Confirm before running long or risky commands.

## Safety
- Treat the shell as sensitive: it has full filesystem access.
- Avoid exporting secrets into logs or command history.
- For privileged commands, ask the user explicitly.

## Resources
- Client-specific setup: see `references/clients.md`.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/alexago83) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

