aether-mcp-utils 0.1.8

MCP client and server utilities for the Aether AI agent framework
Documentation
1
2
3
4
5
6
7
8
9
pub(crate) const SERVERNAME_DELIMITER: &str = "__";

pub(crate) fn create_namespaced_tool_name(server_name: &str, tool_name: &str) -> String {
    format!("{server_name}{SERVERNAME_DELIMITER}{tool_name}")
}

pub fn split_on_server_name(namespaced_name: &str) -> Option<(&str, &str)> {
    namespaced_name.split_once(SERVERNAME_DELIMITER)
}