MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / agent_json_section

Function agent_json_section

src/cli/agent_clients.c:1156–1170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154}
1155
1156static const char *agent_json_section(cbm_agent_client_id_t id) {
1157 if (id == CBM_AGENT_CLIENT_AMP) {
1158 return NULL;
1159 }
1160 if (id == CBM_AGENT_CLIENT_VISUAL_STUDIO) {
1161 return "servers";
1162 }
1163 if (id == CBM_AGENT_CLIENT_SOURCEGRAPH_CODY) {
1164 return "cody.mcpServers";
1165 }
1166 if (id == CBM_AGENT_CLIENT_POCHI) {
1167 return "mcp";
1168 }
1169 return "mcpServers";
1170}
1171
1172static int agent_json_edit(cbm_agent_client_id_t id, const char *config_path,
1173 const char *binary_path, bool remove) {

Callers 1

agent_json_editFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected