Skip to main content

No project description provided

Project description

Interminal

Lightweight MCP server that gives AI assistants terminal access — SSH and local shells — with support for interactive and long-running commands.

Installation

# Run directly, no install needed (recommended)
uvx mcp-interminal

# Or install permanently
pip install mcp-interminal

Requires Python ≥ 3.11.

MCP Client Configuration

Claude Desktop (claude_desktop_config.json):

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

Cursor / other clients: same command + args format above.

Tools

Tool Description
connect_ssh Connect to an SSH server; returns session_id and welcome banner
create_local Create a local shell session
execute Run a command; returns output or status=partial + command_id for long-running commands
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 a session and release all resources
list_sessions List all active sessions

Recommended: Install Zellij

Each execute call runs in an isolated channel — there is no persistent shell between calls. For simple tasks, chaining with && works. For multi-step workflows (project development, debugging, deployment), a terminal multiplexer provides persistent state that survives across calls.

Zellij is strongly recommended on the host machine (local or remote):

# Linux / macOS / WSL
cargo install zellij    # or: brew install zellij

# Check if installed
zellij --version

With Zellij installed, the AI agent will automatically create a persistent session where cd, environment variables, virtual environments, and long-running processes carry over naturally. As a bonus, you can run zellij attach <session-name> to watch the AI's terminal work in real-time.

Key Behaviors

  • Stateless execute — each call is an isolated channel; cd /foo does not persist. Simple tasks: chain with &&. Multi-step workflows: the AI will use a Zellij session for persistent state
  • Long-running commands return status="partial" with a command_id; poll with read_output or send input with respond
  • TUI apps (zellij, vim, htop) must be started in the foreground — never background with &; after the server daemonizes, the partial channel can be abandoned
  • SSH PTY is 500×200 xterm-256color so multiplexer sessions render at your actual terminal size

Optional Dependencies

pip install "mcp-interminal[pty]"       # Windows PTY support (pywinpty)
pip install "mcp-interminal[ansi]"      # ANSI escape rendering (pyte)
pip install "mcp-interminal[pty,ansi]"  # both

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_interminal-1.0.5.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_interminal-1.0.5-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_interminal-1.0.5.tar.gz.

File metadata

  • Download URL: mcp_interminal-1.0.5.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_interminal-1.0.5.tar.gz
Algorithm Hash digest
SHA256 1f9e437e378c49f977d033ad82bab235d195ed4f064cfa20917d432afd06addf
MD5 c1e45e076fe72a8045b5063027220fb2
BLAKE2b-256 b322bcd3e238838457abe9f0443fd65e0237465eb03aca9ed35b86e67a1c4a0d

See more details on using hashes here.

File details

Details for the file mcp_interminal-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: mcp_interminal-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_interminal-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 34c74bda726abb97a7e42eb1b149df38eb52b9bc992f3ae7406adcdf91b67645
MD5 e613402814aeacc348f1e26c02c5b94d
BLAKE2b-256 bf5733baf3b6494eb7f16f27de67bf64c68cdd36e5ad7dd81f5caafbf1591c99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page