原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Kastell

作者:kastelldev版本 1.14.0i★ –i在你的电脑上运行
注册名称io.github.kastelldev/kastell

安装

概览

作者提供的说明(英文原文)

Server security audit (413 checks), hardening, and fleet management across 4 cloud providers.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:HETZNER_TOKEN, DIGITALOCEAN_TOKEN, VULTR_TOKEN, LINODE_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: HETZNER_TOKEN, DIGITALOCEAN_TOKEN, VULTR_TOKEN, LINODE_TOKEN

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "kastell": {
      "command": "npx",
      "args": [
        "-y",
        "kastell"
      ],
      "env": {
        "HETZNER_TOKEN": "your-value",
        "DIGITALOCEAN_TOKEN": "your-value",
        "VULTR_TOKEN": "your-value",
        "LINODE_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add kastell --env HETZNER_TOKEN=your-value --env DIGITALOCEAN_TOKEN=your-value --env VULTR_TOKEN=your-value --env LINODE_TOKEN=your-value -- npx -y kastell

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "kastell": {
      "command": "npx",
      "args": [
        "-y",
        "kastell"
      ],
      "env": {
        "HETZNER_TOKEN": "your-value",
        "DIGITALOCEAN_TOKEN": "your-value",
        "VULTR_TOKEN": "your-value",
        "LINODE_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "kastell": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kastell"
      ],
      "env": {
        "HETZNER_TOKEN": "your-value",
        "DIGITALOCEAN_TOKEN": "your-value",
        "VULTR_TOKEN": "your-value",
        "LINODE_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • HETZNER_TOKEN 机密 env
    Hetzner Cloud API token (optional — only for Hetzner servers)
  • DIGITALOCEAN_TOKEN 机密 env
    DigitalOcean API token (optional — only for DigitalOcean servers)
  • VULTR_TOKEN 机密 env
    Vultr API token (optional — only for Vultr servers)
  • LINODE_TOKEN 机密 env
    Linode API token (optional — only for Linode servers)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 kastelldev 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32484 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32484 个服务器的 5% 更新
  • 基础检查结果等于或优于此分类中其他 32484 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Kastell 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:HETZNER_TOKEN, DIGITALOCEAN_TOKEN, VULTR_TOKEN, LINODE_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.14.0)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Recta

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Recta

作者:RectaBuild

Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.

电脑或云端今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Kastell Your infrastructure, fortified.

English | Türkçe

Why Kastell?

Server security is fragmented. Lynis scans but doesn't fix. OpenSCAP is powerful but complex. Custom scripts work until they don't -- and nobody maintains them. Each tool has its own output format, its own update cycle, its own learning curve.

Kastell takes a different approach: one CLI that audits, fixes, hardens, and monitors. Scan your server, apply safe fixes, lock it down to production standards, and keep watching -- all with the same tool.

AI-native from day one. Kastell ships with a built-in MCP server, so Claude, Cursor, or any MCP-compatible AI agent can manage your servers directly. Go from a prompt to production hardening in seconds.

You don't need four separate tools to secure a server.

Quick Start

# Interactive mode -- no commands to memorize

npx kastell

Running kastell without any arguments launches an interactive search menu with a gradient ASCII banner and quick-start examples. Browse actions by emoji-categorized groups, type to filter results instantly, and configure options step by step -- no need to remember any command names or flags.

 ██╗  ██╗  ██████╗  ███████╗████████╗███████╗██╗     ██╗

██║ ██╔╝ ██╔══██╗ ██╔════╝╚══██╔══╝██╔════╝██║ ██║ █████╔╝ ███████║ ███████╗ ██║ █████╗ ██║ ██║ ██╔═██╗ ██╔══██║ ╚════██║ ██║ ██╔══╝ ██║ ██║ ██║ ██╗ ██║ ██║ ███████║ ██║ ███████╗███████╗███████╗ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚══════╝╚══════╝

KASTELL v2.3.1 · Your infrastructure, fortified.

$ kastell init --template production → deploy a new server $ kastell status --all → check all servers $ kastell secure setup → harden SSH + fail2ban $ kastell maintain --all → full maintenance cycle

? What would you like to do? Server Management ❯ Deploy a new server Add an existing server List all servers ... Security Harden SSH & fail2ban Manage firewall (UFW) ...

Each action includes sub-options (server mode, template, log source, port number, etc.) and a <- Back option to return to the main menu at any point.

If you already know the commands, you can still use them directly:

kastell init                    # Deploy a new server

kastell status my-server # Check server status kastell backup --all # Backup all servers

Kastell handles server provisioning, SSH key setup, firewall configuration, and platform installation automatically.

What Makes Kastell Different?

ProblemSolution
Broke your server with an update?Pre-update snapshot protection via maintain
No idea if your server is healthy?Built-in monitoring, health checks, and doctor diagnostics
Security is an afterthought?Firewall, SSH hardening, SSL, and security audits built-in
Backups? Maybe someday...One-command backup & restore with manifest tracking
Managing multiple servers?--all flag across backup, maintain, status, and health
Existing server not tracked?kastell add brings any server under management
Don't want to memorize commands?Just run kastell -- interactive menu guides you

Kastell vs Alternatives

FeatureKastellLynisOpenSCAP
Installationnpm i -g kastellPackage managerPackage manager
LanguageTypeScriptShellC/Python
Security Checks449300+Varies by profile
Auto-FixSafe tierSuggest onlySuggest only
MCP (AI Agent)17 tools----
ComplianceCIS, PCI-DSS, HIPAACIS, HIPAACIS, STIG, PCI-DSS
Cloud Provision4 providers----
Hardening (Lock)24-step----
Remote MonitoringGuard daemon----
Telegram BotBuilt-in----
Platform SupportLinux (SSH)Linux/macOS/BSDLinux
LicenseApache 2.0GPL-3.0LGPL-2.1

What Can You Do?

Deploy
kastell                               # Interactive menu (recommended)

kastell init # Interactive setup (direct) kastell init --provider hetzner # Non-interactive kastell init --config kastell.yml # From YAML config kastell init --template production # Use a template kastell init --mode bare # Generic VPS (no platform) kastell init --mode dokploy # Dokploy (Docker Swarm PaaS)

Manage
kastell list                  # List all servers

kastell status my-server # Check server status kastell status --all # Check all servers kastell ssh my-server # SSH into server kastell restart my-server # Restart server kastell destroy my-server # Destroy cloud server entirely kastell add # Add existing server kastell remove my-server # Remove from local config kastell config set key value # Manage default configuration kastell config validate # Validate servers.yaml structure and types kastell export # Export server list to JSON kastell import servers.json # Import servers from JSON

Update & Maintain
kastell update my-server              # Update platform (Coolify or Dokploy, auto-detected)

kastell update my-server --dry-run # Preview update without executing kastell maintain my-server # Full maintenance (snapshot + update + health + reboot) kastell maintain my-server --dry-run # Preview maintenance steps kastell maintain --all # Maintain all servers

Back Up & Restore
kastell backup my-server      # Backup DB + config

kastell backup --all # Backup all servers kastell restore my-server # Restore from backup

Snapshots
kastell snapshot create my-server   # Create VPS snapshot (with cost estimate)

kastell snapshot list my-server # List snapshots kastell snapshot list --all # List all snapshots across servers kastell snapshot delete my-server # Delete a snapshot

Security
kastell firewall status my-server   # Check firewall

kastell firewall setup my-server # Configure UFW kastell secure audit my-server # Security audit kastell secure setup my-server # SSH hardening + fail2ban kastell domain add my-server --domain example.com # Set domain + SSL

Security Audit
kastell audit my-server                  # Full security audit (31 categories, 449 checks)

kastell audit my-server --json # JSON output for automation kastell audit my-server --threshold 70 # Exit code 1 if score below threshold kastell audit my-server --fix # Interactive fix mode (prompts per severity) kastell audit my-server --fix --dry-run # Preview fixes without executing kastell audit my-server --watch # Re-audit every 5 min, show only changes kastell audit my-server --watch 60 # Custom interval (60 seconds) kastell audit --host root@1.2.3.4 # Audit unregistered server kastell audit my-server --badge # SVG badge output kastell audit my-server --report html # Full HTML report kastell audit my-server --score-only # Just the score (CI-friendly) kastell audit my-server --summary # Compact dashboard view kastell audit my-server --explain # Explain failed checks with remediation guidance kastell audit my-server --compliance cis # Filter by compliance framework (cis-level1, cis-level2, pci-dss, hipaa)

Security Hardening
kastell lock my-server                        # 24-step production hardening (SSH + UFW + sysctl + auditd + AIDE + Docker)

kastell lock my-server --dry-run # Preview hardening steps without applying

Monitor & Debug
kastell monitor my-server             # CPU, RAM, disk usage

kastell logs my-server # View platform logs (Coolify or Dokploy) kastell logs my-server -f # Follow logs kastell health # Health check all servers kastell doctor # Check local environment

Supported Providers

ProviderStatusRegionsStarting Price
Hetzner CloudStableEU, US~€4/mo
DigitalOceanStableGlobal~$18/mo
VultrStableGlobal~$12/mo
Linode (Akamai)BetaGlobal~$12/mo

Prices reflect the cheapest plan with at least 2 GB RAM (required by Coolify and Dokploy). Bare mode has no minimum requirements -- plans start from ~$2.50/mo depending on provider. You can choose a different size during setup. Linode support is in beta -- community testing welcome.

Supported Platforms

PlatformMode FlagMin RAMMin CPUDescription
Coolify--mode coolify (default)2 GB2 vCPUDocker-based PaaS (port 8000)
Dokploy--mode dokploy2 GB2 vCPUDocker Swarm-based PaaS (port 3000)
Bare--mode bare——Generic VPS, no platform overhead

Kastell uses a PlatformAdapter architecture -- the same commands (update, maintain, logs, health) work across all platforms. The platform is stored in your server record and auto-detected on each command.

Developer Experience

FeatureCommand / FlagDescription
Dry Run--dry-runPreview destructive commands without executing. Available on: destroy, update, restart, remove, maintain, restore, firewall, domain, backup, snapshot, secure.
Shell Completions`kastell completions bash\zsh\fish`Generate shell completion scripts for tab-completion of commands and options.
Config Validationkastell config validateCheck servers.yaml for structural and type errors using Zod strict schemas.
Version Checkkastell --versionShows current version and notifies if a newer version is available on npm.

YAML Config

Deploy with a single config file:

# kastell.yml

provider: hetzner region: nbg1 size: cax11 name: my-coolify fullSetup: true domain: coolify.example.com

kastell init --config kastell.yml

Templates

TemplateBest ForIncludes
starterTesting, side projects1-2 vCPU, 2-4 GB RAM

| production | Live applications | 2-4 vCPU, 4-8

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx