serial-mcp 0.7.2

MCP server for serial port communication. 22 tools (list/open/read/write/subscribe/get_status/reconfigure/list_profiles/open_profile/save_profile/delete_profile/get_log/clear_log/export_log/reconnect/...), resources, prompts, task cancellation, stdio + streamable-HTTP transports.
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub const MIN_READ_BYTES: usize = 1;
pub const MAX_READ_BYTES: usize = 1024 * 1024; // 1 MiB
pub const MIN_STREAM_CHUNK_BYTES: usize = 1;
pub const MAX_STREAM_CHUNK_BYTES: usize = 64 * 1024; // 64 KiB
pub const MAX_TIMEOUT_MS: u64 = 5 * 60 * 1000; // 5 min
pub const MIN_POLL_INTERVAL_MS: u64 = 10;
pub const MAX_WRITE_BYTES: usize = 1024 * 1024; // 1 MiB

// Buffer budget defaults
pub const DEFAULT_MAX_PROGRAM_BUFFERED_BYTES: usize = 1024 * 1024 * 1024; // 1 GiB
pub const DEFAULT_MAX_TOOL_BUFFERED_BYTES: usize = 1024 * 1024; // 1 MiB