interminal
@QiuwenZheng
About interminal
Lightweight MCP server for SSH and local terminal access
Basic information
Category
Developer Tools
License
MIT
Runtime
python
Transports
stdio
Publisher
QiuwenZheng
Submitted by
Zheng Qiuwen
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"interminal": {
"command": "uvx",
"args": [
"mcp-interminal"
]
}
}
}Tools
6Connect to an SSH server; returns `session_id` and welcome banner
Run a command locally (no session needed) or over SSH; returns output or `status=partial` + `command_id`
Poll a running command for new output without sending input
Send text input to a command waiting at a prompt
Send control keys: `ctrl+c`, `ctrl+z`, arrow keys, F-keys, etc.
Close an SSH session and release all resources
Overview
What is interminal?
Lightweight MCP server that gives AI assistants terminal access — SSH and local shells — with support for interactive and long-running commands.
How to use interminal?
Install via pip install mcp-interminal or run directly with uvx mcp-interminal. Configure your MCP client (e.g., Claude Desktop) using the command uvx with arguments ["mcp-interminal"]. Requires Python ≥ 3.11.
Key features of interminal
- SSH and local shell execution
- Interactive and long-running command support
- Tools: connect_ssh, execute, read_output, respond, send_control, disconnect
- Optional persistent state with Zellij terminal multiplexer
- Send control keys like ctrl+c, arrow keys, and F-keys
- Optional Windows PTY and ANSI rendering dependencies
Use cases of interminal
- AI-driven remote server management via SSH
- Executing shell commands and chaining with &&
- Multi-step workflows like project development and deployment
- Interactive applications requiring prompt responses
- Monitoring long-running commands with partial output
FAQ from interminal
How does execute handle persistent state?
Each execute call runs in an isolated channel; cd does not persist. For multi-step workflows, install Zellij on the host to provide a persistent session that carries over environment and state.
What are the optional dependencies?
Windows PTY support: pip install mcp-interminal[pty]. ANSI escape rendering: pip install mcp-interminal[ansi]. Both can be installed with pip install mcp-interminal[pty,ansi].
How do long-running commands work?
They return status="partial" with a command_id. Poll for output with read_output or send input with respond while the command runs.
What runtime is required?
Python 3.11 or higher.
How are SSH connections authenticated?
The README does not detail SSH authentication; SSH credentials are provided by the user when connecting. The server communicates with the MCP client via stdio.
More Developer Tools MCP servers
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
Comments