# Terminal Session

> Use this tool when you need to interact with command-line interfaces or run interactive terminal applications, such as file system navigation or text editing, while maintaining session state and context. It provides a stateful terminal session with tools for executing commands and interactive TUI applications, handling control sequences and multi-line outputs. Ideal for AI systems that require persistent bash sessions or interactive program execution, such as Python REPL.

Canonical page: https://skillsregistry.net/skills/dwrtz-terminal-session  
JSON: https://api.skillsregistry.net/v1/skills/dwrtz-terminal-session

## Description

This MCP server, developed by dwrtz, provides stateful, TUI-compatible terminal sessions for AI assistants. Built with Go and leveraging the mcp-go library, it offers two main tools: 'run' for executing commands in persistent bash sessions, and 'runScreen' for interactive TUI applications. The implementation focuses on maintaining session state, handling control sequences, and supporting multi-line outputs. It's particularly useful for AI systems that need to interact with command-line interfaces, enabling use cases such as file system navigation, text editing in vim, or running interactive programs like Python REPL without losing context between commands.

## 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:** file-system
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/dwrtz-terminal-session)
- **Repository:** <https://github.com/dwrtz/mcpterm>

## 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": "dwrtz-terminal-session"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/dwrtz-terminal-session` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/dwrtz-terminal-session/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
