User Guide / Chapter 10
10. Claude panel
Click Claude in the title bar (or press
Ctrl+Shift+A) to open the official Claude Code CLI on the right. Nubis starts a built-in MCP server (127.0.0.1, with a new token on every run) and connects it automatically, so Claude can work with Nubis directly.10.1 First use
- Install the Claude Code CLI:
npm install -g @anthropic-ai/claude-code - When you first open the panel, Claude asks whether to trust the working folder (
%APPDATA%\Nubis\claude). Choose Yes. - If you are not signed in, type
/login.
10.2 What you can ask (examples)
| Goal | Say |
|---|---|
| Connect | "Connect to web-01" |
| Bring in servers | "Bring in all our servers" — Claude looks for cloud profiles, ~/.ssh/config, mRemoteNG and the AD domain on this PC and suggests what to add |
| Import | "Import my ~/.ssh/config" · "Import the servers in AD domain corp.example.com, servers only" |
| Cloud | "Add all AWS profiles" · "Sign in to the prod profile" · "Re-sync the AWS profile" |
| Check several servers | "Check disk usage on the Production group" |
| Analyze the current screen | (while looking at a tab) "What is this error?" — the tab you are viewing is sent with every question |
| Read logs | "Show the end of /var/log/nginx/error.log on web-01" |
| Diagnose connection problems | "I can't connect to web-02, find out why" |
| Manage hosts | "Add 10.0.1.5 as web-02 in Production and link the ops account" · "Star db-replica" |
| Groups | "Rename the On-prem / Web group to Web" · "Set the default SSH account for PRODUCTION to ops" |
| Tabs | "Reconnect all disconnected tabs" |
| Remote files | "Create a folder /tmp/x on demo-sftp" |
| RDP screen | (on an RDP tab) "Open PowerShell and check the status of the Spooler service" |
| App settings | "Set the terminal theme to dracula and the font size to 16" · "Turn on copy-on-select" |
| Setup help | "Walk me through setting up GitHub sign-in" |
While Claude runs commands on servers, a Running · Cancel bar appears at the top of the panel. Cancelling returns immediately and skips servers that haven't started (commands already started may run to completion). With many servers the output per server is reduced, and long output keeps the beginning and the end (where errors usually are).
capture_screen switches back to the tab you were viewing after capturing.10.3 Approval and logging
| Action | Approval |
|---|---|
| Lookups (host, group, tab, closed-tab, cloud-profile and Vault lists, reading the screen, terminal state (current folder, user), screen capture, connection diagnosis, reading settings, finding import sources), cloud re-sync | None |
Showing a Vault account's public key (vault_get_public_key) or the stored host keys (list_known_hosts) | None (written to the audit log) |
Screen and tab actions: opening, switching, renaming, reconnecting and reopening tabs (open_session, select_session, rename_session, reconnect_session, reopen_closed_tab), a new local PowerShell tab, showing the SFTP panel, collapsing groups, opening app screens (open_app_page), connecting up to 8 hosts at once (connect_hosts), moving a tab (move_session), a terminal tab's font size (set_terminal_zoom), the main window state (set_window_state), Claude giving back RDP screen control (rdp_release_control), starring a host, cancelling a cloud sync | None (written to the audit log) |
| Display and convenience settings (theme, font, copy-on-select, auto reconnect and so on) | None (written to the audit log) |
Listing an SSH tab's port forwards (list_port_forwards) | None |
Closing an SSH tab's port forward (close_port_forward) | None (written to the audit log) |
Opening a temporary port forward in an SSH tab (add_port_forward, opens a 127.0.0.1 port on this PC) | Always an approval prompt |
Kubernetes: listing clusters (list_k8s_clusters, no credentials included) | None |
Kubernetes: opening a cluster tab, a pod shell tab or a log tab (open_k8s_session) | None (written to the audit log) |
Kubernetes: opening a port forward on this PC (k8s_port_forward start) | Every time (stopping is only logged) |
Kubernetes: finding clusters in the cloud (find_k8s_clusters) | None (written to the audit log); removing the clusters of unselected profiles asks first |
Kubernetes: testing a cluster connection (test_k8s_cluster) | Approval prompt (skipped when read-only auto-approve is on) |
Kubernetes: changing or deleting a cluster, importing from a kubeconfig (update_k8s_cluster, delete_k8s_cluster, import_k8s_clusters) | Always an approval prompt (imports are previewed first) |
Running kubectl on a cluster (run_kubectl) | Approval prompt (with read-only auto-approve on, only read-only commands such as get, describe, logs and top skip it; reading Secrets always asks and the prompt warns that the output may contain passwords or tokens) |
Closing connected tabs (close_session, close_sessions) | Approval prompt (disconnected tabs close right away unless files from them are open for SFTP editing; closing several tabs takes one approval) |
Connecting more than 8 hosts at once (connect_hosts) | Approval prompt |
Reading remote files (sftp_list, sftp_read), moving the SFTP panel to a folder (sftp_panel_navigate) | Approval prompt (skipped when read-only auto-approve is on; sensitive files such as private keys, /etc/shadow or .env, and reading with the tab's sudo rights, always ask) |
Running commands on several servers (run_command) | Approval prompt (with read-only auto-approve on, only read-only commands skip it; SSH servers that look like Windows or whose OS is unknown always ask) |
Typing into a terminal (send_to_terminal) | Approval prompt (with read-only auto-approve on, a one-line read-only command skips it while the screen shows a shell prompt — password prompts, vim, local PowerShell tabs and Windows or unknown-OS servers always ask) |
RDP screen: clicking, dragging, scrolling and key combinations (rdp_click, rdp_drag, rdp_scroll, rdp_key) | Approval prompt the first time on each tab, then allowed on that connection for 10 minutes — reconnecting asks again (written to the audit log) |
RDP screen: typing text (rdp_type) | Always an approval prompt (shows the text to be typed) |
Hosts and groups: adding, changing, duplicating or deleting hosts, bulk edits (bulk_update_hosts), group defaults (set_group_defaults), renaming a group (rename_group) | Always an approval prompt |
Quick connect to an address that is not in the list (open_session with target_address) | Always an approval prompt (the default Vault account may be sent to that address) |
Remote files: uploading, downloading, creating folders, renaming, deleting and saving (sftp_upload, sftp_download, sftp_mkdir, sftp_rename, sftp_delete, sftp_write) | Always an approval prompt (deletes show the item count; saving shows a summary of the changes) |
| Cloud: adding, changing or removing profiles, cloud CLI sign-in | Always an approval prompt |
Vault and known hosts: setting or clearing the default Vault account, changing a Vault account's name, username or note (vault_update), deleting a Vault account, deleting a stored host key | Always an approval prompt (the prompt lists what is affected) |
| Adding imported hosts | Always an approval prompt (previewed first and added with one approval) |
| Querying Active Directory for an import with a Vault account, another domain or a named domain controller | Approval prompt before the query |
Changing security settings (RDP certificate warning, host-key prompt, auto-approve), a default-port change that moves cloud hosts, or the app language (set_language, applied after restarting Nubis) | Approval prompt. Claude can never turn auto-approve on, only off |
| Passwords, keys and key passphrases; sign-in screen settings (owner only); the SFTP editor path; cloud credential paths; turning read-only auto-approve on | Claude can never do these. For passwords, keys and sign-in, Claude only opens the right dialog or page (open_app_page) and you fill it in yourself |
The approval prompt shows the target servers and the full command. It flags risky commands (
rm -rf, reboot, Stop-Service and so on), and the run button stays locked for 1.5 seconds after the prompt appears. Only one prompt is shown at a time, and if Claude cancels the request the prompt closes as rejected. Esc rejects. Every request is written to the audit log (the document icon in the panel header).10.4 What Claude cannot do
- Read or decrypt saved passwords and keys. The account files (
hosts.json,vault.jsonand others) are blocked from Claude's read tools and shell commands. - Put a password or key on a host, a Vault account or a cloud profile. Accounts are attached only by linking a Vault account, and imports never carry passwords. When a secret is needed, Claude opens the dialog and you type it in.
- Upload the Nubis data folder,
~/.sshor private key files to a server, or import from them (~/.ssh/configexcepted). - Change the sign-in screen settings, the SFTP editor path or cloud credential paths, turn on read-only auto-approve, or edit
settings.jsondirectly. - Delete a host key you rejected.
10.5 MCP tools
Claude has 84 tools. Anything you can do by hand in the app, Claude can do too. The exceptions are secrets (passwords, keys) and a few protected settings; see 10.3 and 10.4.
Hosts and groups
| Tool | Purpose |
|---|---|
list_groups · list_hosts | Search groups (with whether each is collapsed) and hosts. Each host row shows the Vault account actually used and where it comes from (the host, the profile default or the settings default). vault keeps only hosts that sign in with that account; selected_only returns only the cards you selected. The OS column carries the Linux distribution learned by connecting, in [ ] |
get_host | One host's full settings: address, cloud details, OS distribution and logo, account and its source, jump host, RD Gateway, tags, open tabs and so on (only whether a password or key path is saved, never the values) |
add_host · update_host · delete_host | Add, change (name, tags, address, account and so on) and delete hosts (starring a host needs no approval). A cloud host's protocol can be changed too. clear_password · clear_key_path remove a password or key path saved on the host — Claude can never set them |
duplicate_host | Copy a host as a new one, account settings included. Takes the same fields as update_host to change the copy, saved with one approval |
bulk_update_hosts | Change several hosts at once, with the same rules as bulk edit |
set_group_defaults | A group's SSH/RDP Vault account and public-IP choice, like the group right-click menu |
rename_group | Rename a group you created (merges into a group of the same name; cloud groups are renamed in the profile) |
set_group_collapsed | Collapse or expand groups in the host list |
connect_hosts | Open tabs to several hosts at once, like Connect all |
Sessions and tabs
| Tool | Purpose |
|---|---|
list_sessions · open_session · close_session | List, open and close tabs. open_session can also quick-connect to an address that is not in the list (target_address, protocol, port, username; always approved, nothing is saved) |
select_session | Show a tab, or the host list (home) |
rename_session | Rename a tab |
reconnect_session | Reconnect one tab or all disconnected tabs |
close_sessions | Close other tabs, tabs to the right, or all disconnected tabs |
move_session | Move a tab to a position or before another tab, like dragging it |
set_terminal_zoom | One terminal tab's font size, like Ctrl+= · Ctrl+- · Ctrl+0 |
list_closed_tabs · reopen_closed_tab | Closed-tab history (Kubernetes cluster tabs included) and reopening (Ctrl+Shift+R) |
open_local_terminal | Open a local PowerShell tab |
toggle_sftp_panel | Show or hide an SSH tab's SFTP panel |
list_port_forwards · add_port_forward · close_port_forward | An SSH tab's port forwards: list · open a temporary one in that tab (approval) · close (a temporary one is removed, a saved rule is turned off in that tab only). See 4.1 |
Terminal
| Tool | Purpose |
|---|---|
read_terminal · get_selection · capture_screen | Terminal content, selected text, screen image |
get_terminal_info | The terminal's current folder, sign-in account and sudo switch (answers instantly, no command sent) |
get_server_stats | The SSH tab's current CPU · memory · network from the server monitor (no command sent; only while the monitor is on in that tab) |
wait_for_output | Wait until some text appears, the prompt returns or output goes quiet |
send_to_terminal | Type into a terminal |
RDP screen
| Tool | Purpose |
|---|---|
rdp_click | Click at (x, y) on the last capture_screen image (left, right or middle button; double-click) |
rdp_drag | Drag from one point on the image to another (moving or resizing windows) |
rdp_scroll | Scroll the wheel at a point |
rdp_key | Key combinations in order (win+r, alt+f4, ctrl+shift+esc, enter, tab, f5, hangul and so on). A letter key on its own is refused (use rdp_type), and so is pasting (ctrl+v, shift+insert, win+v), which would send your clipboard to the server. win+letter works only for r e d x l i s m and digits |
rdp_type | Type text, optionally followed by Enter (press_enter) |
rdp_release_control | Give back the screen-control permission when done (the same as ending it from the tab menu); the next action asks again |
Claude looks at the screen with
capture_screen and works it like a person would, for example Win+R → powershell → a command → a new capture to read the result. Each tool captures the screen again afterwards and returns it with the result (capture_after, on by default). This is useful on servers where only 3389 is open (WinRM blocked) or for GUI work that needs the signed-in desktop session. When WinRM is reachable, run_command is more accurate because it returns the output as text.- Approval — clicks, drags, scrolls and key combinations ask once per tab and are then allowed on that connection for 10 minutes; after that, or once the tab reconnects, Claude asks again. To end it early, right-click the tab → End Claude screen control; while Claude is typing, Stop Claude's input stops just the input in progress. Typing (
rdp_type) asks every time and shows the text. Everything is written to the audit log. - Your mouse cursor stays put — clicks go to the RDP control as messages and keys through its own key-sending interface, so your real cursor doesn't move. The RDP control only forwards input while it has keyboard focus, so while Claude is sending input, focus moves to it and your own key presses are blocked (so they can't leak into the remote window) — press Esc to stop Claude's input (after a stop, Claude must ask you before it continues on that tab — inputs it had already queued are refused); only the physical keyboard is blocked (on-screen keyboards and auto-typing tools are not). If Ctrl/Shift/Alt/Win is held down when input starts, Claude waits briefly and won't type while they're held; typing text is refused while this PC's CapsLock is on (it would flip the case). Other approval windows wait until the input finishes. Focus goes back to where it was afterwards (unless you moved it), and a notice tells you if any keys were blocked. The target tab is brought to the front so you can watch.
- Limits — text is English letters, digits and symbols only (US keyboard layout). If the remote input method is in Korean mode, the text comes out in Korean, so Claude switches with the
hangulkey. Claude sees results only on screen, not as text. Capturing and controlling don't work while the Nubis window is minimized or the RDP tab is in full screen.
Remote commands
| Tool | Purpose |
|---|---|
run_command | Run on several servers in parallel (SSH / WinRM) |
test_connection | DNS, port, SSH-banner and WinRM diagnosis (does not sign in) |
SFTP
| Tool | Purpose |
|---|---|
sftp_list · sftp_read | Browse folders and read text files |
sftp_download · sftp_upload | Transfer files and folders (downloads go to Downloads\Nubis\<host>). Several items at once with paths / local_paths (one approval). An uploaded folder merges into a folder of the same name; files of the same name follow on_conflict: overwrite, skip or fail (default — nothing is uploaded if any file name already exists) |
sftp_mkdir · sftp_rename · sftp_delete | Create a folder; rename or delete a file, folder or symbolic link (only the link itself, never its target). sftp_delete takes several items with paths (one approval) |
sftp_write | Save a text file (refused if the file changed on the server after Claude read it) |
sftp_panel_navigate | Show a folder in an SSH tab's SFTP panel (on your screen only; Claude reads lists with sftp_list) |
Cloud
| Tool | Purpose |
|---|---|
discover_sources | Find what can be imported: cloud profiles on this PC (and whether sign-in is needed), ~/.ssh/config, mRemoteNG and the AD domain |
cloud_list_profiles | Cloud profiles and their settings, including Kubernetes cluster sync (sync_clusters) and the cluster count (a default password only shows as set or unset) |
cloud_add_profile · cloud_login | Add cloud profiles (synced right away), run a CLI sign-in in a new console window |
cloud_update_profile · cloud_remove_profile | Change profile settings (ports, public IP, stopped servers, default Vault accounts, cluster sync sync_clusters); remove a profile with its hosts and Kubernetes clusters from Nubis (the cloud servers and clusters are untouched) |
cloud_sync · cloud_sync_cancel | Re-sync, cancel a running sync |
Vault and known hosts
| Tool | Purpose |
|---|---|
list_vault | Vault accounts (never passwords or keys) |
vault_set_default | Set or clear the default SSH/RDP account in Settings |
vault_update | Change a Vault account's name, username or note (never its password or key) |
vault_get_public_key | The public-key line of an SSH-key account, for authorized_keys |
vault_delete | Delete a Vault account (hosts, profiles and settings that use it are unlinked) |
list_known_hosts · delete_known_host | Stored host keys; delete one after a server is reinstalled (rejected keys cannot be deleted) |
Settings and app screens
| Tool | Purpose |
|---|---|
get_settings · update_settings | App settings. With move_cloud_hosts=false, a default-port change leaves cloud hosts' ports as they are |
set_language | Change the app language (takes effect after a restart) |
set_window_state | Restore, maximize or minimize the main window |
get_setup_status · open_app_page | Setup status; open screens (including the Kubernetes page, its kubeconfig import window, and Settings sections such as settings_language, settings_vault, settings_ports or settings_rdp) and dialogs, including the Vault, host and cloud-profile dialogs where you type passwords yourself |
diagnostics | App memory and handles |
Import
| Tool | Purpose |
|---|---|
import_hosts | Import from Excel/CSV, ~/.ssh/config, mRemoteNG, Ansible, AD or an .rdp file — preview first, then add with one approval |
Kubernetes
| Tool | Purpose |
|---|---|
list_k8s_clusters | Registered clusters (never credentials), and the path of the kubectl found on this PC |
run_kubectl | Run kubectl on a named cluster with this PC's kubectl, no shell in between. The cluster and credentials are fixed to the saved ones (--kubeconfig, --context, --server, --token, --as and similar are refused). Interactive or never-ending commands (exec -it, logs -f, -w, port-forward, attach, edit, proxy) are refused — use open_k8s_session instead (k8s_port_forward for port forwarding). Also refused: kubectl config view in any form, options that read or write local files (-o *-file, --profile-output, --log-file, --kuberc and so on) and kubectl plugins |
open_k8s_session | Open a cluster tab, a pod shell tab or a pod log tab (16.6) |
k8s_port_forward | List, start or stop port forwards on cluster tabs (kubectl port-forward to 127.0.0.1 only; start needs approval) (16.6) |
update_k8s_cluster · delete_k8s_cluster | Change a cluster's name, default namespace or group; delete it from Nubis (the cluster itself is untouched) |
test_k8s_cluster | Connection test, like Test connection on the page |
find_k8s_clusters | Find in cloud with the profiles you name (16.3) |
import_k8s_clusters | Import contexts from a kubeconfig file — preview first, then add with one approval |
10.6 Running commands on several servers (SSH / WinRM)
run_command runs a command on several servers at once: over SSH for Linux servers and over WinRM (PowerShell · cmd) for Windows servers. You can target a whole group, such as group:Production, and stopped servers are skipped automatically.| Item | Behavior |
|---|---|
| Address order | Private IP → public IP. SSH: private → public. WinRM: private 5986 → 5985 → public 5986 → 5985 |
| Retries | Moves to the next address or port only when the connection fails. An authentication failure stops immediately to avoid account lockouts, and errors after the shell is created are not retried so a command never runs twice |
| OTP / MFA servers | If an SSH tab to that server is open and signed in, the command runs over that tab's connection with no new sign-in. The approval prompt says so, and warns if the tab signed in with a different account than the host's. Without an open tab, Claude stops and asks you to open one (or opens it with open_session) so you can enter the OTP |
| WinRM 5986 | HTTPS + NTLM/Negotiate (self-signed certificates allowed) |
| WinRM 5985 | HTTP + NTLM message encryption (works with the default server policy AllowUnencrypted=false). No TrustedHosts setup is needed on this PC |
| Account | The same host or cloud-profile account as RDP (DOMAIN\user, user@domain, local accounts) |
| Server setup (Windows) | A WinRM listener (winrm quickconfig, plus a certificate binding for HTTPS) and firewall rules for 5986/5985 |
What read-only auto-approve covers — when auto-approve is on in Settings → Claude, only read-only commands like the ones below run without an approval prompt. It is an allow list: anything not on it, or anything ambiguous, brings the prompt back.
| Kind | Runs without approval (examples) | Asks for approval (examples) |
|---|---|---|
| Linux | ls cat grep df ps ss journalctl systemctl status docker ps kubectl get | systemctl restart, find -delete, file redirection >, command substitution $( ) or backticks, reading Secrets (kubectl get secret -o yaml), kubectl config view --raw |
| PowerShell | Get-*, Select-/Where-/Sort-/Format-*, Test-* | Invoke-*, method or .NET calls, unknown commands |
| cmd · common | ipconfig sc query reg query netstat tasklist | Write options such as ipconfig /release |
Dangerous commands always ask, whatever the setting, and commands that run automatically are still written to the audit log as "auto-approved (read-only)".