# authplane-fastmcp
[](https://crates.io/crates/authplane-fastmcp)
[](https://docs.rs/authplane-fastmcp)
Consent-to-URL-elicitation helpers for `fastmcp-rust`, with support for both stdio and HTTP transports.
## Install
```bash
cargo add authplane-fastmcp
```
## Quickstart
```rust
use authplane_fastmcp::wrap_tool_with_url_elicitation;
# async fn demo() {
})
.await;
assert!(result.is_ok());
# }
```
## Transports
`fastmcp-rust` 0.3+ supports both stdio and HTTP:
```rust
// HTTP (default for authenticated servers)
server.run_http("127.0.0.1:8080");
// stdio (for subprocess-based MCP clients)
server.run_stdio();
```
See the [user guide](docs/user-guide.md) for consent mapping details and the exact `fastmcp-rust` error shape.