About Electerm
Electerm is an MCP server published by electerm in the Developer Tools category: free and open-sourced terminal/ssh/sftp/ftp/telnet/serialport/RDP/VNC/Spice client(Linux, Mac, Windows, Android, HarmonyOS, iOS). Conduid read 70 tools from its source: add_bookmark, add_electerm_bookmark_group, add_electerm_bookmark_local, add_electerm_bookmark_serial, add_electerm_bookmark_ssh, add_electerm_bookmark_telnet and 64 more. No package is published for it, so it installs from a source checkout.
The repository has 16K stars and 1.3K forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v6.0.6 (1 Dec 2026): Major updates Uses IPC instead of WebSocket for internal communication, avoid close laptop break the connection issue AI Agent Mode: manual and automatic approvals, the… It follows v5.20.0 (27 Nov 2026), and the 5 most recent releases go back to v5.11.8 (16 Nov 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include linux-app, electerm, macos-app, devtools, file-manager and ftp.
Install
git clone https://github.com/electerm/electermTools (70)
add_bookmarkCreate a new bookmark. Specify the type and provide type-specific fields. Supported types:add_electerm_bookmark_groupAdd a new electerm bookmark group| Parameter | Type | Description |
|---|---|---|
| parentId | string | Optional parent group ID |
| title * | string | Group title |
add_electerm_bookmark_localAdd a new Local terminal bookmark to electermadd_electerm_bookmark_serialAdd a new Serial bookmark to electermadd_electerm_bookmark_sshAdd a new SSH bookmark to electermadd_electerm_bookmark_telnetAdd a new Telnet bookmark to electermcancel_background_taskCancel a running background task by killing its process.| Parameter | Type | Description |
|---|---|---|
| taskId * | string | Task ID from run_background_command. |
cancel_electerm_terminal_commandCancel the currently running command in a terminal by sending Ctrl+C. Use this to interrupt a long-running or stuck command.| Parameter | Type | Description |
|---|---|---|
| tabId | string | Tab ID to cancel command in (default: active tab) |
cancel_terminal_commandCancel the running command in a terminal by sending Ctrl+C.| Parameter | Type | Description |
|---|---|---|
| tabId | string | Tab ID. Omit for active terminal. |
close_electerm_tabClose a specific electerm tab| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID to close |
close_tabClose a terminal tab by its ID. Use this to clean up tabs after a task is finished.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | The tab ID to close. |
delete_electerm_bookmarkDelete an electerm bookmark| Parameter | Type | Description |
|---|---|---|
| id * | string | Bookmark ID to delete |
duplicate_electerm_tabDuplicate an electerm tab| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID to duplicate |
edit_electerm_bookmarkEdit an existing electerm bookmark| Parameter | Type | Description |
|---|---|---|
| id * | string | Bookmark ID to edit |
| updates * | object | Fields to update |
electerm_sftp_del_file_or_folderDelete a file or folder on the remote SSH server| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote file or directory path to delete |
| tabId | string | SSH tab ID (default: active tab) |
electerm_sftp_downloadDownload a remote file or folder from the SSH server to a local path using the SFTP transfer panel| Parameter | Type | Description |
|---|---|---|
| conflictPolicy | string | Conflict policy: mergeOrOverwriteAll or renameAll (default: mergeOrOverwriteAll). Only applies when autoConfirmTransfers is on; otherwise the user resolves conflicts in the transfer dialog. |
| localPath * | string | Local destination path |
| remotePath * | string | Remote file or directory path to download |
| tabId | string | SSH tab ID (default: active tab) |
electerm_sftp_listList files and folders in a remote directory on the SSH-connected tab| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote directory path to list |
| tabId | string | SSH tab ID (default: active tab) |
electerm_sftp_read_fileRead the content of a remote file on the SSH server| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote file path to read |
| tabId | string | SSH tab ID (default: active tab) |
electerm_sftp_statGet file or directory stat/info on the remote SSH server| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote file or directory path |
| tabId | string | SSH tab ID (default: active tab) |
electerm_sftp_transfer_historyGet the history of completed/failed SFTP file transferselecterm_sftp_transfer_listGet the list of all currently active/pending SFTP file transferselecterm_sftp_uploadUpload a local file or folder to the remote SSH server using the SFTP transfer panel| Parameter | Type | Description |
|---|---|---|
| conflictPolicy | string | Conflict policy: mergeOrOverwriteAll or renameAll (default: mergeOrOverwriteAll). Only applies when autoConfirmTransfers is on; otherwise the user resolves conflicts in the transfer dialog. |
| localPath * | string | Local file or folder path to upload |
| remotePath * | string | Remote destination path. When uploading a file to an existing directory, the local filename is appended. |
| tabId | string | SSH tab ID (default: active tab) |
electerm_zmodem_downloadDownload remote files from the SSH server using trzsz (tsz) or rzsz (sz). The SSH tab must have the chosen protocol installed.| Parameter | Type | Description |
|---|---|---|
| protocol | string | Transfer protocol: trzsz (tsz) or rzsz (sz) (default: rzsz) |
| remoteFiles * | array | List of remote file paths to download |
| saveFolder * | string | Local folder path to save downloaded files |
| tabId | string | SSH tab ID (default: active tab) |
electerm_zmodem_uploadUpload local files to the remote SSH server using trzsz (trz) or rzsz (rz). The SSH tab must have the chosen protocol installed.| Parameter | Type | Description |
|---|---|---|
| files * | array | List of local file paths to upload |
| protocol | string | Transfer protocol: trzsz (trz) or rzsz (rz) (default: rzsz) |
| tabId | string | SSH tab ID (default: active tab) |
execute_electerm_commandExecute a non-interactive shell command and return a structured result: { stdout, stderr, exitCode, durationMs, timedOut, truncated, mode, tabId }. On SSH tabs this uses a dedicated exec channel (mode="exec") with real stdout/stderr/exit code capture — no terminal buffer parsing needed. On other tabs it falls back to sentinel-based PTY capture (mode="pty", stderr merged into stdout). Prefer this over send_electerm_terminal_command + wait_for_electerm_terminal_idle for regular commands like git status, docker ps, npm test. For interactive programs (vim, top, ssh) use the terminal send/read tools instead. For long-running commands pass wait=false: runs in the background and returns an MCP task handle (poll with tasks/get, stop with tasks/cancel). Requires the MCP Tasks extension.| Parameter | Type | Description |
|---|---|---|
| command * | string | The shell command to execute |
| mode | string | Execution mode: "exec" (default) uses the SSH exec channel with PTY fallback; "pty" forces execution in the visible terminal (for commands needing a TTY: colors, sudo prompts, TTY-aware tools). Ignored when wait=false. |
| tabId | string | Tab ID to run on (default: active tab) |
| timeoutMs | number | Max execution time in ms (default: 120000, max: 600000). On timeout returns partial output with timedOut=true. |
| wait | boolean | Wait for completion and return the structured result (default: true). Set false for long-running commands to get a task handle instead. |
export_bookmarksOpen a panel that exports a filtered set of bookmarks to a JSON file. Use it when the user asks to export a subset of bookmarks, e.g. "all SSH bookmarks that use a private key": build the filter, call this once, and tell the user the panel is open. Matching runs inside the app, the user sees the matches and confirms the export there, and no bookmark field value (host, username, password, private key, ...) is returned to you.get_active_tabGet the currently active terminal tab.get_background_task_logRead the output log of a background task. Returns the last N lines.| Parameter | Type | Description |
|---|---|---|
| lines | number | Number of recent lines to read (default 100). |
| taskId * | string | Task ID from run_background_command. |
get_background_task_statusCheck if a background task is running, completed (with exit code), or unknown.| Parameter | Type | Description |
|---|---|---|
| taskId * | string | Task ID from run_background_command. |
get_electerm_active_tabGet the currently active electerm tabget_electerm_bookmarkGet a specific electerm bookmark by ID| Parameter | Type | Description |
|---|---|---|
| id * | string | Bookmark ID |
get_electerm_command_rulesGet the command rules enforced by send_electerm_terminal_command and execute_electerm_command, so a command can be checked before it is sent. Returns { mode, builtinBlacklist, commandBlacklist, commandWhitelist }. Entries are regular expression sources tested against the command string with RegExp#test. For example, "^ls" matches command strings starting with "ls". The built-in and configured blacklists take precedence over the whitelist. A non-empty whitelist requires the command to match at least one whitelist entry. Configured patterns are returned even if invalid. Invalid blacklist entries are skipped, and invalid whitelist entries never match. These are the rules the running instance started with — editing the widget config takes effect only after a restart. They guard against accidents, not a determined bypass: an allowed command still runs with the session user's full rights on the remote host.get_electerm_settingsGet current electerm application settingsget_electerm_terminal_outputGet recent electerm terminal output/buffer content| Parameter | Type | Description |
|---|---|---|
| lines | number | Number of lines to return (default: 50) |
| tabId | string | Optional: specific tab ID |
get_electerm_terminal_selectionGet the current text selection in electerm terminal| Parameter | Type | Description |
|---|---|---|
| tabId | string | Optional: specific tab ID |
get_electerm_terminal_statusGet the current status of a terminal tab. Returns whether it is actively receiving data (running), idle (no data for 4+ seconds), or has a password prompt, plus whether session keepalive is on. Also returns the last 20 lines of terminal output. This is a lightweight, non-blocking check ideal for monitoring long-running commands.| Parameter | Type | Description |
|---|---|---|
| tabId | string | Tab ID to check (default: active tab) |
get_terminal_outputRead the current visible output from a terminal.| Parameter | Type | Description |
|---|---|---|
| lines | number | Number of recent lines to read (default 50). |
| tabId | string | Terminal tab ID. Omit for active terminal. |
get_terminal_statusCheck terminal status: running (actively receiving data), idle, or password prompt. Returns last 20 lines of output. Lightweight, non-blocking.| Parameter | Type | Description |
|---|---|---|
| tabId | string | Tab ID. Omit for active terminal. |
list_bookmarksList all saved bookmarks (SSH, Telnet, VNC, etc.).list_electerm_bookmark_groupsList all electerm bookmark groups/folderslist_electerm_bookmarksList all electerm SSH/terminal bookmarkslist_electerm_tabsList all open electerm terminal tabslist_tabsList all open terminal tabs with their IDs, titles, hosts, and types.open_bookmarkOpen a saved bookmark as a new terminal tab.| Parameter | Type | Description |
|---|---|---|
| id * | string | The bookmark ID to open. |
open_electerm_bookmarkOpen an electerm bookmark in a new tab| Parameter | Type | Description |
|---|---|---|
| id * | string | Bookmark ID to open |
open_electerm_local_terminalOpen a new electerm local terminal tabopen_electerm_tab_localOpen a new Local terminal tab directly with connection parameters (no bookmark created)open_electerm_tab_serialOpen a new Serial terminal tab directly with connection parameters (no bookmark created)open_electerm_tab_sshOpen a new SSH terminal tab directly with connection parameters (no bookmark created)open_electerm_tab_telnetOpen a new Telnet terminal tab directly with connection parameters (no bookmark created)open_local_terminalOpen a new local terminal tab. Returns the new tab ID.open_tabOpen a terminal tab directly with connection parameters without creating a bookmark. Supported types:reload_electerm_tabReload/reconnect an electerm tab| Parameter | Type | Description |
|---|---|---|
| tabId | string | Tab ID to reload (default: active tab) |
run_background_commandRun a command in the background using nohup. The terminal is freed immediately. Returns a taskId for monitoring. Use get_background_task_status and get_background_task_log to check progress.| Parameter | Type | Description |
|---|---|---|
| command * | string | The shell command to run in the background. |
| tabId | string | Tab ID. Omit for active terminal. |
send_electerm_terminal_commandSend a command to the active electerm terminal. For non-interactive commands, prefer execute_electerm_command — it returns structured stdout/stderr/exitCode in one call instead of requiring send + wait + read.| Parameter | Type | Description |
|---|---|---|
| command * | string | Command to send |
| inputOnly | boolean | Input only mode (no enter key) |
| tabId | string | Optional: specific tab ID |
send_terminal_commandSend a command to a terminal tab and wait for it to finish. Returns the command output. For long-running commands (builds, deployments, installations), use run_background_command instead to avoid timeouts.| Parameter | Type | Description |
|---|---|---|
| command * | string | The shell command to execute |
| tabId | string | Terminal tab ID. Omit to use the active terminal. |
set_electerm_terminal_keepaliveTurn session keepalive on or off for a terminal session. While on, electerm writes a newline to the session whenever it has been idle, resetting shell idle timeouts so the connection is not killed. Use it before long work on a session nobody is typing into, e.g. a large electerm_sftp_upload / electerm_sftp_download. Returns the resulting state as `keepalive`.| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true to start sending keepalive, false to stop |
| tabId | string | Tab ID (default: active tab) |
set_terminal_keepaliveTurn session keepalive on or off for a terminal. While on, a newline is written to the session whenever it has been idle, resetting shell idle timeouts so the connection is not killed. Use it before long work on a session nobody is typing into, e.g. a large SFTP transfer.| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true to start sending keepalive, false to stop. |
| tabId | string | Tab ID. Omit for active terminal. |
sftp_delDelete a remote file or directory via SFTP.| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote file or directory path to delete. |
| tabId | string | SSH/FTP tab ID. Omit to use the active tab. |
sftp_downloadDownload a remote file to a local path via SFTP.| Parameter | Type | Description |
|---|---|---|
| localPath * | string | Local destination path. |
| remotePath * | string | Remote file path to download. |
| tabId | string | SSH/FTP tab ID. Omit to use the active tab. |
sftp_listList files and directories at a remote path via SFTP. Requires an SSH/FTP tab.| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote directory path to list. |
| tabId | string | SSH/FTP tab ID. Omit to use the active tab. |
sftp_read_fileRead the contents of a remote file via SFTP.| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote file path to read. |
| tabId | string | SSH/FTP tab ID. Omit to use the active tab. |
sftp_statGet file/directory stats (size, permissions, etc.) at a remote path via SFTP.| Parameter | Type | Description |
|---|---|---|
| remotePath * | string | Remote path to stat. |
| tabId | string | SSH/FTP tab ID. Omit to use the active tab. |
sftp_transfer_historyList past SFTP file transfer history.sftp_transfer_listList current active SFTP file transfers.sftp_uploadUpload a local file to a remote server via SFTP.| Parameter | Type | Description |
|---|---|---|
| localPath * | string | Local file path to upload. |
| remotePath * | string | Remote destination path. |
| tabId | string | SSH/FTP tab ID. Omit to use the active tab. |
switch_electerm_tabSwitch to a specific electerm tab| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID to switch to |
switch_tabSwitch to a different terminal tab.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | The tab ID to switch to. |
update_settingChange one electerm preference requested by the user. Look up the key with list_settings first and use the exact option value and type.| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| value * | any |
wait_for_electerm_terminal_idleWait until the active terminal stops producing output, then return its content. Use this after send_electerm_terminal_command to know when the command has finished. The terminal is considered idle when no data has arrived for ~4 seconds. Returns output and elapsed time; timedOut=true if the command was still running at the timeout.| Parameter | Type | Description |
|---|---|---|
| lines | number | Lines of terminal output to return when idle (default: 50) |
| minWait | number | Initial delay before polling starts, ms (default: 1000) |
| tabId | string | Tab ID to watch (default: active tab) |
| timeout | number | Max milliseconds to wait for idle (default: 30000, max: 120000) |
Security checks
Static checks derived from the repository 6 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 844 source files and found 2 calls to eval or shell execution, in src/app/lib/fs.js:249 and src/app/widgets/widget-ssh-server.js:298. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- Streamable HTTPsrc/app/mcp/server/streamableHttp.js:32
- Starts other programs
- 14 callssrc/app/lib/check-host.js:34, src/app/lib/desktop-update.js:71, src/app/lib/fs.js:78
- Outbound network calls
- 21 callssrc/app/lib/ai.js:120, src/app/lib/npm.js:11, src/app/lib/npm.js:16
- Writes or deletes files
- 70 callssrc/app/lib/ai-chat-files.js:26, src/app/lib/ai-chat-files.js:29, src/app/lib/ai-chat-files.js:39
- Lockfile
- package-lock.json
Pattern matches on the source text of 844 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.2K words, fetched 6 hours ago. The original in the repository is authoritative.
Read full README