Skip to main content
Flask status: Graduated to Nexus
This feature has graduated! Guardrails are now a core feature of Civic Nexus. For the complete documentation, see Guardrails in Nexus.

Overview

The Guardrail Proxy started as a labs project to implement security rules between AI assistants and MCP tools. It has since become a core feature of Nexus, available to all users.

What’s available in Nexus

  • Conversational management: Add, list, and remove guardrails through natural language
  • Request guardrails: Block or validate parameters before tools execute
  • Response guardrails: Redact PII, transform data, and filter outputs
  • Built-in protection: Prompt injection detection, PII patterns, and unsafe file blocking
  • Hierarchy controls: Account, toolkit, and user-level policies

Get started

See the Guardrails documentation to:
  • Learn how guardrails work
  • View available guardrail templates
  • Add guardrails to your toolkits
  • Configure PII redaction and other protections

Integration

Guardrails integrate with all Nexus features:
  • MCP Hub: Centralized management for all your MCP servers
  • Bodyguard: Additional prompt-level threat detection