File Reader
БесплатноНе проверенAn MCP server for reading files from the local filesystem. Currently supports listing files in directories on the Desktop.
Описание
An MCP server for reading files from the local filesystem. Currently supports listing files in directories on the Desktop.
README
An MCP (Model Context Protocol) server for reading and discovering files from the local filesystem.
Current capabilities
This project now provides three MCP tools:
list_files— Lists files and folders in a given directory- Folders are shown with a trailing
/ - Results are sorted alphabetically
- Access is restricted to paths under the allowed workspace
- Folders are shown with a trailing
read_file— Reads the contents of a text file- Returns the full file content as a string
- Supports files inside the allowed workspace only
search_files— Searches for files by keyword within a directory tree- Returns matching file paths
- Helps quickly locate relevant files
Implementation notes
- The file access layer has been updated to use
pathlibinstead ofosfor a more modern and readable path handling approach. - Access is still restricted to a safe allowed root for security.
Requirements
- Python 3.10+
- uv (recommended) or pip
Setup
uv sync
Running the server
uv run python src/server.py
The server uses stdio transport and is meant to be configured as an MCP server in Cursor or another MCP-compatible client.
Project structure
file_reader_mcp/
├── src/
│ ├── file_access.py # Pathlib-based file access helpers
│ └── server.py # MCP server exposing list_files, read_file, and search_files
├── test/
│ └── test_os.py # Local tests for directory listing
└── pyproject.toml
Установка File Reader
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Ggowda2004/FIle_reader_MCP_toolFAQ
File Reader MCP бесплатный?
Да, File Reader MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для File Reader?
Нет, File Reader работает без API-ключей и переменных окружения.
File Reader — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить File Reader в Claude Desktop, Claude Code или Cursor?
Открой File Reader на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare File Reader with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
