About cplusplus-mcp
cplusplus-mcp is an MCP server published by kandrwmrtn in the Developer Tools category: an MCP (Model Context Protocol) server for analyzing C++ codebases using libclang. Conduid read 14 tools from its source: find_callees, find_callers, find_in_file, get_call_path, get_class_hierarchy, get_class_info and 8 more. No package is published for it, so it installs from a source checkout.
The repository has 34 stars and 6 forks, is licensed MIT, and its last commit was on 24 Oct 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include devtools and cpp.
Install
git clone https://github.com/kandrwmrtn/cplusplus_mcpTools (14)
find_calleesFind all functions called by a specific function| Parameter | Type | Description |
|---|---|---|
| class_name | string | Optional: Class name if searching for a method |
| function_name * | string | Name of the function to find callees for |
find_callersFind all functions that call a specific function| Parameter | Type | Description |
|---|---|---|
| class_name | string | Optional: Class name if searching for a method |
| function_name * | string | Name of the function to find callers for |
find_in_fileSearch for symbols within a specific file| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Relative path to file from project root |
| pattern * | string | Symbol pattern to search for in the file |
get_call_pathFind call paths from one function to another| Parameter | Type | Description |
|---|---|---|
| from_function * | string | Starting function name |
| max_depth | integer | Maximum search depth (default: 10) |
| to_function * | string | Target function name |
get_class_hierarchyGet complete inheritance hierarchy for a C++ class| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the class to analyze |
get_class_infoGet detailed information about a specific class| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Exact class name to analyze |
get_derived_classesGet all classes that inherit from a given base class| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the base class |
| project_only | boolean | Only include project classes (exclude dependencies). Default: true |
get_function_signatureGet signature and details for functions with given name| Parameter | Type | Description |
|---|---|---|
| class_name | string | Optional: specify class name to get method signatures only from that class |
| function_name * | string | Exact function name to analyze |
get_server_statusGet MCP server status including parsing progress and index statsrefresh_projectManually refresh/re-parse project files to detect changessearch_classesSearch for C++ classes by name pattern (regex supported)| Parameter | Type | Description |
|---|---|---|
| pattern * | string | Class name pattern to search for (supports regex) |
| project_only | boolean | Only search project files (exclude dependencies like vcpkg, system headers). Default: true |
search_functionsSearch for C++ functions by name pattern (regex supported)| Parameter | Type | Description |
|---|---|---|
| class_name | string | Optional: search only for methods within this class |
| pattern * | string | Function name pattern to search for (supports regex) |
| project_only | boolean | Only search project files (exclude dependencies like vcpkg, system headers). Default: true |
search_symbolsSearch for all symbols (classes and functions) matching a pattern| Parameter | Type | Description |
|---|---|---|
| pattern * | string | Pattern to search for (supports regex) |
| project_only | boolean | Only search project files (exclude dependencies). Default: true |
| symbol_types | array | Types of symbols to include. If not specified, includes all types |
set_project_directorySet the project directory to analyze (use this first before other commands)| Parameter | Type | Description |
|---|---|---|
| project_path * | string | Absolute path to the C++ project directory |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 9 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiomcp_server/cpp_mcp_server.py:1646
- Starts other programs
- 4 callsmcp_server/cpp_mcp_server.py:114, mcp_server/cpp_mcp_server.py:1110, mcp_server/cpp_mcp_server.py:1142
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 10 callsmcp_server/cache_manager.py:71, mcp_server/cache_manager.py:134, mcp_server/cache_manager.py:171
- Lockfile
- None in the repository
Pattern matches on the source text of 9 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README