Repository navigation
Container Command Execution
RekklesNA edited this page Sep 4, 2026
·
1 revision
This page restores the wiki entry for SSH-backed LXC command execution.
The canonical setup guide lives in the repository docs:
Use that guide when you need to enable:
execute_container_commandupdate_container_ssh_keys
Quick summary:
- These tools are registered only when the MCP config includes an
sshsection. - The recommended setup is a dedicated
mcp-agentSSH user on every Proxmox node. - Grant that user passwordless sudo only for
/usr/sbin/pct exec *. - Add the Proxmox node host keys to
known_hosts, or useprefer_ssh_client=trueif you need OpenSSH config behavior. - Configure
command_policyso agents can only run the container commands you intend to allow. - Treat
update_container_ssh_keysas a high-risk operation; approval tokens are required when high-risk enforcement is enabled.
Related pages: