Home / Security / AI Guard

AI Guard

io.github.ai-guard-dev/ai-guard · v1.4.7 stdio

Score 92. Maintenance 40 of 40, security 35 of 35, adoption 17 of 25.

Guardrails for AI-written JS/TS: scans, weakened-test checks, package checks, verify before done.

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #2 of 314 Security servers on Socketlist by score, with 21 GitHub stars and a last code push today.

Install

npx -y -p @typescript-eslint/parser -p eslint-plugin-ai-guard ai-guard-mcp

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect AI Guard to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.

claude mcp add --transport stdio ai-guard -- npx -y -p @typescript-eslint/parser -p eslint-plugin-ai-guard ai-guard-mcp

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "ai-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@typescript-eslint/parser",
        "-p",
        "eslint-plugin-ai-guard",
        "ai-guard-mcp"
      ]
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "ai-guard": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@typescript-eslint/parser",
        "-p",
        "eslint-plugin-ai-guard",
        "ai-guard-mcp"
      ]
    }
  }
}

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "-p",
        "@typescript-eslint/parser",
        "-p",
        "eslint-plugin-ai-guard",
        "ai-guard-mcp"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance40/40Last push today, 0 open issuesStrong
Security hygiene35/35Licence MIT, SECURITY.md present, published package or hosted endpointStrong
Adoption17/2521 GitHub stars, 19,882 npm downloads a weekFair

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Security. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars21
npm weekly downloads19,882
Last pushtoday
LicenceMIT
Open issues0
SECURITY.mdYes
LanguageTypeScript
Latest version published2026-11-14

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

Compare all alternatives

Agent Verify

Score 81. Maintenance 39 of 40, security 35 of 35, adoption 7 of 25.

io.github.AI-Blockchain-Ventures/agentverify

Security checks for AI agents and MCP configs: 124 tested checks, from your AI coding assistant.

★ 1↓ 137/wkMITpushed 7d ago Security

mcpm

Score 78. Maintenance 40 of 40, security 35 of 35, adoption 3 of 25.

io.github.getmcpm/cli

MCP security guard + package manager: trust-scored installs, blocks prompt injection and rug-pulls.

★ 4MITpushed today Security

GL1TCH Token Safety

Score 78. Maintenance 40 of 40, security 35 of 35, adoption 4 of 25.

io.github.gl1tchbased-pixel/gl1tch

Token rug-risk scans, Know Your Agent wallet checks and deployer reputation for AI agents.

★ 5MITpushed 3d ago RemoteSecurity