file_reader_mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@file_reader_mcplist files in the projects folder on my Desktop"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
file_reader_mcp
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 directoryFolders are shown with a trailing
/Results are sorted alphabetically
Access is restricted to paths under the allowed workspace
read_file— Reads the contents of a text fileReturns the full file content as a string
Supports files inside the allowed workspace only
search_files— Searches for files by keyword within a directory treeReturns 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.
Related MCP server: filesystem-mcp
Requirements
Python 3.10+
uv (recommended) or pip
Setup
uv syncRunning the server
uv run python src/server.pyThe 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.tomlMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server to list and launch applications on MacOS1119MIT
- AlicenseAqualityCmaintenanceMCP Server that enables LLMs to interact with the local filesystem.1816211MIT
- AlicenseBqualityDmaintenanceAn MCP server designed for managing files and folders specifically on the Windows Desktop. It enables users to perform file operations like deletion while implementing security measures to prevent path traversal outside the Desktop directory.1MIT
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
A basic MCP server to operate on the Postman API.
MCP server for accessing curated awesome list documentation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Ggowda2004/FIle_reader_MCP_tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server