# Terminal

Execute commands and manage interactive shell sessions directly within your environment. Automate complex command-line workflows by monitoring output, handling interactive inputs, and managing sessio…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add pungggi/smart-terminal

# Browse available tools
npx -y @smithery/cli@latest tool list pungggi/smart-terminal

# Get full schema for a tool
npx -y @smithery/cli@latest tool get pungggi/smart-terminal terminal_start

# Call a tool
npx -y @smithery/cli@latest tool call pungggi/smart-terminal terminal_start '{}'
```

## Direct MCP Connection

Endpoint: `https://smart-terminal--pungggi.run.tools`

## Tools (9)

- `terminal_start` — Start a terminal session. Auto-detects shell if omitted.
- `terminal_exec` — Run a command in a session and wait for completion.
- `terminal_run` — Run a binary directly. shell=true for built-ins/pipes/redirects.
- `terminal_write` — Write raw data to a terminal session.
- `terminal_read` — Read new output from a terminal session.
- `terminal_wait` — Wait for a pattern to appear in terminal output.
- `terminal_stop` — Stop a terminal session.
- `terminal_list` — List active terminal sessions.
- `terminal_extra` — 8 more tools: terminal_run_paged, terminal_get_history, terminal_resize, terminal_send_key, terminal_watch, terminal_re…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get pungggi/smart-terminal <tool-name>
```
