技能潮 SkillTide 提交收录
官方说明3 个来源MCP 服务3 天前
kandrwmrtn/cplusplus_mcp

kandrwmrtn/cplusplus_mcp

MCP server for C++ codebase analysis using libclang
在 GitHub 查看 ↗直链 · 无中转页
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 4 次 · 被 3 个来源列出
评分构成
综合分 303 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

C++ MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An MCP (Model Context Protocol) server for analyzing C++ codebases using libclang.
Why Use This?
Instead of having Claude grep through your C++ codebase trying to understand the structure, this server provides semantic understanding of your code. Claude can instantly find classes, functions, and their relationships without getting lost in thousands of files. It understands C++ syntax, inheritance hierarchies, and call graphs - giving Claude the ability to navigate your codebase like an IDE would.
Features
Context-efficient C++ code analysis:
- **search_classes** - Find classes by name pattern
- **search_functions** - Find functions by name pattern
- **get_class_info** - Get detailed class information (methods, members, inheritance)
- **get_function_signature** - Get function signatures and parameters
- **find_in_file** - Search symbols within specific files
- **get_class_hierarchy** - Get complete inheritance hierarchy for a class
- **get_derived_classes** - Find all classes that inherit from a base class
- **find_callers** - Find all functions that call a specific function
- **find_callees** - Find all functions called by a specific function
- **get_call_path** - Find call paths from one function to another
Prerequisites
- Python 3.9 or higher
- pip (Python package manager)
- Git (for cloning the repository)
- LLVM's libclang (the setup scripts will attempt to download a portable build)
Setup
1. Clone the repository:
2. Run the setup script for your platform (this creates a virtual environment, installs dependencies, and fetches libclang if possible):
- **Windows**
- **Linux/macOS**
3. Test the installation (recommended):
This will verify that all components are properly installed and working. The test script lives at scripts/test_installation.py.
Configuring Claude Code
To use this MCP server with Claude Code, you need to add it to your Claude configuration file.
1. Find and open your Claude configuration file. Common locations include:
The exact location may vary depending on your Claude installation.
2. Add the C++ MCP server to the mcpServers section:
**IMPORTANT:** Replace YOUR_INSTALLATION_PATH_HERE with the actual path where you cloned this repository.
3. Restart Claude Desktop for the changes to take effect.
Configuring Codex CLI
To use this MCP server inside the OpenAI Codex CLI:
1. Make sure the virtual environment is created (see setup above).
2. Create a .mcp.json file in the project you open with Codex. The CLI reads this file to discover MCP servers.
3. Add an entry that points to the Python module inside the virtual environment. Replace YOUR_REPO_PATH with the absolute path to this repository.
On Windows change command to YOUR_REPO_PATH\\mcp_env\\Scripts\\python.exe.
4. Restart the Codex CLI (or run codex reload) so it picks up the new server definition.
5. Inside Codex, use the MCP palette or prompt instructions (for example, "use the cpp-analyzer tool to set the project directory to ...") to start indexing your C++ project.
If you keep the .mcp.json file inside this repository you can also add a "cwd": "YOUR_REPO_PATH" entry so Codex launches the server from the correct directory.
Usage with Claude
Once configured, you can use the C++ analyzer in your conversations with Claude:
来源
awesome · https://github.com/kandrwmrtn/cplusplus_mcp
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引