objectiveai-mcp 2.1.2

MCP (Model Context Protocol) server for ObjectiveAI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use envconfig::Envconfig;
use objectiveai_sdk::cli::command::binary::BinaryExecutor;

#[tokio::main]
async fn main() -> std::io::Result<()> {
    let _ = dotenv::dotenv();
    let config = objectiveai_mcp::ConfigBuilder::init_from_env()
        .unwrap_or_default()
        .build();
    let executor = BinaryExecutor::new(config.config_base_dir.clone());
    objectiveai_mcp::run(config, executor).await
}