Motty: Manage Your SSH Connections and Let AI Use Them Too
I have recently been using an SSH tool called Motty. In my workspace, its MCP interface is already the preferred way for AI to access remote servers.
Making an SSH connection is usually straightforward. The harder part comes as the list grows: remembering which machine is staging or production, which account to use, and whether a jump host is involved. Change computers, and that information needs to remain usable.
There is now another requirement: having AI help inspect logs, processes and configuration. Once a person can connect, getting AI to use those managed connections is another piece to arrange.
Two things attract me to Motty: connection information can sync, and external AI tools can use the connections it manages through MCP. Those are the focus of this introduction.

AI-generated conceptual illustration, not a Motty interface.
Start with it as an SSH client
Motty is a free, open-source desktop SSH client for macOS, Windows and Linux. Its window also contains SFTP file management, port forwarding, remote desktops and an AI assistant. The source is on GitHub under Apache-2.0.
For everyday remote development, I care more about how the terminal, files and connection management work together. While reading logs, I can look for a configuration file in the adjacent file panel. When I want to run a command myself, the terminal is still there.

Image from the official Motty repository, showing the file panel, terminal and built-in assistant. This is not a screenshot of my servers.
A general impression of those features is enough for now. What interests me here is whether organized connections remain useful when changing computers or ways of working.
Less rebuilding of connections on another computer
A server connection includes more than an address and port. There are names, groups, accounts and associated settings. Reentering them on another computer takes time and makes it easier for the two copies to drift apart.
Motty’s backup and sync supports WebDAV, S3-compatible storage, GitHub Gist and Gitee snippets. Data is stored as encrypted backups, with synchronization merging individual records.
That distinction is useful: manual export and import leave you responsible for remembering which copy is newer. Once sync is configured, connection information can be updated across computers through the same storage location.
Sync does not move the entire working environment, however. The documentation says tabs, window layout, shortcuts, fonts, key paths and cloud credentials remain local. If a connection refers to a local private-key file, for example, you still need to check that the other computer has the appropriate file.
With Jianguoyun’s WebDAV service, two details matter: create the top-level folder in Jianguoyun first, and authenticate using a third-party app password. The official documentation explains both and is worth following during setup.
Also distinguish ordinary sync from Restore remote. The latter replaces local shared state with the remote backup, potentially losing changes that have not synced. For exchanging updates between computers, start with ordinary sync.
One fewer copy to maintain between GUI and command line
Another kind of drift happens on the same computer: the SSH client has one connection list, while ~/.ssh/config has another.
Motty can import OpenSSH configuration and offers a setting for bidirectional sync with ~/.ssh/config. Addresses, accounts, ports and ProxyJump settings can travel both ways. The first rewrite preserves a .motty-backup copy. Mapping and conflict rules are described in the hosts and authentication documentation.
This is separate from syncing multiple computers. Cross-device sync exchanges shared records between computers; SSH config sync reduces duplicate information between the GUI client and command line on one computer.
If you already use another client, you do not necessarily need to recreate every connection manually. Motty provides imports for several clients, including Tabby. Passwords, keys and jump-host configurations are stored differently across tools, though. Check the imported route and confirm that login works before continuing with the rest of the setup.
Letting AI use a connection matters more than another chat box
Motty has a built-in AI assistant. According to the official documentation, Ask mode can answer questions using the visible terminal, while Agent mode can also call command and file tools.
What I find more useful, however, is connecting external AI tools through MCP.
Suppose local code changes are ready and the next step is checking whether a process is running on staging and whether the deployed configuration is the expected one. If AI can only offer advice, someone usually has to execute commands, copy the output and paste it back.
With tools connected, AI can obtain results within its allowed permissions and continue the analysis. Motty still handles the server login; there is no need to provide the SSH password again in the conversation.
The practical saving is in shuttling information back and forth. AI receives results from the actual tools, while a person can return to the client to inspect things directly.
But MCP support does not always mean reusing the terminal currently on screen. Motty offers two approaches worth distinguishing.
Use the current session or connect independently
The MCP documentation describes the main distinction:
| Approach | Connections used | Useful when |
|---|---|---|
| Desktop HTTP MCP | Connected, available terminal sessions in Motty | A person is investigating and wants AI to inspect the current session |
Independent mcp-serve |
Saved hosts explicitly opened to agents, connected independently on demand | Starting work from an external AI client without opening the Motty window each time |
The independent service is started by the AI client and does not require the Motty window to remain open. Commands do not preserve shell state between calls, so a directory change in one call should not be assumed to carry over to the next.
It only uses hosts explicitly opened to agents. That authorization stays on the local computer: a host synced from another device is not automatically made available to AI. Unknown or changed host fingerprints, and logins requiring interactive one-time codes, cannot simply be bypassed.
For initial setup, choose the approach under Settings → MCP and copy the generated client configuration. Begin by having AI list accessible sessions or hosts, check the address, port and account, and try a read-only inspection. A saved connection does not prove that the current session can execute commands successfully.
The back-and-forth I would like it to reduce
Here is a task to try:
Read the specified service’s error logs from the last ten minutes on staging. Consider the process status and report likely causes with supporting evidence. Do not change configuration or restart services yet.
The goal is reasonably clear, and the AI’s conclusions are easier to check. It should be possible to say which machine was inspected, what time range was read and whether actual results were obtained.
If configuration changes or a restart are needed, decide that based on the findings. Motty’s approval mechanism helps control actions, but the official security documentation explicitly says the approval gate is not a sandbox. Broader access also does not decide whether a particular task should change production.
Nor does keeping passwords out of chat mean logs contain nothing sensitive. Which parts of logs and configuration reach the model still needs to be controlled for the task.
I think Motty fits people who have these two needs together: managing several servers and using their connections across computers, while also bringing AI into remote troubleshooting.
Connection sync reduces duplicate records and repeated entry. MCP makes those managed connections available to AI tools too. The person confirms the target and the work to do, the client handles connections and authentication, and AI helps read results and organize clues. For me, having those steps work together is more useful than adding a few isolated features.
Features were checked against official documentation on December 2, 2026. Actual settings and tools depend on the installed version. The cross-device sync section describes documented support; I have not individually tested every storage backend.
blog comments powered by Disqus