Filesystem MCP
A Model Context Protocol server that allows AI assistants to safely search, read, edit, and manage local files within user-specified directories. It provides 14 tools for file operations, including grep-like search with RE2 regex, exact-match text editing, and patching, while enforcing security by blocking sensitive files and requiring confirmation for risky changes like deleting non-empty folders.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 27 GitHub stars
What you can do with it
- Find every TODO in a repo and group them by file
- Rename a function in all .ts files and show the diff
- Read the last 50 lines of a log file and explain errors
- Move old screenshots into an archive directory
Source and maintenance
- Last repository push
- Latest release
- v2.15.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/j0hanz/filesystem-mcp:2.14.0
{
"transport": "stdio",
"identifier": "ghcr.io/j0hanz/filesystem-mcp:2.14.0",
"runtimeHint": "docker",
"registryType": "oci",
"packageArguments": [
{
"type": "positional",
"default": "/workspace",
"valueHint": "/workspace",
"isRequired": true,
"description": "Container path of the mounted directory."
}
],
"runtimeArguments": [
{
"name": "-i",
"type": "named",
"format": "boolean",
"isRequired": true,
"description": "Keep stdin open for stdio transport."
},
{
"name": "--rm",
"type": "named",
"format": "boolean",
"isRequired": true,
"description": "Remove the container on exit."
},
{
"name": "-v",
"type": "named",
"value": "{host_dir}:/workspace:ro",
"variables": {
"host_dir": {
"format": "filepath",
"isRequired": true,
"description": "Host directory path to expose to the server."
}
},
"isRepeated": true,
"isRequired": true,
"description": "Mount the directory to expose to the server."
}
],
"environmentVariables": [
{
"name": "FS_ALLOWED_DIRS",
"format": "string",
"description": "Allowed directories inside the container, ':'-separated. Alternative to positional arguments."
},
{
"name": "FS_READ_ONLY_DIRS",
"format": "string",
"description": "Read-only directories inside the container, ':'-separated. Writes, moves, and deletes under them are refused."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"filesystem-mcp-2-14-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FS_ALLOWED_DIRS=<YOUR_FS_ALLOWED_DIRS>",
"-e",
"FS_READ_ONLY_DIRS=<YOUR_FS_READ_ONLY_DIRS>",
"ghcr.io/j0hanz/filesystem-mcp:2.14.0"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_FS_ALLOWED_DIRS>",
"FS_READ_ONLY_DIRS": "<YOUR_FS_READ_ONLY_DIRS>"
}
}
}
}Cline
{
"mcpServers": {
"filesystem-mcp-2-14-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FS_ALLOWED_DIRS=<YOUR_FS_ALLOWED_DIRS>",
"-e",
"FS_READ_ONLY_DIRS=<YOUR_FS_READ_ONLY_DIRS>",
"ghcr.io/j0hanz/filesystem-mcp:2.14.0"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_FS_ALLOWED_DIRS>",
"FS_READ_ONLY_DIRS": "<YOUR_FS_READ_ONLY_DIRS>"
}
}
}
}VS Code
{
"servers": {
"filesystem-mcp-2-14-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FS_ALLOWED_DIRS=<YOUR_FS_ALLOWED_DIRS>",
"-e",
"FS_READ_ONLY_DIRS=<YOUR_FS_READ_ONLY_DIRS>",
"ghcr.io/j0hanz/filesystem-mcp:2.14.0"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_FS_ALLOWED_DIRS>",
"FS_READ_ONLY_DIRS": "<YOUR_FS_READ_ONLY_DIRS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"filesystem-mcp-2-14-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FS_ALLOWED_DIRS=<YOUR_FS_ALLOWED_DIRS>",
"-e",
"FS_READ_ONLY_DIRS=<YOUR_FS_READ_ONLY_DIRS>",
"ghcr.io/j0hanz/filesystem-mcp:2.14.0"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_FS_ALLOWED_DIRS>",
"FS_READ_ONLY_DIRS": "<YOUR_FS_READ_ONLY_DIRS>"
}
}
}
}Let your agent find its tools
Find servers like Filesystem MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.