MCP server for filesystem readonly access
MCP server for filesystem readonly access. That is what the readonly filesystem mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
Node.js server implementing Model Context Protocol (MCP) for readonly filesystem operations. A clone from modelcontextprotocol/server-filesystem.
The server publishes 12 tools. What each one is for:
read_file — Read complete contents of a fileInputs — - path (string): File path to readread_multiple_files — Read multiple files simultaneouslyInput — paths (string[])list_directory — List directory contents with [FILE] or [DIR] prefixessearch_files — Recursively search for files/directoriesCase — insensitive matchingget_file_info — Get detailed file/directory metadataReturns — - SizePermissions — list_allowed_directoriesResources — The Resources tool exposed by this serverTools — The Tools tool exposed by this serverSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Readonly Filesystem MCP's toolset — read_file, Inputs, read_multiple_files and 9 more — is a fair guide to whether it matches your workflow. It is maintained by danielsuguimoto; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Readonly Filesystem MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| read_file | Read complete contents of a file |
| Inputs | - path (string): File path to read |
| read_multiple_files | Read multiple files simultaneously |
| Input | paths (string[]) |
| list_directory | List directory contents with [FILE] or [DIR] prefixes |
| search_files | Recursively search for files/directories |
| Case | insensitive matching |
| get_file_info | Get detailed file/directory metadata |
| Returns | - Size |
| Permissions | **list_allowed_directories** |
| Resources | The Resources tool exposed by this server. |
| Tools | The Tools tool exposed by this server. |
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@danielsuguimoto/readonly-server-filesystem",
"/Users/username/Desktop",
"/path/to/other/allowed/dir"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.