Skip to main content
Glama
Xayan

ast-outline-mcp

by Xayan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{}
logging
{}
prompts
{}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
explore-codebaseA prompt that guides an LLM to efficiently explore a codebase using ast-outline tools

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 4 tools

Disambiguation5/5

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.

Naming Consistency5/5

All tool names are single-word lowercase verbs (digest, grep, outline, show), following a consistent and predictable pattern.

Tool Count5/5

With 4 tools, the set is well-scoped for an AST server. Each tool covers a core operation without redundancy or excess.

Completeness4/5

The tools cover key AST reading operations: overview, search, structure, and extraction. Minor gaps like documentation retrieval are acceptable for the domain.

Maintenance

ActivityInactive
ResponsivenessNo issues