mcp-file-lens

solatis/mcp-file-lens

3.2

If you are the rightful owner of mcp-file-lens and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

mcp-file-lens is a Python-based MCP server that provides LLMs with efficient and secure access to file systems, enhancing codebase navigation and comprehension.

Tools

Functions exposed to the LLM to take actions

list_dir

Lists directory contents in ls -la format, filtering out gitignored and binary files.

read_file

Reads complete file contents with optional line numbers, skipping binary files.

read_file_grep

Searches for lines containing a string with optional context, similar to grep.

read_files_grep

Recursively searches for patterns across all files in a directory tree.

read_file_range

Reads a specific line range from a file.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources