clangd-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | MCP log level (ERROR/WARN/INFO/DEBUG) | INFO |
| CLANGD_ARGS | No | Additional clangd arguments | Auto-configured |
| CLANGD_PATH | No | Path to clangd binary | Auto-detected |
| PROJECT_ROOT | No | Project workspace root | Current directory |
| CLANGD_LOG_LEVEL | No | Clangd log level | error |
| COMPILE_COMMANDS_DIR | No | Path to compile_commands.json directory | Auto-detected |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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