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

Function cbm_upsert_opencode_mcp

src/cli/cli.c:3443–3446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3441/* ── OpenCode MCP config (JSON with "mcp" key) ───────────────── */
3442
3443int cbm_upsert_opencode_mcp(const char *binary_path, const char *config_path) {
3444 static const char *const path[] = {"mcp"};
3445 return cbm_upsert_json_mcp(binary_path, config_path, path, 1U, CBM_JSON_MCP_LOCAL_ARRAY);
3446}
3447
3448int cbm_remove_opencode_mcp(const char *config_path) {
3449 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