Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Guardrails

БесплатноНе проверен

AI Agent Guardrails MCP server - security layer

GitHubEmbed

Описание

AI Agent Guardrails MCP server - security layer

README

!License: MIT !MCP !Node.js

MCP server for AI agent security guardrails. Provides input validation, prompt injection detection, PII redaction, output filtering, policy enforcement, rate limiting, and comprehensive audit logging.

Tools

Tool Description
validate_input Validate and sanitize incoming requests through all guardrail checks
filter_output Filter and redact sensitive data (PII, secrets, credentials) from responses
check_policy Evaluate a request against security policies (RBAC, resource access, quotas)
get_audit_logs Query the audit log with filtering by type, user, time range
get_stats Get engine statistics including active users, block rate, request counts
update_config Update guardrail configuration at runtime

Security Features

  • Prompt Injection Detection -- 12 regex patterns for jailbreak, DAN mode, system prompt override
  • PII Detection and Redaction -- SSN, credit card, email, phone, IP, API keys, AWS keys, JWT, passwords, private keys, connection strings
  • Malicious Code Blocking -- eval, exec, subprocess, child_process, shell injection
  • Policy Engine -- Block sensitive paths, dangerous tools, unauthenticated destructive ops, URL allowlist, maintenance windows
  • Rate Limiting -- Per-user sliding window (configurable requests/minute)
  • Audit Logging -- Timestamped events with metrics, log rotation, external handler support

Install

npm install

Configuration

{
  "mcpServers": {
    "guardrails": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/guardrails-mcp-server/index.js"]
    }
  }
}

Project Structure

src/engine/GuardrailsEngine.js    # Core orchestration
src/validators/InputValidator.js   # Prompt injection and PII detection
src/filters/OutputFilter.js        # Redaction and harmful content blocking
src/policies/PolicyEngine.js       # RBAC, quotas, maintenance windows
src/audit/AuditLogger.js           # Event logging and metrics

License

MIT

from github.com/ExpertVagabond/guardrails-mcp-server

Установить Guardrails в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install guardrails

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add guardrails -- npx -y guardrails-mcp-server

FAQ

Guardrails MCP бесплатный?

Да, Guardrails MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Guardrails?

Нет, Guardrails работает без API-ключей и переменных окружения.

Guardrails — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Guardrails в Claude Desktop, Claude Code или Cursor?

Открой Guardrails на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Guardrails with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai