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

Function cbm_upsert_opencode_mcp

src/cli/cli.c:3499–3502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3497/* ── OpenCode MCP config (JSON with "mcp" key) ───────────────── */
3498
3499int cbm_upsert_opencode_mcp(const char *binary_path, const char *config_path) {
3500 static const char *const path[] = {"mcp"};
3501 return cbm_upsert_json_mcp(binary_path, config_path, path, 1U, CBM_JSON_MCP_LOCAL_ARRAY);
3502}
3503
3504int cbm_remove_opencode_mcp(const char *config_path) {
3505 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