1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! MCP server for serial port communication.
//!
//! The primary interface is [`SerialHandler`], built via
//! [`SerialHandler::builder`] (or [`SerialHandler::new`] for defaults): an MCP
//! server surface exposing the 25 serial tools, resources, and prompts over
//! stdio or streamable HTTP. The `serial-mcp` binary wires the full
//! configuration surface (`--allowlist`, `--profiles-path`, `--capture-dir`,
//! buffer budgets). For agent-facing contracts — tool semantics, the RX
//! cursor model, framing/parser presets, device profiles, and persistent
//! capture — see the README and the guides under `docs/`.
//!
//! The library is published for programmatic server embedding; it is not a
//! client API.
pub
pub
pub
pub
pub
pub use ;
pub use SerialHandler;