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

Function cbm_upsert_opencode_mcp

src/cli/cli.c:4091–4094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4089/* ── OpenCode MCP config (JSON with "mcp" key) ───────────────── */
4090
4091int cbm_upsert_opencode_mcp(const char *binary_path, const char *config_path) {
4092 static const char *const path[] = {"mcp"};
4093 return cbm_upsert_json_mcp(binary_path, config_path, path, 1U, CBM_JSON_MCP_LOCAL_ARRAY);
4094}
4095
4096int cbm_remove_opencode_mcp(const char *config_path) {
4097 static const char *const path[] = {"mcp"};

Callers 1

test_cli.cFile · 0.85

Calls 1

cbm_upsert_json_mcpFunction · 0.85

Tested by

no test coverage detected