source · Rust

Lib

crates/vak-mcp/src/lib.rs
Raw
476 B16 linesSnapshot ed4ab258
  1. 1//! vak-mcp: Model Context Protocol client over stdio (newline-delimited
  2. 2//! JSON-RPC 2.0). Servers spawn lazily on first use; tool descriptions are
  3. 3//! fetched on demand so context stays lean.
  4. 4
  5. 5pub mod client;
  6. 6pub mod manager;
  7. 7pub mod tool;
  8. 8
  9. 9pub use client::{
  10. 10 McpClient, McpError, McpNotification, McpToolInfo, NotificationSink, ServerConfig,
  11. 11};
  12. 12pub use manager::{IDLE_TTL, LIST_TIMEOUT, ListOutcome, McpManager, ServerObservation};
  13. 13pub use tool::McpTool;
  14. 14
  15. 15mod validate;
  16. 16