Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AST_MCP_ROOTNoRoot path for indexing and serving. Resolved via --root, else AST_MCP_ROOT, else the working directory.current working directory

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
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
file_outlineA

Outline one file: definitions, key paths or headings, bodies elided.

Use this instead of reading a file to find out what is in it.

get_symbolB

Fetch definitions by name, key path, or heading slug.

mode: "source" (default) returns the body, "signature" and "doc" omit it. A name matching several different symbols returns candidates rather than guessing. A name matching several definitions of the same thing — many Lua listeners on one event — returns all of them in "symbols". line: pick one definition by the start_line a candidate reported.

search_symbolsC

Find definitions, key paths and headings by name across the repository.

group is one of core, web, scripting, data, devops, docs.

get_docstringsB

Documentation without bodies. Pass exactly one of path or symbols.

list_importsC

Dependency edges out of one file, plus exports where the language has them.

ast_queryA

Run a raw tree-sitter S-expression query against one file.

The escape hatch for anything the five typed tools flatten away.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

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/matthew-brough/AST_MCP'

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