Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Read backups and Fire Drills, and ask for a backup or a drill. No tool deletes a backup.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"safegrd": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/safegrd/cli:0.0.29",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add --transport http safegrd https://safegrd.dev/mcp --header 'Authorization: your-value'claude mcp add safegrd -- docker run -i --rm ghcr.io/safegrd/cli:0.0.29 mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"safegrd": {
"url": "https://safegrd.dev/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"safegrd": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/safegrd/cli:0.0.29",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"safegrd": {
"type": "http",
"url": "https://safegrd.dev/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"safegrd": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/safegrd/cli:0.0.29",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 safegrd.dev 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.0.29)于32天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, AvaHR
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read hiring data and create inactive assessment and questionnaire drafts for human review.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
safegrd)safegrd backs up PostgreSQL, MySQL, MariaDB, MongoDB and SQLite databases, directory trees and IMAP mailboxes. Each backup is compressed with zstd and encrypted with age on the host that takes it, then written to S3-compatible storage under Object Lock. It is restored on a schedule to check that every table, row and file came back.
It is the CLI and daemon of SafeGrd. Documentation is at safegrd.dev/docs, and every command and flag is in the command reference.
enroll --key-custody local, only you can decrypt these backups.safegrd guard takes a locked snapshot before a destructive command runs, and a personal access token cannot delete a backup or shorten its lock.curl -fsSL https://safegrd.dev/install.sh | sh
It detects your OS and architecture, downloads the matching release archive, checks it against the release's checksums.txt, and installs safegrd to /usr/local/bin (or ~/.local/bin when it cannot use sudo). The script is install.sh in this repository; https://raw.githubusercontent.com/safegrd/cli/main/install.sh serves the same file.
When it runs in a terminal, it then offers to connect the machine to a remote server: a browser login, a question about who holds the encryption key, then safegrd enroll. The login prints a URL and a code that you can open in a browser on any device, so it works the same on a server you reached over SSH or PuTTY. Without a terminal (CI, cloud-init, cron) it installs and stops.
Options are environment variables, and they go on the sh after the pipe. Written before curl they apply to curl, and the script never sees them:
curl -fsSL https://safegrd.dev/install.sh | VERSION=v0.0.3 sh # pin a release
curl -fsSL https://safegrd.dev/install.sh | SAFEGRD_INSTALL_DIR=~/.local/bin sh # no sudo curl -fsSL https://safegrd.dev/install.sh | SAFEGRD_NO_SETUP=1 sh # install only
| Variable | Effect |
|---|---|
VERSION | Release tag to install. Default: the latest release. |
SAFEGRD_INSTALL_DIR | Where the binary goes. |
SAFEGRD_NO_SETUP=1 | Install only; do not offer to log in and enroll. |
SAFEGRD_FORCE_INSTALL=1 | Download and install even when the release asked for is already installed. |
SAFEGRD_PROJECT | Project ID or slug to enroll this machine into. |
SAFEGRD_STORAGE | hosted or local: where backups go when the project has no bucket. |
SAFEGRD_CLAIM | The claim code the console shows for this machine. It carries the project, where backups go and the surfaces to protect, so enrollment writes them into the config and asks nothing. Needs a release whose enroll has --claim; an older one stops and says so. |
SAFEGRD_NODE_NAME | Name the machine is shown under. |
SAFEGRD_KEY_CUSTODY | local keeps this host's key on the host. Without it the remote server keeps the key sealed and releases it only to your enrolled hosts. |
SAFEGRD_SERVER_URL | Remote server to log in and enroll with. Default: https://safegrd.dev. |
brew install safegrd/tap/safegrd
The formula installs the same release archives as the script.
go install github.com/safegrd/cli/cmd/safegrd@latest
ghcr.io/safegrd/cli runs on linux/amd64 and linux/arm64 and carries pg_dump, mysqldump and mongodump, and a PostgreSQL 18 server so a drill can restore a database into a throwaway cluster on the volume. The tag names the Postgres client: -pg18 reads Postgres 18 and every older server. Releases are signed with cosign (keyless, from this repository's release workflow):
cosign verify ghcr.io/safegrd/cli:<version>-pg18 \
--certificate-identity-regexp 'https://github.com/safegrd/cli/.github/workflows/release.yml@.*' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com
packaging/compose runs the daemon beside a database, packaging/kubernetes runs daemon run --once as a CronJob, and packaging/helm/safegrd runs the daemon as a Deployment. Each names the release it was cut with, such as ghcr.io/safegrd/cli:0.0.10; change the tag to upgrade.
Static binaries for Linux and macOS (amd64, arm64) and their SHA-256 checksums are on the releases page. To build:
git clone https://github.com/safegrd/cli.git && cd cli
make build
With no account, one command backs up a database and restores it to check:
safegrd try postgres://app:secret@db.example.com/app # or env:DATABASE_URL, a MySQL, MongoDB or SQLite URL, or a directory
safegrd signup # keep it: the host, its backup and a daily schedule
The backup is encrypted on this host, stored on the remote server's storage for 24 hours, and restored in memory from there. Details are in the install guide.
Skip this if you let the install script connect the machine: it already wrote the keypair and ~/.safegrd/config.yaml, and init refuses to overwrite them.
# writes an age X25519 keypair and ~/.safegrd/config.yaml
safegrd init \ --database-url "postgres://postgres:password@localhost:5432/myapp_prod" \ --storage local \ --local-path ./backups \ --retention-days 14
# Prints a URL and a code: open it in a browser on any device, including over SSH
safegrd login
safegrd enroll --key-custody local
safegrd keygen --out ~/.safegrd/keys/prod.key
safegrd enroll --token "sg_pat_..."
safegrd enroll --claim safegrd doctor # every surface opens from this host; the console shows the result safegrd daemon run --once
safegrd claim safegrd daemon restart
safegrd whoami
# dumps, compresses, encrypts with age on this host, and writes to locked storage
safegrd backup
# restores into an empty database and checks every table's row count
safegrd verify \ --snapshot snap-20260919-01 \ --sandbox-target "postgres://postgres:password@localhost:5432/ephemeral_test_db"
safegrd restore \
--snapshot snap-20260919-01 \ --target "postgres://postgres:password@localhost:5432/myapp_recovered"
Each entry under surfaces: in ~/.safegrd/config.yaml is one protected thing, and safegrd daemon install runs them on their schedules. A surface's credential block says where its secret comes from; the config never holds it:
surfaces:
safegrd.example.yaml is the annotated version. The daemon reads its config when it starts, so run safegrd daemon restart after changing it.
safegrd guard backs up one surface, waits until the snapshot is uploaded and locked, and then runs the command. If the backup fails or the snapshot is not locked, the command does not run and guard exits 3.
safegrd guard --surface app-primary -- psql "$APP_DATABASE_URL" -c 'DROP TABLE sessions'
safegrd guard -- terraform destroy
safegrd guard --list safegrd guard --matches "npx prisma migrate reset" # exit 0: it matches
Storage on the host's own disk, or a bucket with worm_mode: NONE, cannot lock a snapshot, so guard refuses there unless you pass --allow-unlocked.
A locked snapshot of the surface younger than --max-age stands in for a new backup, so an agent running several destructive commands in a row backs up once. --check-only takes no backup at all and refuses the command unless such a snapshot exists:
safegrd guard --max-age 30m -- psql "$APP_DATABASE_URL" -c 'TRUNCATE sessions'
safegrd guard --max-age 1h --check-only -- terraform destroy
safegrd list --json prints every snapshot with its lock date, for scripts.
File backups are incremental: the first run of each month uploads every file, and every run after it uploads only the chunks that changed. Every kept version of every file is searchable, and one file restores on its own.
safegrd backup --files /srv/app --exclude '*.tmp,node_modules/*'
safegrd find etc/nginx/nginx.conf
safegrd restore --path etc/nginx/nginx.conf --version 2 --target-dir ./out safegrd restore --snapshot snap-20260919-01 --path 'var/www/**' --target-dir ./out
safegrd check --all
safegrd backup --files s3://avatars --source-endpoint https://PROJECT.storage.supabase.co/storage/v1/s3 \ --source-region eu-central-1 --source-access-key env:S3_KEY --source-secret-key env:S3_SECRET
safegrd restore --snapshot snap-20261012-01 --target s3://avatars --source-endpoint https://PROJECT.storage.supabase.co/storage/v1/s3 \ --source-region eu-central-1 --source-access-key env:S3_KEY --source-secret-key env:S3_SECRET
--format tar keeps one archive per backup instead. What is locked, for how long, and what a restore brings back: [safegrd.dev/docs/surfaces/files](https://safegrd
只显示了开头部分;其余内容请在仓库中阅读