ab_mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AB_MCP_NAME | No | Server name advertised to MCP clients | ab_mcp |
| AB_MCP_ROOT | No | The single folder all tools are confined to | this project folder |
| AB_MCP_IGNORE | No | Comma-separated folders to skip | .venv,venv,__pycache__,.git,node_modules,.idea |
| AB_MCP_ENCODING | No | Text encoding used to read files | utf-8 |
| AB_MCP_MAX_BYTES | No | Max file size (bytes) that read_file will read whole | 200000 |
| AB_MCP_ALLOW_WRITE | No | Set to 1/true/yes to enable the write_file tool | |
| AB_MCP_MAX_RESULTS | No | Default number of search hits before stopping | 50 |
| AB_MCP_LINE_PREVIEW | No | Characters of each matching line shown in search results | 200 |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_filesA | List files and folders inside the sandbox root (or a subdirectory). Args: subdir: Path relative to the root. Use "." for the root itself. |
| read_fileB | Read the contents of a text file inside the sandbox root. Args: path: File path relative to the root. |
| search_filesA | Search for a plain-text string across text files (case-insensitive). Returns matching lines with their file path and line number. Args: query: The text to search for. subdir: Limit the search to this subdirectory. Use "." for everything. max_results: Stop after this many matching lines. 0 uses the server default. |
| file_statsA | Report quick stats for a file (lines/words/chars) or a directory (file count and total size). Args: path: File or directory relative to the root. |
| read_linesA | Read a slice of lines from a text file — useful for files too large for read_file to return whole. Args: path: File path relative to the root. start: First line to read (1-based). end: Last line to read (inclusive). 0 means "to end of file". |
| find_filesA | Find files by name pattern (glob), e.g. ".py" or "test_". Args: pattern: A glob pattern matched against file names. subdir: Limit the search to this subdirectory. Use "." for everything. |
| write_fileA | Create or overwrite a text file inside the sandbox root. Disabled unless the server was started with AB_MCP_ALLOW_WRITE enabled. Args: path: File path relative to the root. content: The full text to write. |
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 7 tools
Each tool has a distinct purpose: file_stats reports statistics, find_files searches by glob, list_files lists directory contents, read_file reads entire file, read_lines reads specific lines, search_files searches for text, and write_file writes content. No two tools overlap in functionality.
All tool names follow a consistent verb_noun pattern using snake_case: file_stats, find_files, list_files, read_file, read_lines, search_files, write_file. The naming is predictable and uniform.
With 7 tools, the set is well-scoped for a sandbox file system utility. It provides essential operations (read, write, list, search, find, stats) without being overly numerous or sparse.
The tool set covers core file operations well, but lacks delete, rename, or move functionality. Given the sandbox context and conditional write, these omissions are minor and do not severely hinder typical workflows.