# TAR Engine

> TAR Engine is a freemium MCP server for security. Audit AI agent skills for safety with static, semantic, adversarial and supply-chain scans. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, CLI, API
- **Website:** https://tarai.dev
- **Repository:** https://github.com/qingxuantang/tar-engine
- **MCP Registry name:** io.github.qingxuantang/tar-engine
- **Categories:** security, AI models and LLM tooling
- **Listing updated:** 2026-11-14

## About

The core claim is that a skill can pass every static red-flag check and still misbehave at runtime, so TAR Engine layers further checks on top of regex. Static rules catch things like curl-to-bash installs, credential exfiltration, secrets and hidden instructions. A semantic pass has an LLM judge whether instructions exceed the skill's purpose. An adversarial pass runs fifteen attacks across five classes through a victim model and reports only when at least two of three attempts in a class succeed. A supply-chain pass checks pip and npm dependencies against OSV.dev and flags typosquats and unpinned versions without installing anything.

It reads SKILL.md files, Codex skill.yaml, Claude Code custom commands and OpenCode configs, and every finding cites the exact line. Use it in the hosted playground, as a GitHub Action in CI (scan with --min-score), or as this PyPI MCP server. Semantic and adversarial layers need your own OpenAI-compatible key; static and supply-chain checks run without one. Setting TAR_ENGINE_URL points it at a self-hosted backend so skill text stays on your machine.

The site says it has audited 6,704 skills and that almost none earn an A.

## Features

- **Four audit layers:** Static, semantic, adversarial and supply chain.
- **Line-level findings:** Each issue cites its exact source line.
- **Several formats:** SKILL.md, skill.yaml, Claude commands and OpenCode configs.
- **CI gate:** GitHub Action fails builds under a minimum score.
- **Bring your own key:** LLM layers use your OpenAI-compatible key.
- **Self-hostable backend:** Override the audit URL to keep content local.

## Good for

- Check a downloaded skill before installing it
- Block risky skills in CI
- Review a skill while writing it
- Look for typosquatted dependencies in a skill

## Install

### Claude Code (Terminal)

```sh
claude mcp add tar-engine --env TAR_ENGINE_BYOK_OPENAI_KEY='<TAR_ENGINE_BYOK_OPENAI_KEY>' -- uvx tar-engine
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tar-engine": {
      "command": "uvx",
      "args": [
        "tar-engine"
      ],
      "env": {
        "TAR_ENGINE_BYOK_OPENAI_KEY": "<TAR_ENGINE_BYOK_OPENAI_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tar-engine": {
      "command": "uvx",
      "args": [
        "tar-engine"
      ],
      "env": {
        "TAR_ENGINE_BYOK_OPENAI_KEY": "<TAR_ENGINE_BYOK_OPENAI_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "tar-engine": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tar-engine"
      ],
      "env": {
        "TAR_ENGINE_BYOK_OPENAI_KEY": "<TAR_ENGINE_BYOK_OPENAI_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tar-engine": {
      "command": "uvx",
      "args": [
        "tar-engine"
      ],
      "env": {
        "TAR_ENGINE_BYOK_OPENAI_KEY": "<TAR_ENGINE_BYOK_OPENAI_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "tar-engine": {
      "command": "uvx",
      "args": [
        "tar-engine"
      ],
      "env": {
        "TAR_ENGINE_BYOK_OPENAI_KEY": "<TAR_ENGINE_BYOK_OPENAI_KEY>"
      }
    }
  }
}
```

## Tools

- `map_skill_risks`: Maps a skill's risks onto its structure, with model step labels when a key is set.

## FAQ

### Do I need an API key?

Only for the semantic and adversarial layers; static and supply-chain checks run without one.

### Where does the audit run by default?

On the hosted playground at tarai.dev.

### How do I keep content local?

Set TAR_ENGINE_URL to your own deployment.

### Does the supply-chain layer install packages?

No, it is audit-only.

### Is TAR Engine free?

TAR Engine has a free plan, with paid plans for more usage or features.

### How do I add TAR Engine to Claude Code?

Run this command in your terminal: claude mcp add tar-engine --env TAR_ENGINE_BYOK_OPENAI_KEY='<TAR_ENGINE_BYOK_OPENAI_KEY>' -- uvx tar-engine

### What are the best alternatives to TAR Engine?

The closest alternatives to TAR Engine are REA, Claude Code Ultimate Guide, Agent Roast, Midplane and Leash.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA 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.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/tar-engine
