Skip to main content

Crate mcp_compressor_core

Crate mcp_compressor_core 

Source
Expand description

Shared Rust core for mcp-compressor.

§Module layout

ModuleResponsibility
compressionPure tool-listing formatter and schema lookup
configMCP config JSON parsing, server naming
proxyGeneric HTTP tool proxy with bearer-token auth
client_genArtifact generators (shell, Python, TypeScript)
cliCLI name mapping and argv → tool-input parsing
serverCompressedServer, ToolCache, tool registration
ffiFFI-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.
oauth
OAuth helpers for remote MCP backends.
proxy
sdk
server