Crate kodegen_mcp_client

Crate kodegen_mcp_client 

Source

Re-exports§

pub use error::ClientError;
pub use error::TransportType;
pub use transports::StdioClientBuilder;
pub use transports::create_stdio_client;
pub use transports::create_streamable_client;

Modules§

error
headers
Infrastructure context headers for kodegen stdio → HTTP backend communication.
responses
Typed response structures for MCP tool calls
transports
validation
Validation utilities for response deserialization

Structs§

KodegenClient
Cheap-to-clone client handle for MCP operations
KodegenConnection
Connection lifecycle manager for MCP client

Constants§

X_KODEGEN_CONNECTION_ID
Header containing the connection ID for this stdio connection instance. Used by backend servers for connection-scoped resource isolation (terminals, browsers, etc.)
X_KODEGEN_GITROOT
Header containing the git repository root directory. Used for repository-aware operations and path resolution.
X_KODEGEN_PWD
Header containing the current working directory from which kodegen was spawned. Used by backend servers for path resolution and as default CWD for operations.