dynamic-mcp 1.5.0

MCP proxy server that reduces LLM context overhead with on-demand tool loading from multiple upstream servers.
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::cli::import_enhanced;
use crate::cli::tool_detector::Tool;
use anyhow::Result;

pub async fn run_import_from_tool(
    tool_name: &str,
    is_global: bool,
    force: bool,
    output_path: &str,
) -> Result<()> {
    let tool = Tool::from_name(tool_name)?;
    import_enhanced::run_import_from_tool(tool, is_global, force, output_path).await
}