authplane-mcp 0.1.0

Authplane adapter helpers for the official Rust MCP SDK.
Documentation

authplane-mcp

crates.io docs.rs

Consent-to-URL-elicitation helpers for the official Rust rmcp SDK.

Install

cargo add authplane-mcp

Quickstart

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.