phrona-mcp 0.3.1

Model Context Protocol server exposing the phrona library to AI agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let filter = std::env::var("RUST_LOG").unwrap_or_else(|_| "info".into());
    tracing_subscriber::fmt()
        .with_env_filter(tracing_subscriber::EnvFilter::new(filter))
        .init();
    let cfg = match phrona::PhronaConfig::load() {
        Ok(cfg) => cfg,
        Err(e) => {
            tracing::warn!("{e}; falling back to defaults");
            phrona::PhronaConfig::defaults()
        }
    };
    phrona_mcp::run_stdio(&cfg).await
}