Remote Terminal MCP
v1.3.3Complete SSH terminal for Linux with AI/user control and dual-stream visibility
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
Values you need
| Variable | What it is | |
|---|---|---|
REMOTE_TERMINAL_ROOT | required | Root directory for config files and database |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add remote-terminal -e 'REMOTE_TERMINAL_ROOT=<REMOTE_TERMINAL_ROOT>' -- uvx --with 'mcp<2' remote-terminal-mcp==1.3.3Add to
claude_desktop_config.json{
"mcpServers": {
"remote-terminal": {
"args": [
"--with",
"mcp<2",
"remote-terminal-mcp==1.3.3"
],
"command": "uvx",
"env": {
"REMOTE_TERMINAL_ROOT": "<REMOTE_TERMINAL_ROOT>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"remote-terminal": {
"args": [
"--with",
"mcp<2",
"remote-terminal-mcp==1.3.3"
],
"command": "uvx",
"env": {
"REMOTE_TERMINAL_ROOT": "<REMOTE_TERMINAL_ROOT>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "REMOTE_TERMINAL_ROOT",
"id": "remote-terminal-root",
"password": true,
"type": "promptString"
}
],
"servers": {
"remote-terminal": {
"args": [
"--with",
"mcp<2",
"remote-terminal-mcp==1.3.3"
],
"command": "uvx",
"env": {
"REMOTE_TERMINAL_ROOT": "${input:remote-terminal-root}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.remote-terminal]
command = "uvx"
args = ["--with", "mcp<2", "remote-terminal-mcp==1.3.3"]
env = { "REMOTE_TERMINAL_ROOT" = "<REMOTE_TERMINAL_ROOT>" }For AI agents
- Ask the user for: REMOTE_TERMINAL_ROOT. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: open_terminal, list_servers, select_server, get_current_server, set_default_server, execute_command, check_command_status, get_command_output, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json