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

Function cbm_upsert_opencode_mcp

src/cli/cli.c:3646–3649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3644/* ── OpenCode MCP config (JSON with "mcp" key) ───────────────── */
3645
3646int cbm_upsert_opencode_mcp(const char *binary_path, const char *config_path) {
3647 static const char *const path[] = {"mcp"};
3648 return cbm_upsert_json_mcp(binary_path, config_path, path, 1U, CBM_JSON_MCP_LOCAL_ARRAY);
3649}
3650
3651int cbm_remove_opencode_mcp(const char *config_path) {
3652 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