Skip to content

Claude Code

Run Claude Code against your servers, safely.

Add K2Shell to Claude Code with one command. Claude can list hosts, run commands, open sessions and edit files under the key's policy.

k2shell
claude mcp add --transport http k2shell \
  https://your-k2shell-host/mcp \
  --header "Authorization: Bearer k2shell_..."

> claude
> check disk space on all web servers and clean old logs on any above 85%

What you get

One command

Create an API key, paste the command, done.

Scoped keys

Give each project its own key with its own servers and policy.

Logged

Every call shows up in Activity with the key's name.

Many servers

ssh_exec_many runs the same command on up to 50 servers at once.

Start with one server. Manage it through chat.