1. Conduid
  2. Developer Tools
  3. cplusplus-mcp
MCP server · Developer Tools

cplusplus-mcp

An MCP (Model Context Protocol) server for analyzing C++ codebases using libclang.

61Good

Scored 9 hours ago · breakdown

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

From source
git clone https://github.com/kandrwmrtn/cplusplus_mcp

Tools (14)

find_calleesFind all functions called by a specific function
ParameterTypeDescription
class_namestringOptional: Class name if searching for a method
function_name *stringName of the function to find callees for
find_callersFind all functions that call a specific function
ParameterTypeDescription
class_namestringOptional: Class name if searching for a method
function_name *stringName of the function to find callers for
find_in_fileSearch for symbols within a specific file
ParameterTypeDescription
file_path *stringRelative path to file from project root
pattern *stringSymbol pattern to search for in the file
get_call_pathFind call paths from one function to another
ParameterTypeDescription
from_function *stringStarting function name
max_depthintegerMaximum search depth (default: 10)
to_function *stringTarget function name
get_class_hierarchyGet complete inheritance hierarchy for a C++ class
ParameterTypeDescription
class_name *stringName of the class to analyze
get_class_infoGet detailed information about a specific class
ParameterTypeDescription
class_name *stringExact class name to analyze
get_derived_classesGet all classes that inherit from a given base class
ParameterTypeDescription
class_name *stringName of the base class
project_onlybooleanOnly include project classes (exclude dependencies). Default: true
get_function_signatureGet signature and details for functions with given name
ParameterTypeDescription
class_namestringOptional: specify class name to get method signatures only from that class
function_name *stringExact function name to analyze
get_server_statusGet MCP server status including parsing progress and index stats
refresh_projectManually refresh/re-parse project files to detect changes
search_classesSearch for C++ classes by name pattern (regex supported)
ParameterTypeDescription
pattern *stringClass name pattern to search for (supports regex)
project_onlybooleanOnly search project files (exclude dependencies like vcpkg, system headers). Default: true
search_functionsSearch for C++ functions by name pattern (regex supported)
ParameterTypeDescription
class_namestringOptional: search only for methods within this class
pattern *stringFunction name pattern to search for (supports regex)
project_onlybooleanOnly search project files (exclude dependencies like vcpkg, system headers). Default: true
search_symbolsSearch for all symbols (classes and functions) matching a pattern
ParameterTypeDescription
pattern *stringPattern to search for (supports regex)
project_onlybooleanOnly search project files (exclude dependencies). Default: true
symbol_typesarrayTypes of symbols to include. If not specified, includes all types
set_project_directorySet the project directory to analyze (use this first before other commands)
ParameterTypeDescription
project_path *stringAbsolute 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
Questions

About cplusplus-mcp

How do I install cplusplus-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is cplusplus-mcp safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Conduid's scan of 9 source files found that it serves MCP over stdio, starts other programs (4 calls) and writes or deletes files (10 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is cplusplus-mcp still maintained?

Yes — the last commit was a month ago. The repository has 34 stars and 6 forks and 6 open issues.

What tools does cplusplus-mcp provide?

Conduid read 14 tools from the source: find_callees, find_callers, find_in_file, get_call_path, get_class_hierarchy, get_class_info, get_derived_classes, get_function_signature and 6 more. 12 of them publish their parameters, listed under Tools above.

What license is cplusplus-mcp released under?

The repository declares the MIT license.