kvlar-proxy 0.1.0

MCP security proxy — intercepts, evaluates, and logs agent tool calls
Documentation
//! # kvlar-proxy
//!
//! MCP security proxy — intercepts Model Context Protocol messages and
//! evaluates them against loaded security policies before forwarding.
//!
//! This crate provides the runtime enforcement layer. It sits between an
//! AI agent and its tool servers, ensuring every tool call passes through
//! the Kvlar policy engine before execution.
//!
//! ## Architecture
//!
//! ```text
//! Agent ──► kvlar-proxy ──► MCP Tool Server
//!//!               ├── kvlar-core (policy evaluation)
//!               └── kvlar-audit (structured logging)
//! ```

pub mod config;
pub mod handler;
pub mod mcp;
pub mod proxy;
pub mod stdio;

pub use config::ProxyConfig;
pub use mcp::{McpMessage, McpRequest, McpResponse, ToolCallParams};

/// Library version, pulled from Cargo.toml at compile time.
pub const VERSION: &str = env!("CARGO_PKG_VERSION");