MCPcopy Create free account
hub / github.com/dallay/agentsync / merge

Method merge

src/mcp.rs:320–330  ·  view source on GitHub ↗
(
        &self,
        existing_content: &str,
        new_servers: &BTreeMap<&str, &McpServerConfig>,
    )

Source from the content-addressed store, hash-verified

318 }
319
320 fn merge(
321 &self,
322 existing_content: &str,
323 new_servers: &BTreeMap<&str, &McpServerConfig>,
324 ) -> Result<String> {
325 merge_standard_mcp(
326 existing_content,
327 new_servers,
328 "Failed to parse existing MCP config as JSON",
329 )
330 }
331
332 fn cleanup_removed_servers(
333 &self,

Calls 7

merge_standard_mcpFunction · 0.85
parse_codex_docFunction · 0.85
server_to_codex_tomlFunction · 0.85
server_to_jsonFunction · 0.85
json_map_from_valuesFunction · 0.85
server_to_opencode_jsonFunction · 0.85
collectMethod · 0.80