CLI & Tools

Download the guardrail CLI and MCP server for local development. Connect every platform →

guardrail CLI

Command-line interface for scanning and validation

Download the CLI for your platform:

Or install with npm: npm install -g guardrail-cli-tool

MCP Server

Model Context Protocol server for AI assistants

Connect guardrail to Claude Desktop, Cursor, and other MCP-enabled tools:

Or install with npm: npm install @guardrail/mcp-server

VS Code Extension

Real-time validation and inline diagnostics

Get guardrail directly in your editor:

Search "guardrail" in VS Code extensions

Quick Start

Get up and running in minutes

1. Authenticate

guardrail auth --key YOUR_API_KEY

2. Scan your project

guardrail scan

3. Get results

View detailed reports and recommendations in your dashboard

MCP Configuration

Set up the Model Context Protocol server

Claude Desktop

{"mcpServers": {"guardrail": {"command": "node path/to/guardrail-mcp-server"}}}

Cursor

{"name": "guardrail", "command": "node path/to/guardrail-mcp-server"}

For other MCP-enabled tools, use the server command: guardrail-mcp