Skip to main content

Overview

RAXE provides comprehensive Model Context Protocol (MCP) security for AI assistants like Claude Desktop and Cursor. Protect MCP servers from prompt injection, command injection, and data exfiltration attacks.

Installation

pip install raxe[mcp]

Quick Start

Protect any MCP server by routing traffic through RAXE:
# Protect a filesystem server
raxe mcp gateway -u "npx @modelcontextprotocol/server-filesystem /tmp"

# With blocking enabled
raxe mcp gateway -u "npx @modelcontextprotocol/server-filesystem /tmp" --on-threat block

MCP Server (RAXE as Tool Provider)

Add RAXE’s threat detection tools directly to your AI assistant:
raxe mcp serve

Claude Desktop Setup

Add to ~/.config/claude/claude_desktop_config.json:
{
  "mcpServers": {
    "protected-filesystem": {
      "command": "raxe",
      "args": [
        "mcp", "gateway",
        "-u", "npx @modelcontextprotocol/server-filesystem /home/user/projects"
      ]
    }
  }
}

What’s Next