GraphPulse C++
Analyzes C++ codebases via AST parsing to build comprehensive, queryable dependency graphs for AI agents.
Что умеет
- Analyze Codebase: Ingest a C++ codebase and build its dependency graph. This tool does NOT accept 'code_content'. Provide exactly ONE of: repo_url, raw_files, or directory_path. - repo_url: an HTTPS G
- Get File Functions: List all functions defined in a specific source file. Use the relative path exactly as returned in the analyze_codebase output (e.g., 'src/engine.cpp' or 'main.cpp'). Args: filepat
- Get File Coupling: Generate a report showing which files depend on which other files. Aggregates cross-file function calls into a per-file-pair summary (e.g., 'src/main.cpp -> src/utils.cpp (3 calls)'
Какие данные видит
Нужен ли аккаунт
Не нужен: сервер работает без входа
Analyzes C++ codebases via AST parsing to build comprehensive, queryable dependency graphs for AI agents. Maps complex function relationships to identify upstream callers, circular dependencies, and orphan code. Includes GitHub repo ingestion and token-safe Mermaid.js visual exports to guide safe code refactoring.
Как подключить
Как подключить GraphPulse C++ к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://legacy-mcp-analyzer--labsofuniverse.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить GraphPulse C++ к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://legacy-mcp-analyzer--labsofuniverse.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить GraphPulse C++ к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://legacy-mcp-analyzer--labsofuniverse.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (8)
Технические названия из tools/list. Нужны только разработчикам.
| analyze_codebase | Ingest a C++ codebase and build its dependency graph. This tool does NOT accept 'code_content'. Provide exactly ONE of: repo_url, raw_files, or directory_path. - repo_url: an HTTPS GitHub URL (e.g. 'https://github.com/user/repo'). Optionally add patch_content (a unified diff string) to overlay uncommitted changes on the cloned repo. - raw_files: for hobby projects or small codebases NOT hosted on GitHub. The user pastes their C++ code directly and you wrap each file into a JSON array of objects with 'filename' and 'content' keys. Example: [ {"filename": "main.cpp", "content": "void main() { helper(); }"}, {"filename": "utils.cpp", "content": "void helper() {}"} ] - directory_path: absolute local filesystem path (local mode only; rejected when the server runs in cloud mode). Args: repo_url: HTTPS URL of a git repository to clone. patch_content: Unified diff to apply after cloning repo_url. raw_files: List of dicts [{"filename": str, "content": str}]. Use this when the user shares code snippets directly and does not have a git repository. directory_path: Local path to scan (local mode only). Returns: Status message with file count and function count. |
| get_file_functions | List all functions defined in a specific source file. Use the relative path exactly as returned in the analyze_codebase output (e.g., 'src/engine.cpp' or 'main.cpp'). Args: filepath: Relative path of the source file within the analyzed workspace. Returns: A newline-separated list of function names, or no-match message. |
| get_file_coupling | Generate a report showing which files depend on which other files. Aggregates cross-file function calls into a per-file-pair summary (e.g., 'src/main.cpp -> src/utils.cpp (3 calls)'). Returns: A formatted coupling report, or a message if no cross-file deps exist. |
| get_callers | List upstream functions that call the given function. Args: function_name: Exact name of the function (e.g., 'calculate_interest'). Returns: Comma-separated list of caller function names. |
| get_callees | List downstream functions that are called by the given function. Args: function_name: Exact name of the function (e.g., 'process_client'). Returns: Comma-separated list of callee function names. |
| detect_cycles | Detect circular dependencies in the current call graph. Returns: Formatted list of cycles, or a message if none found. |
| get_orphan_functions | Identify functions that are defined but never called by any other function. Returns: Comma-separated list of orphan function names. |
| generate_mermaid_graph | Generate a Mermaid.js dependency diagram and return it as a markdown string. The AI can render this diagram inline in the chat. For large graphs, use focus_node and max_depth to keep the output token-efficient. Args: focus_node: Optional function name to centre the graph on. max_depth: Max hops from focus_node (default 2). Returns: A Mermaid-fenced markdown string for inline rendering. |