Skip to main content

SecurityConfig

Defined in the MCP module.
Rust AI Agent SDK Security configuration for MCP.

Fields

Methods

permissive

Create a permissive security config

restrictive

Create a restrictive security config

allow_fs

Allow file system access Parameters:

allow_network

Allow network access Parameters:

allowed_host

Add allowed host Parameters:

allowed_path

Add allowed path Parameters:

Source

View on GitHub

praisonai/src/mcp/mod.rs at line 132

Rust Security

Rust Sandbox

Rust Configuration

Rust Installation