~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/asyncai

0
0
main
14 lines · 408 B Raw History
use asyncai::mcp::servers::socialweb_kcp::{
    config::service_from_args, readwrite::serve_stdio, KcpServiceHandle, ServerArgs,
};
use clap::Parser;

#[tokio::main]
async fn main() {
    let args = ServerArgs::parse();
    let service = KcpServiceHandle::new(service_from_args(args));
    asyncai::log::exit_on_error(
        "socialweb-computer-kcp-readwrite",
        serve_stdio(service).await,
    );
}