# zanadir

> zanadir is an open-source MCP server for security. Find which CI security checks are missing or cannot fail the build in a repository. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, self-hosted
- **Website:** https://mustachecase.github.io
- **Repository:** https://github.com/mustachecase/zanadir
- **MCP Registry name:** io.github.MustacheCase/zanadir
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-14

## About

A scanner can sit in a pipeline and still never block a merge, for example when it runs with continue-on-error, || true, a push-only trigger or a trivy call without --exit-code 1. This tool grades each control it finds as enforcing, partial, advisory or unknown, instead of just marking it present.

It looks across thirteen categories, including dependency scanning, secrets detection, SAST, licences, end-of-life, IaC, supply chain, workflow security and agent skill security, and reads GitHub Actions, GitLab CI, CircleCI, Bitbucket Pipelines, Azure Pipelines and Jenkins, including what Makefiles and reusable workflows call. With --required-checks it also asks whether branch protection requires a check.

Output comes as a table, JSON, SARIF or Markdown, and zanadir fix prints ready-to-paste CI configuration for the gaps. The MCP server is shipped as a Docker image and takes an optional GitHub token for scanning a repo by name. A browser scan runs as WebAssembly without uploading files.

## Features

- **Effectiveness grading:** Rates controls enforcing, partial, advisory or unknown.
- **Thirteen categories:** From SCA and secrets to workflow and agent skill security.
- **Six CI platforms:** GitHub Actions, GitLab CI, CircleCI, Bitbucket, Azure Pipelines and Jenkins.
- **Branch protection check:** With --required-checks, counts a control only if it is required to merge.
- **Fix suggestions:** Prints or writes CI configuration for the gaps.
- **Report formats:** Table, JSON, SARIF or Markdown.

## Good for

- Audit a repository's pipeline before a security review
- Find scanners that run but never block a merge
- Generate a workflow that fills missing CI checks
- Gate pull requests on specific uncovered categories

## Install

### Claude Code (Terminal)

```sh
claude mcp add zanadir --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- docker run -i --rm -e GITHUB_TOKEN docker.io/mustachecase/zanadir:0.31.0
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "zanadir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "zanadir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "zanadir": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "zanadir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "zanadir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_TOKEN",
        "docker.io/mustachecase/zanadir:0.31.0"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}
```

## FAQ

### What does it scan?

A local checkout with --dir or a GitHub repository with --repo.

### Can I try it without installing?

Yes, a browser scan runs zanadir as WebAssembly and files stay in the browser, or use the Docker image.

### How does it differ from OpenSSF Scorecard?

Scorecard rates a project's security practices; zanadir reads CI configuration and reports whether controls would stop a bad change.

### Is it open source?

Yes, it is described as an open-source CI/CD security tool.

### Is zanadir free?

Yes. zanadir is open source, so you can use and self-host it for free.

### How do I add zanadir to Claude Code?

Run this command in your terminal: claude mcp add zanadir --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- docker run -i --rm -e GITHUB_TOKEN docker.io/mustachecase/zanadir:0.31.0

### What are the best alternatives to zanadir?

The closest alternatives to zanadir are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/zanadir
