aft
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AFT_BINARY | No | 指定 `aft.exe` 路徑(預設自動找最新版,例如 `%LOCALAPPDATA%\aft\bin\v*\aft.exe`) | |
| AFT_MCP_CLIENT | No | harness 名稱,預設 `codex`(送 `mcp:codex`) | codex |
| AFT_PROJECT_ROOT | No | 預設專案根目錄(否則用 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
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.
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.
Ten tools is well-scoped for a codebase search and analysis server. Each tool covers a distinct capability area without excessive fragmentation.
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.