Koskamo

Execute remote commands via AI agent

The AI agent executes shell commands on remote machines (VMs, workstations, or servers) by connecting through the MCP server, enabling automated system administration and remote task execution.

How it works

Changes data in your accountsOperations and infrastructure

The user installs the AI Commander host agent on the target machine and connects their AI client (e.g., Claude Code, Codex) via the MCP server. The agent verifies the connection and obtains a session code. The user then instructs the AI agent to run specific commands (e.g., 'Run npm test') by providing the machine code. The agent relays the command to the remote host, executes it, and returns the output to the user. Before acting, the user must ensure the target machine is online and the session code is valid.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Execute remote commands via AI agent
Connect to the remote machine with code AIC-7K3P-WX9M-RTBN and run 'sudo systemctl restart nginx'.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Run commands or long-running jobs using the machine code.
Connect AI Clients & Run Long Remote Jobs — AI Commander

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.