ast-outline-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 | {} |
| logging | {} |
| prompts | {} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| outlineA | Get a structural outline of a file or directory. Returns signatures with line ranges (no bodies). |
| digestA | Get a compact one-page module map of a directory. Each file gets a size label and token estimate. Type headers carry inheritance and decorators. |
| showA | Extract the full source body of one or more symbols from a file. Supports suffix matching (e.g., 'Foo.Bar' matches '*.Foo.Bar'). Use --signature to get header only. |
| grepA | AST-aware structural search across a file or directory. Matches are grouped by enclosing class/function, with kind tags [def]/[import]. Comment/string noise is filtered by default. Regex is auto-detected. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| explore-codebase | A prompt that guides an LLM to efficiently explore a codebase using ast-outline tools |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clear and distinct purpose: digest for module overview, grep for structured search, outline for structural listing, and show for code extraction. No overlap in functionality.
All tool names are single-word lowercase verbs (digest, grep, outline, show), following a consistent and predictable pattern.
With 4 tools, the set is well-scoped for an AST server. Each tool covers a core operation without redundancy or excess.
The tools cover key AST reading operations: overview, search, structure, and extraction. Minor gaps like documentation retrieval are acceptable for the domain.