Use Ferry with Claude
Let Claude list your servers, connect, run commands and read files through Ferry — off by default, with your approval for every action.
Ferry can act as an MCP server, which lets an AI assistant such as Claude work on your servers through Ferry. Ask Claude "what's filling up the disk on my web server?" and it can look, with your OK at each step.
The connection is off by default. While it is off, nothing runs or listens on your Mac.
What Claude can do#
| Action | What it does |
|---|---|
| List servers | Shows the servers you saved in Ferry: name, protocol, address and user. |
| Connect | Opens a saved server in Ferry. |
| Run a command | Runs a shell command on a connected SSH server and returns the output. |
| List a folder | Lists the files in a folder on a connected server. |
| Read a file | Reads a small text file (up to 1 MB) from a connected server. |
Commands run without an interactive terminal, so programs that need one — and sudo prompts that ask for a password — won't work. A command stops after 60 seconds unless Claude asks for longer, up to 10 minutes.
You approve every action#
Before Claude does anything, Ferry shows what it wants to do — for example Claude wants to run a command on "Blog" — so you can review it. Nothing happens unless you choose:
- Allow — just this action.
- Allow for This Session — all actions on that server until you turn the connection off.
- Deny.
When Claude works on a connected server, you see it in Ferry too: its actions are shown in the server's terminal panel, marked with ▸ Claude:.
Turn it on#
- Open Settings › MCP and turn on Enable AI agent features.
- Under Connect an agent, click Copy next to your assistant:
- Claude Code — a command like
claude mcp add ferry -- "/path/to/ferry-mcp". Paste it into your terminal. - Claude Desktop — a small JSON block. Add it to Claude Desktop's configuration file (
claude_desktop_config.json), merging it with anymcpServersyou already have, then restart Claude Desktop.
- Claude Code — a command like
- Keep Ferry open. Claude reaches your servers through the running app.
The Activity list in the same tab shows the latest actions Claude took.
Try it#
Once connected, ask Claude something like:
- "List my servers in Ferry."
- "Connect to my web server and tell me how much disk space is free."
- "Read
/var/log/nginx/error.logon the blog server and tell me what's failing."
Turn it off#
Switch Enable AI agent features off at any time. Ferry closes the connection and cuts any action in progress. If Claude tries again, it is told that access is off.