# banderzhm/ModAST-MCP

Source: https://glimind.com/server/glama%2Fbanderzhm%2Fmodast-mcp
Registry id: `glama/banderzhm/modast-mcp`
Status: unknown

## Tools (14)

- `ast`: Returns the AST for a given file and position.
- `definition`: Returns the definition of a symbol at a given location or by needle and occurrence.
- `diagnostics`: Returns diagnostics for a file.
- `document_symbols`: Returns symbols in a document.
- `format`: Formats a source file using clangd/clang-format. Preview-only by default; apply=true writes changes.
- `module_graph`: Returns the module dependency graph.
- `module_quality`: Reports quality issues in module interface units, such as substantial function bodies or missing implementation files.
- `module_search`: Searches for modules by name or pattern.
- `references`: Returns references to a symbol at a given location or by needle and occurrence.
- `workspace_open`: Opens a workspace and creates an augmented compilation database, optionally enabling experimental module support.
- `workspace_refresh`: Refreshes the workspace after build system updates, picking up new translation units and changes.
- `workspace_status`: Returns the current status of the workspace, including phase, progress, events, and cache cleanup information.
- `workspace_symbols`: Returns symbols in the workspace.
- `workspace_warm`: Non-blocking warm-up of the persistent clangd background index.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
