# wiaudit – GitHub Actions to Azure OIDC auditor

> wiaudit – GitHub Actions to Azure OIDC auditor is an open-source MCP server for cloud and infrastructure. Read-only CLI that fixes Azure OIDC login errors in GitHub Actions and audits risky. 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://wiaudit.github.io/wiaudit/
- **Repository:** https://github.com/wiaudit/wiaudit
- **MCP Registry name:** io.github.wiaudit/wiaudit
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-29

## About

wiaudit targets the common failure where an azure/login job is rejected with AADSTS700213 because the subject GitHub presents does not match any federated credential. Its doctor command walks each job that uses azure/login, shows the subject GitHub will send, checks whether any credential accepts it, and explains the mismatch, such as an environment-scoped job, a missing id-token permission, or a renamed repository.

A second command, scan, reviews every federated identity credential in a Microsoft Entra ID tenant and reports trust that is risky, including credentials for personal GitHub accounts, wildcard subjects without repository IDs, pull_request trust on identities with broad roles, and trust to deleted or renamed repositories. Results can be exported as terminal output, HTML, JSON or SARIF.

Collection only lists resources using your existing az and gh logins, and analysis runs locally on the saved JSON files. It is aimed at platform and security engineers who maintain Azure deployments from GitHub Actions. The project is marked alpha.

## Features

- **Login failure diagnosis:** Explains why a given azure/login job gets AADSTS700213 and which federated subject would match.
- **Tenant-wide credential audit:** Reviews every federated identity credential in an Entra ID tenant for risky trust patterns.
- **Read-only operation:** Only lists resources and never creates, changes or deletes anything in Azure or GitHub.
- **Offline analysis:** Collected snapshots are plain JSON, so analysis can run on a different machine from collection.
- **Multiple report formats:** Outputs to the terminal, HTML, JSON and SARIF, with CI exit codes for pipelines.
- **MCP server for coding agents:** Exposes scan, doctor and rule listing tools to local AI coding assistants.

## Good for

- Fix an azure/login job that fails with AADSTS700213 after a workflow or environment change
- Audit which GitHub repositories are trusted by federated credentials in an Azure tenant
- Find identities that trust pull_request runs or hold broad subscription roles
- Review trust to repositories that were deleted or renamed
- Feed findings into GitHub code scanning through SARIF output

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add wiaudit -- uvx wiaudit
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add wiaudit -- uvx wiaudit
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.wiaudit]
command = "uvx"
args = ["wiaudit"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user wiaudit uvx -- wiaudit

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "wiaudit": {
      "command": "uvx",
      "args": [
        "wiaudit"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 3 tools reads data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `scan`: Audits federated identity credentials in a saved Azure snapshot for risky trust.
- `doctor`: Diagnoses which GitHub job subjects match or fail against federated credentials.
- `list_rules` (name suggests: reads): Lists the wiaudit audit rules and their identifiers.

## FAQ

### Does wiaudit need admin rights?

No. Azure Reader on the subscriptions and the default ability to read app registrations in Entra ID are enough, and nothing is modified.

### Is my data sent to a third party?

No. Everything runs locally and the project states there is no telemetry.

### How do I install wiaudit – GitHub Actions to Azure OIDC auditor?

Install from PyPI with pip install wiaudit. It requires Python 3.10 or later, plus the Azure CLI and GitHub CLI for collection.

### Which CI systems are supported?

The project provides a GitHub Action for CI. Coverage is limited to GitHub Actions to Azure in this version.

### Is wiaudit – GitHub Actions to Azure OIDC auditor free?

Yes. wiaudit – GitHub Actions to Azure OIDC auditor is open source, so you can use and self-host it for free.

### How do I add wiaudit – GitHub Actions to Azure OIDC auditor to Claude Code?

Run this command in your terminal: claude mcp add wiaudit -- uvx wiaudit

### What are the best alternatives to wiaudit – GitHub Actions to Azure OIDC auditor?

The closest alternatives to wiaudit – GitHub Actions to Azure OIDC auditor are GitHub Actions Security Audit, GitHub Actions Audit, Ci Guard MCP, GHAGuard — GitHub Actions Supply-Chain Security Auditor and Ravi CI Guard: GitHub Actions security audit.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [GitHub Actions Security Audit](https://ai-powered.com/mcp/github-actions-security-audit): GitHub Actions Security Audit is a freemium MCP server for developer tools.
- [GitHub Actions Audit](https://ai-powered.com/mcp/github-actions-audit): GitHub Actions Audit is a paid MCP server for developer tools.
- [Ci Guard MCP](https://ai-powered.com/mcp/ci-guard-mcp): Ci Guard MCP is an open-source MCP server for developer tools.
- [GHAGuard — GitHub Actions Supply-Chain Security Auditor](https://ai-powered.com/mcp/ghaguard-github-actions-supply-chain-security-auditor): GHAGuard — GitHub Actions Supply-Chain Security Auditor is an open-source MCP server for security.
- [Ravi CI Guard: GitHub Actions security audit](https://ai-powered.com/mcp/ravi-ci-guard-github-actions-security-audit): Ravi CI Guard: GitHub Actions security audit is a paid MCP server for security.
- [zanadir](https://ai-powered.com/mcp/zanadir): zanadir is an open-source MCP server for security.
- [NHI-as-Code Zero-Secret NHI Governance MCP Server](https://ai-powered.com/mcp/nhi-as-code-zero-secret-nhi-governance-mcp-server): NHI-as-Code Zero-Secret NHI Governance MCP Server is a freemium MCP server for security.
- [entraadm MCP](https://ai-powered.com/mcp/entraadm-mcp): entraadm MCP is a free MCP server for security.

---
Source: https://ai-powered.com/mcp/wiaudit-github-actions-to-azure-oidc-auditor
