openmcpgdb 0.1.5

Interactive MCP server to control gdb. Fully featured and written in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use openmcpgdb::{error::OpenMcpGdbError, run_from_config_file};
use std::path::PathBuf;

#[tokio::main(flavor = "multi_thread")]
async fn main() -> Result<(), OpenMcpGdbError> {
    let config_path = std::env::args()
        .nth(1)
        .map(PathBuf::from)
        .unwrap_or_else(|| PathBuf::from("config.json"));

    run_from_config_file(&config_path).await
}