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
12

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 ReadingRead complete or partial file contents with line number support
Batch File ReadingRead multiple files simultaneously with fault tolerance
Directory NavigationList directory contents with clear file/folder distinction
Advanced SearchRecursive file search with pattern matching and exclusions
File MetadataAccess detailed file information including timestamps and permissions

Pros and Cons

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 AnalysisRead and analyze multiple documentation files
Project ExplorationUnderstand a codebase structure
Configuration FindingLocate 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.
Featured MCP Services
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
141
4.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
830
4.3 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
1.7K
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
88
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#
567
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
6.7K
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
754
4.8 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase