authplane-mcp
Consent-to-URL-elicitation helpers for the official Rust rmcp SDK.
Install
Quickstart
use wrap_tool_with_url_elicitation;
# async
See the user guide for consent mapping details and the exact rmcp error shape.
Consent-to-URL-elicitation helpers for the official Rust rmcp SDK.
cargo add authplane-mcp
use authplane_mcp::wrap_tool_with_url_elicitation;
# async fn demo() {
let result = wrap_tool_with_url_elicitation(|| async {
Ok::<_, authplane_sdk::AuthplaneError>("ok")
})
.await;
assert!(result.is_ok());
# }
See the user guide for consent mapping details and the exact rmcp error shape.