# Interminal [Health: Active]

**Category:** 🖥️ Command Line  
**Repository:** https://github.com/QiuwenZheng/interminal  
**GitHub Stars:** 4  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/interminal

## Description
Lightweight MCP server providing terminal access (SSH & local shells) for AI assistants.

## Tools
Capabilities this server exposes over MCP:

- **connect_ssh** — Connect to an SSH server; returns `session_id` and welcome banner
- **execute** — Run a command locally (no session needed) or over SSH; returns output or `status=partial` + `command_id
- **read_output** — Poll a running command for new output without sending input
- **respond** — Send text input to a command waiting at a prompt
- **send_control** — Send control keys: `ctrl+c`, `ctrl+z`, arrow keys, F-keys, etc.
- **disconnect** — Close an SSH session and release all resources

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "interminal": {
    "command": "uvx",
    "args": ["mcp-interminal"]
  }
}
```

## Documentation

## What the Interminal MCP server does

The Interminal MCP server exposes terminal operations for both the machine running the server and remote systems reachable over SSH. It supports ordinary command execution as well as commands that continue running, pause for a prompt, or require terminal control keys.

The `connect_ssh` tool opens an SSH connection and returns a session ID with the remote welcome banner. `execute` can run a local command without a session or target an established SSH session. `disconnect` closes an SSH session and releases its resources.

Interactive command handling is covered by three additional tools. `read_output` retrieves new output from a running command, `respond` sends text to a command waiting for input, and `send_control` sends keys such as `ctrl+c`, `ctrl+z`, arrow keys, and function keys.

## How it works

Each `execute` call uses an isolated channel rather than a persistent shell. A directory change or environment-variable assignment therefore does not carry into the next call. For short operations, combine dependent commands with `&&` in one invocation.

Commands that do not finish immediately return partial status and a `command_id`. The client can use that identifier with `read_output` to poll for more output, or with `respond` and `send_control` when the process needs input or interruption. This supports installers, interactive programs, and other long-running terminal tasks.

For workflows that need state across multiple calls, the documentation recommends using a terminal multiplexer such as Zellij. A multiplexer can keep the working directory, environment, virtual environment, and running processes alive between isolated execution calls. SSH terminal sessions use a 500 by 200 `xterm-256color` PTY.

## Setup and configuration

The Interminal MCP server requires Python 3.11 or newer. The recommended launch method uses `uvx`, which runs the package without a separate permanent installation:

```bash
uvx mcp-interminal
```

It can also be installed with pip:

```bash
pip install mcp-interminal
```

A standard stdio MCP configuration uses `uvx` as the command and `mcp-interminal` as its argument. Claude Desktop and Cursor are documented examples; other clients can use the same command-and-arguments pattern when they support stdio MCP servers.

Two optional extras are available. Install `mcp-interminal[pty]` for Windows PTY support through `pywinpty`, or `mcp-interminal[ansi]` for ANSI escape rendering through `pyte`. Both can be installed together with `mcp-interminal[pty,ansi]`.

## Limitations and notes

The Interminal MCP server does not provide a persistent shell automatically: every execution channel is isolated. Multi-step tasks must either chain commands or use a terminal multiplexer. Long-running commands also require the client or agent to poll and manage their returned command IDs.

Windows PTY and ANSI rendering are optional dependencies rather than part of the base installation.

_Full upstream README: https://allmcps.com/mcp/interminal/readme_

