Your infrastructure, fortified.
Autonomous security and maintenance layer for self-hosted infrastructure.
Deploy, secure, maintain, and monitor — one tool, every server task.
Kastell is an open-source CLI tool that autonomously manages self-hosted servers. Stop babysitting your infrastructure — Kastell handles security hardening, maintenance, backups, and monitoring so you don't have to.
npx kastell- 🔒 Security Audit — 406+ checks across 27 categories. CIS, PCI-DSS, HIPAA compliance mapping.
- 🚀 Deploy — Provision servers on Hetzner, DigitalOcean, Vultr, Linode. Coolify, Dokploy, or bare VPS.
- 🔧 Maintain — Full maintenance cycles with pre-update snapshots and health checks.
- 💾 Backup — One-command backup & restore with manifest tracking.
- 🛡️ Lock — One-command production hardening: SSH, fail2ban, UFW, sysctl.
- 🤖 MCP Server — 13 tools for AI-powered server management via Claude Code, Cursor, Windsurf.
# Run instantly
npx kastell
# Or install globally
npm install -g kastell{
"mcpServers": {
"kastell": {
"command": "npx",
"args": ["-y", "-p", "kastell", "kastell-mcp"]
}
}
}kastell.dev · npm · GitHub
Built by @omrfc · Apache 2.0

