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

Capabilities

Features and capabilities supported by this server

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

Latest Blog Posts

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/Xayan/ast-outline-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server