Expand description
Shared Rust core for mcp-compressor.
§Module layout
| Module | Responsibility |
|---|---|
compression | Pure tool-listing formatter and schema lookup |
config | MCP config JSON parsing, server naming |
proxy | Generic HTTP tool proxy with bearer-token auth |
client_gen | Artifact generators (shell, Python, TypeScript) |
cli | CLI name mapping and argv → tool-input parsing |
server | CompressedServer, ToolCache, tool registration |
ffi | FFI-safe surface for PyO3 / napi-rs language bindings |
Re-exports§
pub use error::Error;
Modules§
- app
- cli
- client_
gen - compression
- config
- error
- Crate-wide error type.
- ffi
- JSON-serializable DTOs and helpers for PyO3 / napi-rs language bindings.
- llm_
assist - Optional local LLM assistance primitives.
- oauth
- OAuth helpers for remote MCP backends.
- proxy
- sdk
- server