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
//! # Context MCP Server
//!
//! A Model Context Protocol (MCP) server for context storage, text-based retrieval,
//! and temporal tracking.
//!
//! ## Features
//!
//! - **Multi-tier Storage**: In-memory LRU cache with optional sled disk persistence
//! - **Temporal Tracking**: Timestamps, age tracking, and time-based filtering
//! - **Text-Based Retrieval**: CPU-optimized parallel text matching and scoring
//! - **Screening Status**: Fields for tracking security screening state (no active integration)
//! - **MCP Protocol**: JSON-RPC server with HTTP/WebSocket and stdio transports
//!
//! ## Architecture
//!
//! ```text
//! ┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
//! │ MCP Client │ │ JSON-RPC Server │ │ Storage Layer │
//! │ │ │ │ │ │
//! │ • HTTP/WS │◄──►│ • Store/Retrieve │◄──►│ • In-Memory LRU │
//! │ • stdio │ │ • Query/Filter │ │ • Sled (opt) │
//! │ • curl/tools │ │ • Text Matching │ │ • Indexes │
//! └─────────────────┘ └──────────────────┘ └─────────────────┘
//! ```
pub use ;
pub use ;
pub use ;
pub use ;
pub use TemporalQuery;