Skip to main content
Glama
William-An

cpp-debug-mcp

by William-An

lsp_start_session

Initiate a clangd LSP session for static analysis of C++ code, providing the project root and optional compile_commands.json for accurate diagnostics.

Instructions

Start a clangd LSP session for static analysis of C++ code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_rootYesRoot directory of the C++ project.
compile_commands_dirNoDirectory containing compile_commands.json (optional, improves accuracy).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/William-An/cpp-debug-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server