Skip to main content

run_stdio

Function run_stdio 

Source
pub fn run_stdio(pg_url: Option<&str>, mysql_url: Option<&str>) -> Result<()>
Expand description

Run the MCP server loop on stdin/stdout until EOF.

pg_url and mysql_url are used for tool calls against each database. Either (or both) may be None; tools for a missing database return an error.