Skip to main content
Glama
felipeerias

clangd-mcp-server

by felipeerias

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoMCP log level (ERROR/WARN/INFO/DEBUG)INFO
CLANGD_ARGSNoAdditional clangd argumentsAuto-configured
CLANGD_PATHNoPath to clangd binaryAuto-detected
PROJECT_ROOTNoProject workspace rootCurrent directory
CLANGD_LOG_LEVELNoClangd log levelerror
COMPILE_COMMANDS_DIRNoPath to compile_commands.json directoryAuto-detected

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
find_definitionB

Find the definition of a symbol at a given location in a file

find_referencesB

Find all references to a symbol at a given location

get_hoverA

Get hover information (type, documentation) for a symbol at a given location

workspace_symbol_searchC

Search for symbols across the entire workspace

find_implementationsB

Find implementations of an interface or virtual method at a given location

get_document_symbolsC

Get a hierarchical list of all symbols in a document

get_diagnosticsB

Get diagnostics (errors, warnings, notes) for a file

get_call_hierarchyC

Get call hierarchy showing incoming callers and outgoing callees for a function

get_type_hierarchyB

Get type hierarchy showing base classes (supertypes) and derived classes (subtypes)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/felipeerias/clangd-mcp-server'

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