ModAST-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| workspace_openA | Open a C++ workspace and start one persistent module-aware clangd process. |
| workspace_statusA | Return clangd readiness, warmup progress, module counts, PCM/modmap coverage, and recent errors. |
| workspace_refreshB | Reload compile commands and rebuilt PCM/modmap artifacts, restarting clangd without rewriting unchanged cache files. |
| workspace_warmA | Start non-blocking AST warmup. Poll workspace_status; other MCP tools remain available. |
| module_searchA | Search named C++ modules and partitions, including entities clangd does not expose as symbols. |
| module_graphC | Resolve a module to interface units, imports, dependencies, and importing translation units. |
| module_qualityA | Use clangd AST to find non-trivial definitions in module interfaces and verify matching .cpp implementation units. |
| formatA | Format C++/module source with clangd. Preview is the default; apply=true explicitly writes the file and updates clangd. |
| astA | Return clangd's detailed AST plus synthetic module context for module declarations/imports. |
| document_symbolsB | List declarations in a C++ source or module unit using clangd's hierarchical symbol view. |
| workspace_symbolsB | Search clangd symbols and named C++ modules in one request. |
| definitionB | Find a declaration/definition across module BMIs. Position values are 1-based; needle is often easier for agents. |
| referencesB | Find indexed references to a declaration across module units and translation units. |
| diagnosticsB | Parse a file and return clangd diagnostics after module resolution. |
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/banderzhm/ModAST-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server