Readonly Filesystem MCP
R

Readonly Filesystem MCP

A Node.js-based readonly filesystem MCP server that provides functions such as file reading, directory listing, file searching, and metadata retrieval, only allowing access to specified directories.
2 points
9.7K

What is Readonly Filesystem MCP Server?

This server provides secure, readonly access to your filesystem through the Model Context Protocol (MCP). It allows authorized applications to read files and directories without modification capabilities, ensuring data safety.

How to use this server?

Configure the server through Claude Desktop by specifying allowed directories. The server will then provide readonly access to these locations through standardized MCP operations.

Use Cases

Ideal for document analysis tools, code review assistants, or any application that needs secure filesystem access without write permissions.

Key Features

File Reading
Read complete or partial file contents with line number support
Batch File Reading
Read multiple files simultaneously with fault tolerance
Directory Navigation
List directory contents with clear file/folder distinction
Advanced Search
Recursive file search with pattern matching and exclusions
File Metadata
Access detailed file information including timestamps and permissions
Advantages
Enhanced security through readonly access
Precise control over accessible directories
Supports both individual and batch operations
Case-insensitive search for user convenience
Limitations
No file modification capabilities (by design)
Limited to UTF-8 encoded text files
Requires explicit directory whitelisting

Setup Guide

Install the Server
Ensure Node.js is installed, then add the server to your Claude Desktop configuration
Configure Access
Specify which directories should be accessible in your configuration file
Launch Claude Desktop
Start your application with the new configuration to enable filesystem access

Practical Examples

Document Analysis
Read and analyze multiple documentation files
Project Exploration
Understand a codebase structure
Configuration Finding
Locate all configuration files

Frequently Asked Questions

Can I edit files through this server?
What happens if I try to access a restricted directory?
How do I add more allowed directories?

Additional Resources

MCP Protocol Documentation
Official specification for the Model Context Protocol
Source Code Repository
Original server implementation
Node.js Filesystem API
Underlying filesystem operations reference

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@danielsuguimoto/readonly-server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.8K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
15.6K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.7K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.3K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
45.7K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
29.4K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase