Skip to main content
Glama
ibuildrun

clangd-mcp

by ibuildrun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_file

Run clangd diagnostics on a C/C++ file. Reports errors, warnings, and suggestions.

Args: file_path: Path to the C/C++ source file. build_dir: Path to build directory with compile_commands.json.

find_symbolA

Search for a symbol (function, class, variable) definition across C/C++ files.

Args: symbol: Symbol name to search for (supports regex). directory: Directory to search in. extensions: Comma-separated file extensions to search.

get_includesB

List all #include directives in a C/C++ file and check if they resolve.

Args: file_path: Path to the C/C++ source file.

list_functionsB

Extract function/method declarations and definitions from a C/C++ file.

Args: file_path: Path to the C/C++ source file.

clang_formatA

Format a C/C++ file using clang-format.

Args: file_path: Path to the C/C++ source file. style: Formatting style (file, llvm, google, chromium, mozilla, webkit). dry_run: If True, show diff without modifying file. If False, format in place.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: symbol search, include resolution, function listing, and formatting. There is no overlap or ambiguity.

Naming Consistency4/5

Most tools follow verb_noun pattern (find_symbol, get_includes, list_functions), but clang_format deviates slightly by starting with a noun. Overall, names are clear and predictable.

Tool Count4/5

Four tools is a small but reasonable set for a focused C/C++ analysis server. It covers essential tasks without being overly thin.

Completeness3/5

The tool surface covers basic code analysis and formatting, but lacks expected features like diagnostics, code completion, or refactoring. There are notable gaps for a clangd-based server.

Maintenance

ActivityInactive
ResponsivenessNo issues