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 includes safety features like blocking access to secret files and requiring confirmation for risky operations.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Find every TODO in a repo and group them by file
- Rename a function across all .ts files and show the diff
- Read the last 50 lines of a log file and explain the error
- Move old screenshots into an archive folder
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/j0hanz/filesystem-mcp:2.18.4
{
"transport": "stdio",
"identifier": "ghcr.io/j0hanz/filesystem-mcp:2.18.4",
"runtimeHint": "docker",
"registryType": "oci",
"packageArguments": [
{
"type": "positional",
"value": "--read-only",
"isRequired": true,
"description": "Remove every tool that writes, to match the read-only mount."
},
{
"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, read-only."
}
],
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"filesystem-mcp-2-18-4": {
"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.18.4",
"--read-only"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_FS_ALLOWED_DIRS>",
"FS_READ_ONLY_DIRS": "<YOUR_FS_READ_ONLY_DIRS>"
}
}
}
}Cline
{
"mcpServers": {
"filesystem-mcp-2-18-4": {
"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.18.4",
"--read-only"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_FS_ALLOWED_DIRS>",
"FS_READ_ONLY_DIRS": "<YOUR_FS_READ_ONLY_DIRS>"
}
}
}
}VS Code
{
"servers": {
"filesystem-mcp-2-18-4": {
"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.18.4",
"--read-only"
],
"env": {
"FS_ALLOWED_DIRS": "<YOUR_FS_ALLOWED_DIRS>",
"FS_READ_ONLY_DIRS": "<YOUR_FS_READ_ONLY_DIRS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"filesystem-mcp-2-18-4": {
"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.18.4",
"--read-only"
],
"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.