Remote Terminal

Remote Terminal enables Claude-driven remote Linux management with real-time terminal output, multi-server support, SFTP, batch scripts, and an audit trail.
  • python

1

GitHub Stars

python

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "tim00r-remote-terminal": {
      "command": "C:\\\\RemoteTerminal\\\\remote-terminal-env\\\\Scripts\\\\remote-terminal-mcp.exe",
      "args": [],
      "env": {
        "REMOTE_TERMINAL_ROOT": "C:\\\\RemoteTerminal"
      }
    }
  }
}

Remote Terminal lets Claude manage and automate tasks on your Linux servers through a natural chat interface. You get real-time, browser-based command output while Claude performs actions, saves scripts, and orchestrates workflows across your infrastructure. This MCP setup is designed to be easy to install, configure, and use with an MPC client, so you can focus on outcomes rather than plumbing.

How to use

With the MCP client, you connect to the Remote Terminal MCP server to open a live, interactive terminal in your browser. You type commands as you would in any terminal, and Claude can execute those commands on your remote servers, stream results back in real time, and provide filtered summaries to save tokens.

How to install

# Step 1: Create a working directory for installation (example on Windows):
mkdir C:\RemoteTerminal
cd C:\RemoteTerminal

# Step 2: Set up a dedicated Python virtual environment and install the MCP package
python -m venv remote-terminal-env
remote-terminal-env\Scripts\activate
pip install remote-terminal-mcp

# Step 3: Configure Claude Desktop to run the MCP server
# Edit: %APPDATA%\Claude\claude_desktop_config.json to include the new server
{
  "mcpServers": {
    "remote-terminal": {
      "command": "C:\\RemoteTerminal\\remote-terminal-env\\Scripts\\remote-terminal-mcp.exe",
      "env": {
        "REMOTE_TERMINAL_ROOT": "C:\\RemoteTerminal"
      }
    }
  }
}

Additional setup and configuration

After you start the MCP server, Claude will copy default configuration files to your installation directory on first run. You will typically see a config.yaml and a hosts.yaml file created in your REMOTE_TERMINAL_ROOT. Use these to define your servers and default behavior.

# Optional: Run the standalone web interface for local access to the terminal
cd C:\\RemoteTerminal
remote-terminal-env\\Scripts\\activate
remote-terminal-standalone

# Access:
# Control Panel: http://localhost:8081
# Terminal: http://localhost:8082

Configure your servers

You manage your servers by editing a YAML file that lists each remote server and its connection details. You can prepare a development server or a production server and designate a default for auto-connection.

servers:
  - name: My Server
    host: 192.168.1.100
    user: username
    password: your_password
    port: 22
    description: My development server
    tags:
      - development
# Optional: set default server for auto-connect
# default_server: My Server

Using the web terminal and multi-server features

Open the interactive web terminal at http://localhost:8080. You can type commands, paste text, and view real-time output with syntax highlighting. You can also open multiple terminals that stay synchronized across browsers via WebSocket broadcasting.

Security and best practices

Limit access to the local web terminal to trusted users. Use strong passwords for remote servers, rotate credentials as needed, and monitor the full command audit trail stored in the local database. Remember that password authentication is used in this setup, and SSH keys are not integrated into the MCP workflow by default.

Troubleshooting tips

If the interactive terminal fails to load, check that the MCP server process is running and that the REMOTE_TERMINAL_ROOT path exists. Ensure the Claude Desktop configuration points to the correct command path and environment. Review the logs for any SSH or network errors and verify that the target servers are reachable on port 22.

Notes and tips

Best practice is to close unused terminal tabs to conserve resources. The system supports multiple synchronized terminals, so you can monitor several sessions simultaneously without losing context.

Available tools

remote_command_execution

Executes shell commands on remote Linux servers and streams real-time output back to the web terminal.

sftp_transfer

Provides file transfer capabilities (upload/download) with optional compression.

batch_execution

Runs multi-command scripts in batch to improve speed and reduce round-trips.

batch_library

Stores and manages reusable batch scripts for quick reuse.

conversations

Groups related commands into conversations with rollback support.

recipes

Saves successful workflows for reuse across servers.

database_integration

Maintains a full audit trail in SQLite for commands, conversations, recipes, and scripts.

web_terminal

Offers a fully interactive terminal accessible in a web browser with real-time updates.

ws_sync

Synchronizes multiple terminal sessions via WebSocket broadcast for consistent state.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
Remote Terminal MCP Server - tim00r/remote-terminal | VeilStrat