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
ast_outlineA

Get a structural outline of one or more files or directories. Returns signatures with line ranges (no bodies). Useful for understanding code structure without reading full files.

ast_digestA

Get a compact one-page module map of a directory. Each file gets a size label ([tiny]/[medium]/[large]/[huge]) and token estimate. Type headers carry inheritance and decorators.

ast_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.

ast_grepB

AST-aware structural search across files. 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