Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AFT_BINARYNo指定 `aft.exe` 路徑(預設自動找最新版,例如 `%LOCALAPPDATA%\aft\bin\v*\aft.exe`)
AFT_MCP_CLIENTNoharness 名稱,預設 `codex`(送 `mcp:codex`)codex
AFT_PROJECT_ROOTNo預設專案根目錄(否則用 process cwd)

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
aft_grepC

AFT indexed grep (read-only). Regex search with file paths and line numbers; paginate with offset.

aft_globC

AFT indexed glob (read-only). List files matching a glob pattern.

aft_searchB

AFT semantic search (read-only). Requires the semantic index; returns ranked code fragments.

aft_outlineB

AFT structural outline (read-only). Symbols/headings with line ranges; pass files=true for a directory tree.

aft_zoomC

AFT symbol zoom (read-only). Pass batch: [{ target, symbols }] to read specific symbols/sections.

aft_inspectC

AFT codebase inspection (read-only). Diagnostics, TODOs, metrics, dead code, unused exports, duplicates.

aft_callgraphC

AFT call graph (read-only). Ops: callers, call_tree, impact, trace_to, trace_to_symbol, trace_data.

aft_conflictsB

AFT merge-conflict scan (read-only). Lists conflicted files/regions for a repo or worktree.

aft_use_projectB

Set the AFT project root for this session (configures the aft bridge).

aft_statusA

AFT bridge/index status (read-only). Useful when a tool reports an index is building.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 10 tools

Disambiguation4/5

The tools mostly separate cleanly into regex search, globbing, semantic search, structural outlining, symbol reading, inspection, call graph, session setup, status, and conflict scanning. Minor potential overlap exists between aft_glob and aft_outline with files=true, and between aft_grep and aft_search, but descriptions provide enough distinction.

Naming Consistency4/5

All tools share the aft_ prefix and snake_case style, which is highly predictable. However, the operation names mix verbs and nouns (e.g., aft_zoom, aft_inspect vs. aft_outline, aft_status), so it is not a pure verb_noun pattern throughout.

Tool Count5/5

Ten tools is well-scoped for a codebase search and analysis server. Each tool covers a distinct capability area without excessive fragmentation.

Completeness4/5

The surface covers code discovery, search, structural navigation, diagnostics, call graph analysis, project configuration, status, and merge conflicts. Minor gaps remain, such as arbitrary file content reading and explicit index refresh, but most read-only codebase workflows are supported.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues