MCP Server
MCP
Filesystem MCP
Secure filesystem MCP server for reading, writing, searching, diffing, and patching files.
Install
npx -y @j0hanz/[email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@j0hanz/filesystem-mcp",
"version": "1.19.1",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"packageArguments": [
{
"description": "Optional root directory path the MCP server is allowed to access. If omitted, roots can be provided by the MCP Roots protocol or --allow-cwd.",
"format": "filepath",
"type": "positional",
"valueHint": "directory",
"isRepeated": true
},
{
"description": "Allow the current working directory as an additional root.",
"format": "boolean",
"default": "false",
"type": "named",
"name": "--allow-cwd"
},
{
"description": "Enable HTTP transport on the given port (Node Streamable HTTP).",
"format": "number",
"type": "named",
"name": "--port"
}
]
},
{
"registryType": "oci",
"identifier": "ghcr.io/j0hanz/filesystem-mcp:1.19.1",
"runtimeHint": "docker",
"transport": {
"type": "stdio"
},
"runtimeArguments": [
{
"description": "Keep stdin open for stdio transport.",
"type": "named",
"name": "-i"
},
{
"description": "Remove container after exit.",
"type": "named",
"name": "--rm"
}
],
"packageArguments": [
{
"description": "Root directory path inside the container the server is allowed to access.",
"format": "filepath",
"type": "positional",
"valueHint": "directory",
"isRepeated": true
},
{
"description": "Allow the container working directory as an additional root.",
"format": "boolean",
"default": "false",
"type": "named",
"name": "--allow-cwd"
},
{
"description": "Enable HTTP transport on the given port (Node Streamable HTTP).",
"format": "number",
"type": "named",
"name": "--port"
}
]
}
]
}
mcp
model-context-protocol
npm
oci
By
Comments
Sign in to leave a comment