vellaveto-http-proxy 6.1.1

Vellaveto MCP policy firewall — Streamable HTTP reverse proxy
Documentation
// Copyright 2026 Paolo Vella
// SPDX-License-Identifier: BUSL-1.1
//
// Use of this software is governed by the Business Source License
// included in the LICENSE-BSL-1.1 file at the root of this repository.
//
// Change Date: Three years from the date of publication of this version.
// Change License: MPL-2.0

fn main() {
    #[cfg(feature = "grpc")]
    {
        let proto_file = "../proto/mcp/v1/mcp.proto";
        if let Err(error) = tonic_prost_build::configure()
            .build_server(true)
            .build_client(true)
            .compile_protos(&[proto_file], &["../proto"])
        {
            eprintln!("Failed to compile MCP protobuf schema: {error}");
            std::process::exit(1);
        }
    }
}