Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ test_mcp.c
File
test_mcp.c
tests/test_mcp.c:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/*
2
* test_mcp.c — Tests for the MCP server module.
3
*
4
* Covers: JSON-RPC parsing, MCP protocol, tool dispatch, tool handlers.
Callers
nothing calls this directly
Calls
15
cbm_jsonrpc_parse
Function · 0.85
cbm_jsonrpc_request_free
Function · 0.85
cbm_jsonrpc_format_response
Function · 0.85
cbm_jsonrpc_format_error
Function · 0.85
cbm_cli_set_version
Function · 0.85
cbm_mcp_initialize_response
Function · 0.85
cbm_mcp_tools_list
Function · 0.85
cbm_mcp_text_result
Function · 0.85
cbm_mcp_cancel_request_matches
Function · 0.85
cbm_mcp_get_tool_name
Function · 0.85
cbm_mcp_get_arguments
Function · 0.85
cbm_mcp_get_string_arg
Function · 0.85
Tested by
no test coverage detected