interminal
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-interminalRequires 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 to an SSH server; returns |
| Create a local shell session |
| Run a command; returns output or |
| Poll a running command for new output without sending input |
| Send text input to a command waiting at a prompt |
| Send control keys: |
| Close a session and release all resources |
| List all active sessions |
Key Behaviors
No persistent shell between
executecalls — chain state with&&(e.g.cd /foo && ls)Long-running commands return
status="partial"with acommand_id; poll withread_outputor send input withrespondTUI apps (zellij, tmux, vim, htop) must be started in the foreground — never background with
&; after the server daemonizes, the partial channel can be abandonedSSH 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]" # bothLatest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/QiuwenZheng/interminal'
If you have feedback or need assistance with the MCP directory API, please join our Discord server