systemprompt_api/services/proxy/mod.rs
1//! Reverse proxy from the API gateway to local MCP and agent backends.
2//!
3//! [`ProxyEngine`] is the entry point; the `auth` submodule is the single
4//! authorization boundary for proxied `/api/v1/mcp/*` and `/api/v1/agents/*`
5//! traffic, emitting RFC 9728 OAuth challenges on unauthenticated requests.
6
7pub mod auth;
8mod backend;
9mod client;
10mod engine;
11mod errors;
12mod resolver;
13
14pub use engine::ProxyEngine;