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

Function setup_mcp_with_data

tests/test_mcp.c:1623–1626  ·  view source on GitHub ↗

Helper: create a server with an in-memory store populated with test data */

Source from the content-addressed store, hash-verified

1621
1622/* Helper: create a server with an in-memory store populated with test data */
1623static cbm_mcp_server_t *setup_mcp_with_data(void) {
1624 cbm_mcp_server_t *srv = cbm_mcp_server_new(NULL); /* NULL = in-memory */
1625 return srv;
1626}
1627
1628TEST(tool_list_projects_empty) {
1629 cbm_mcp_server_t *srv = setup_mcp_with_data();

Callers 1

test_mcp.cFile · 0.85

Calls 1

cbm_mcp_server_newFunction · 0.85

Tested by

no test coverage detected