diff --git a/crates/rmcp/Cargo.toml b/crates/rmcp/Cargo.toml index 9829f4f..6f07f7d 100644 --- a/crates/rmcp/Cargo.toml +++ b/crates/rmcp/Cargo.toml @@ -88,6 +88,8 @@ reqwest = ["__reqwest", "reqwest?/rustls-tls"] reqwest-tls-no-provider = ["__reqwest", "reqwest?/rustls-tls-no-provider"] +reqwest-native-tls = ["__reqwest", "reqwest?/native-tls"] + server-side-http = [ "uuid", "dep:rand", diff --git a/crates/rmcp/README.md b/crates/rmcp/README.md index ed366a3..54b27b9 100644 --- a/crates/rmcp/README.md +++ b/crates/rmcp/README.md @@ -270,6 +270,10 @@ RMCP uses feature flags to control which components are included: - `transport-streamable-http-client-reqwest`: a default `reqwest` implementation of the streamable http client - `auth`: OAuth2 authentication support - `schemars`: JSON Schema generation (for tool definitions) +- TLS backend options (for HTTP transports): + - `reqwest`: Uses rustls (pure Rust TLS, recommended default) + - `reqwest-native-tls`: Uses platform native TLS (OpenSSL on Linux, Secure Transport on macOS, SChannel on Windows) + - `reqwest-tls-no-provider`: Uses rustls without a default crypto provider (bring your own) ## Transports