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 |
Capabilities
Features and capabilities supported by this server
| 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 | |
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/AvinashBhargav/AB_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server