largefile
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LARGEFILE_BACKUP_DIR | No | Backup directory path | ~/.largefile/backups |
| LARGEFILE_FUZZY_THRESHOLD | No | Match sensitivity (0.0-1.0) | 0.8 |
| LARGEFILE_MMAP_THRESHOLD_MB | No | Memory mapping limit in MB | 500 |
| LARGEFILE_MAX_SEARCH_RESULTS | No | Results per search | 20 |
| LARGEFILE_MEMORY_THRESHOLD_MB | No | RAM loading limit in MB | 50 |
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 |
|---|---|
| get_overviewA | Get file structure, size, and semantic outline for large files (code, logs, data). |
| search_contentA | Search large files for text patterns without loading entire content into memory. |
| read_contentA | Read specific portions of large files efficiently. |
| read_enclosingA | Find the enclosing function or class for a specific line number. Given a file and line number, returns the complete enclosing definition (function, method, class, struct, etc.) containing that line. Use depth=2 to get the parent definition (e.g., the class containing a method). Falls back to a centered context window for unsupported languages or top-level code. |
| edit_contentA | Edit large files using search/replace with fuzzy matching. |
| revert_editA | Restore a file to a previous state from automatic backups. |
| list_directoryA | List the contents of a directory. |
| search_directoryA | Search for a text pattern across all files in a directory. |
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/peteretelej/largefile'
If you have feedback or need assistance with the MCP directory API, please join our Discord server