expertvagabond avatar

Guardrails

expertvagabond/guardrails-mcp-server

A security layer that sits between your AI agent and the outside world, providing six tools for input validation, output filtering, and policy enforcement. It blocks prompt injection attempts through regex patterns, redacts PII like SSNs and credit cards, prevents malicious code execution, and enforces RBAC policies with rate limiting. The audit logger captures every request with metrics and supports external handlers. You'd reach for this when you need to lock down an AI agent that handles sensitive data or operates in a regulated environment. Configuration updates happen at runtime, and the policy engine lets you block specific paths, restrict dangerous tools, or enforce maintenance windows without redeploying.

GitHub stars
1
tools
6
transport
STDIO
last updated
Feb 14, 2026

Tools

6 tools

Public tool metadata for what this MCP can expose to an agent.

validate_inputValidate and sanitize incoming requests through all guardrail checks

Validate and sanitize incoming requests through all guardrail checks

No parameter schema in public metadata yet.

filter_outputFilter and redact sensitive data (PII, secrets, credentials) from responses

Filter and redact sensitive data (PII, secrets, credentials) from responses

No parameter schema in public metadata yet.

check_policyEvaluate a request against security policies (RBAC, resource access, quotas)

Evaluate a request against security policies (RBAC, resource access, quotas)

No parameter schema in public metadata yet.

get_audit_logsQuery the audit log with filtering by type, user, time range

Query the audit log with filtering by type, user, time range

No parameter schema in public metadata yet.

get_statsGet engine statistics including active users, block rate, request counts

Get engine statistics including active users, block rate, request counts

No parameter schema in public metadata yet.

update_configUpdate guardrail configuration at runtime

Update guardrail configuration at runtime

No parameter schema in public metadata yet.

Sponsors

Readme

guardrails-mcp-server

[!License: MIT](https://opensource.org/licenses/MIT) [!MCP](https://modelcontextprotocol.io) [!Node.js](https://nodejs.org)

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

ToolDescription
validate_inputValidate and sanitize incoming requests through all guardrail checks
filter_outputFilter and redact sensitive data (PII, secrets, credentials) from responses
check_policyEvaluate a request against security policies (RBAC, resource access, quotas)
get_audit_logsQuery the audit log with filtering by type, user, time range
get_statsGet engine statistics including active users, block rate, request counts
update_configUpdate guardrail configuration at runtime

Security Features


View the full README on GitHub

Details

Repository
github.com/expertvagabond/guardrails-mcp-server
Categories
AI & LLM Tools, Security & Pentesting
Package
guardrails-mcp-server
Transport
STDIO
Registry
MCP registry, active

More from expertvagabond

Related AI & LLM Tools MCP servers

View all
1fieldcure avatarAssiststudio Runnerfieldcure/fieldcure-assiststudio-runnerWindows-only headless LLM task automation engine with scheduling via Windows Task Scheduler.1stars
2hypeprinter007-stack avatarAnchor X402hypeprinter007-stack/anchor-x402-mcpx402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.1stars
3imviky-ctrl avatarTickerrimviky-ctrl/tickerr-mcpLive status, API pricing and rate limits for ChatGPT, Claude, Gemini, Cursor and 42+ AI tools.1stars
4mediaeater avatarSwarm Atmediaeater/swarm-at-ledgerSettlement protocol for AI agent swarms — hash-chained ledger, trust, 48 blueprints, 18 tools0stars
5morous-dev avatarEngram Ccmorous-dev/engram-context-continuumUniversal AI coding assistant memory — session handoff, SLM compression, and semantic retrieval.0stars
6mukundakatta avatarAgentcastmukundakatta/agentcast-mcpStructured-output enforcer: extract and validate JSON from messy LLM text.1stars