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
10.6K

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.

Alternatives

S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
5.5K
4 points
A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
12.0K
5 points
M
MCP Scan
MCP-Scan is a security scanning tool for MCP servers, used to detect common security vulnerabilities such as prompt injection, tool poisoning, and cross-domain escalation.
Python
19.3K
5 points
A
Agentic Radar
Agentic Radar is a security scanning tool for analyzing and assessing agentic systems, helping developers, researchers, and security experts understand the workflows of agentic systems and identify potential vulnerabilities.
Python
14.6K
5 points
I
Ida Pro MCP
Certified
IDA Pro MCP is a server plugin for reverse engineering. It interacts with client tools through the MCP protocol, providing functions such as function analysis, comment modification, variable renaming, etc., and supports multiple MCP clients such as Cline, Roo Code, etc.
Python
21.6K
5 points
M
MCP Shield
MCP - Shield is a security tool for scanning MCP server vulnerabilities, which can detect security risks such as tool poisoning attacks, data leakage channels, and cross - domain violations.
TypeScript
12.3K
5 points
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
20.6K
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
34.8K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
73.5K
4.3 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
26.0K
4.3 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
65.4K
4.5 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#
31.7K
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
22.2K
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
49.8K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase