Open Source
SSH actions / MIT License

Keelstitch

Give an agent a named action, not an SSH shell.

Run operator-approved SSH actions on machines you administer, from a JSON CLI or local MCP server.

Staging health check

Illustrated walkthrough
The caller requests the health action on staging. It supplies neither the server address nor the shell command.

No live connection. The steps use sample data.

Transport
SSH with a pinned host key
Interfaces
JSON CLI / local MCP
Release status
Preview

How it works

  1. Define what can run

    An operator maps a name to a fixed executable on a machine they administer. The operator controls the destination, SSH identity, and policy.

  2. Call by name

    A terminal user or local MCP client selects a configured target and action. It cannot pass arbitrary command arguments or open an interactive shell through Keelstitch.

  3. Check status, then output

    Both interfaces return status, exit code, stdout, and stderr. A timeout does not guarantee the remote process stopped.

Example

Check staging without opening a shell

Expose a prewritten health check as a named action on a least-privileged staging account. An agent can request that check and inspect its response without being handed an SSH terminal.

What to know

Preview: not recommended for production or privileged accounts. Keelstitch is not a sandbox. Keep policy and credentials outside the caller’s control, restrict the account on the server, and treat remote output as untrusted.

Common questions

Can a caller run a different command?

Not through Keelstitch. The operator configures the executable and the caller selects its name, with no command arguments or interactive input.

Does “approved” mean a person clicks every time?

No. Approval comes from the operator’s policy. An action may still have side effects; its name and description do not make it read-only.