mcpzip 0.1.0

MCP proxy that aggregates multiple servers behind search + execute meta-tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;
use mcpzip::cli::{Cli, Commands};

#[tokio::main]
async fn main() {
    let cli = Cli::parse();

    let result = match &cli.command {
        Commands::Serve(args) => mcpzip::cli::serve::run_serve(args).await,
        Commands::Init => mcpzip::cli::init::run_init(),
        Commands::Migrate(args) => mcpzip::cli::migrate::run_migrate(args),
    };

    if let Err(e) = result {
        eprintln!("mcpzip: error: {}", e);
        std::process::exit(1);
    }
}