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§
- Kodegen
Client - Cheap-to-clone client handle for MCP operations
- Kodegen
Connection - 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.