Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Find what a repository's CI is missing, and which security checks cannot fail the build.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GITHUB_TOKEN标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"zanadir": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"docker.io/mustachecase/zanadir:0.30.0",
"mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add zanadir --env GITHUB_TOKEN=your-value -- docker run -i --rm -e GITHUB_TOKEN docker.io/mustachecase/zanadir:0.30.0 mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"zanadir": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"docker.io/mustachecase/zanadir:0.30.0",
"mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"zanadir": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"docker.io/mustachecase/zanadir:0.30.0",
"mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 MustacheCase 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GITHUB_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.30.0)于昨天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Agent Data Tools: Utilities
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
103 tools: JSON repair, CSV, hashes, cron, dates, units, validators. 25 free calls.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
zanadir is an open-source CI/CD security tool. It reads a repository's pipeline, from GitHub Actions to GitLab CI, and reports which security and quality checks are missing, or wired so they cannot fail a build.
continue-on-error, || true, a push-only trigger or allow_failure, or one that only reports unless told to fail, like trivy without --exit-code 1, is present but cannot stop a merge. zanadir grades each control *enforcing*, *partial*, *advisory* or *unknown* rather than just covered; see Effectiveness.--required-checks, a control only counts as enforcing when branch protection or a ruleset requires it.zanadir fix prints ready-to-paste CI configuration for the gaps, or writes a workflow with --write.It reads GitHub Actions, GitLab CI, CircleCI, Bitbucket Pipelines, Azure Pipelines and Jenkins, from a checkout (--dir) or straight from GitHub (--repo), and reports as a table, JSON, SARIF or Markdown. To see it on a public repository first, scan it in your browser. For how it maps to the OWASP Top 10 CI/CD Security Risks, and how it differs from OpenSSF Scorecard, see the mapping and the comparison.
How common are these gaps? The State of CI security 2026 scanned 1,000 of the most-starred GitHub repositories: 511 declare no dependency, secret or code scanning at all, and 1 in 6 of those that run a scanner in CI have one that cannot fail the build.
zanadir scan --dir .
zanadir scan --repo github.com/owner/name --output json zanadir fix --dir .
Try it on any public repository without installing anything, in your browser at mustachecase.github.io/scan (zanadir runs there as WebAssembly, and the repository's files never leave your browser), or with Docker:
docker run --rm mustachecase/zanadir scan --repo github.com/owner/name
To install it, download the archive for Linux, macOS or Windows (amd64 or arm64) from the latest release. checksums.txt lists each archive's SHA-256, and every archive has a build provenance attestation:
gh attestation verify zanadir_<version>_linux_amd64.tar.gz --repo MustacheCase/zanadir
Or with Homebrew (the tap is this repository) or Go:
brew tap --custom-remote MustacheCase/zanadir https://github.com/MustacheCase/zanadir.git
brew install mustachecase/zanadir/zanadir go install github.com/MustacheCase/zanadir@latest
In GitHub Actions, use zanadir-action. This workflow reports on every pull request without failing it:
# .github/workflows/zanadir.yml
name: zanadir on: [pull_request] permissions: contents: read jobs: zanadir: runs-on: ubuntu-latest steps:
When you are ready to gate, add enforce: true (fail on any uncovered category), fail-on (only the categories you name) or fail-on-weakened. To post the report as a pull request comment, see Posting the report to a pull request.
OpenSSF Scorecard and zanadir answer different questions, and work well together.
| OpenSSF Scorecard | zanadir | |
|---|---|---|
| Question | How healthy are this project's security practices? | Which CI controls are missing, and can the ones present fail a build? |
| Scope | 20 checks across the project: branch protection, code review, maintenance, pinned dependencies, token permissions, signed releases, known vulnerabilities, fuzzing and more | 13 categories of CI controls, each matched against the many tools that provide it |
| Reads | The forge's API: GitHub and GitLab repositories, recent pull requests and check runs | The CI configuration: six CI platforms, the Makefiles, Taskfiles, tox, composite actions and templates its jobs call |
| SAST, for example | Looks for CodeQL or SonarCloud; its docs note other tools may score low | Recognises Semgrep, CodeQL, gosec, Bandit, Brakeman, SonarQube and others, and grades whether each can fail the build |
| Result | A 0-10 score per check and overall | Covered or not per category, graded enforcing, partial, advisory or unknown, with fixes |
Use Scorecard for a project-wide security posture, and zanadir to find out whether the CI you have would actually stop a bad change, and what to add.
To have a coding agent check CI with zanadir before changing it, add this to the repository's AGENTS.md, CLAUDE.md or equivalent:
## CI changes
Before adding or changing CI configuration, run zanadir scan --dir . --output json (install: https://github.com/MustacheCase/zanadir#installation). It lists the missing CI controls and grades each present one: enforcing can fail a merge, partial, advisory and unknown cannot or may not. Fix advisory controls before adding tools, and use zanadir fix --dir . for configuration that fits this repository. Re-run the scan to confirm the change.
zanadir mcp serves three read-only tools over the Model Context Protocol, so any agent that speaks MCP can grade CI, and check agent skills, before and after changing them:
scan returns the JSON report: the score, uncovered categories with suggested tools, and weakened controls with their verdicts;fix returns ready-to-paste configuration for the gaps, and writes nothing;skills returns zanadir skills' JSON: the skills found and their problems.Each takes dir (a local checkout, by default the current directory) or repo (github.com/owner/name[@ref], read without cloning); scan and fix also take excludedCategories.
An agent can be steered by what it reads, so the server keeps its tools to what you started it with. A dir must be inside --dir (by default the directory the server starts in); a relative one is read from there. repo fetches are anonymous, so they reach public repositories only, unless you start the server with --repo-token to let them use GITHUB_TOKEN or GH_TOKEN.
claude mcp add zanadir -- zanadir mcp
It is listed in the MCP Registry as io.github.MustacheCase/zanadir, where it runs from the Docker image with your repository mounted read-only. For other clients, such as Cursor, VS Code or Windsurf:
{
"mcpServers": { "zanadir": { "command": "zanadir", "args": ["mcp"] } } }
In Claude Code, the zanadir plugin brings both: the MCP server, and a skill that scans, reads your CI configuration, recommends fixes in priority order, and edits files only after you choose. The server runs the installed zanadir if it is 0.18.0 or later, and otherwise the Docker image.
/plugin marketplace add MustacheCase/zanadir
/plugin install zanadir@mustachecase
Then ask Claude Code to review or harden your CI, or run /zanadir:improve-ci.
llms.txt summarises zanadir for agents that read the repository, and is served at mustachecase.github.io/llms.txt for those that look at a site's root.
Zanadir currently supports:
Future work will include support for:
Zanadir analyzes repositories in the following categories. The name in bold is the exact value to pass to --excluded-categories (matching is case-insensitive):
SKILL.md) for prompt injection and malicious codeScan a repository for CI/CD improvement suggestions:
zanadir scan --dir /path/to/your/repo
Or scan a GitHub repository without cloning it:
zanadir scan --repo github.com/owner/name
zanadir scan --repo owner/name@v2.0.0 # a branch, tag or commit zanadir fix --repo owner/name
--repo lists the repository's files at one commit and downloads only the ones zanadir reads (CI and build files, plus the start of JSON files for infrastructure detection) into a temporary directory. Every other file is an empty placeholder, since only its name matters. It then scans the directory exactly as a checkout and removes it. That is three GitHub API requests per scan, however large the repository. A repository too large to list in one request is downloaded as an archive instead. Public repositories need no token; set GITHUB_TOKEN (or GH_TOKEN) to reach private ones or raise GitHub's rate limit of 60 requests an hour without one. GitLab and Bitbucket repositories still need a clone.
Zanadir supports three output formats: table (default), JSON and SARIF.
zanadir scan --dir . --output table
Sample Output:
Coverage 10/11 - 1 category needs attention:
|--------------------------------|--------------------------------|-------------------| | CATEGORY | DESCRIPTION |
只显示了开头部分;其余内容请在仓库中阅读