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

Function agent_json_section

src/cli/agent_clients.c:1140–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1138}
1139
1140static const char *agent_json_section(cbm_agent_client_id_t id) {
1141 if (id == CBM_AGENT_CLIENT_AMP) {
1142 return NULL;
1143 }
1144 if (id == CBM_AGENT_CLIENT_VISUAL_STUDIO) {
1145 return "servers";
1146 }
1147 if (id == CBM_AGENT_CLIENT_SOURCEGRAPH_CODY) {
1148 return "cody.mcpServers";
1149 }
1150 if (id == CBM_AGENT_CLIENT_POCHI) {
1151 return "mcp";
1152 }
1153 return "mcpServers";
1154}
1155
1156static int agent_json_edit(cbm_agent_client_id_t id, const char *config_path,
1157 const char *binary_path, bool remove) {

Callers 1

agent_json_editFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected