Skip to main content

include_bundle

Macro include_bundle 

Source
macro_rules! include_bundle {
    () => { ... };
}
Expand description

Embed the .mcpb bundle named by the compile-time env var STACKQL_MCP_BUNDLE_FILE, for use with Builder::bundle_bytes (vendored feature):

let server = StackqlMcp::builder()
    .bundle_bytes(stackql_mcp::include_bundle!())
    .start()
    .await?;

Build with STACKQL_MCP_BUNDLE_FILE=/abs/path/to/bundle.mcpb cargo build. Pair with fetch_bundle to produce the bundle.