Skip to main content
Glama

MCP Server GDB

config.rs766 B
#[derive(Debug)] /// Server Configuration pub struct Config { /// Server URL pub server_ip: String, /// Server port pub server_port: u16, /// GDB command execution timeout in seconds pub command_timeout: u64, } impl Default for Config { fn default() -> Self { Self { server_ip: std::env::var("SERVER_IP").unwrap_or_else(|_| "127.0.0.1".to_string()), server_port: std::env::var("SERVER_PORT") .unwrap_or_else(|_| "8080".to_string()) .parse() .expect("Invalid server port"), command_timeout: std::env::var("GDB_COMMAND_TIMEOUT") .ok() .and_then(|v| v.parse().ok()) .unwrap_or(10), } } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pansila/mcp_server_gdb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server