Reads, writes and manages local files, with advanced search and replace and directory tree traversal.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add filesystem -- node dist/index.js~/.codex/config.toml
[mcp_servers.filesystem]
command = "node"
args = ["dist/index.js"]
# codex mcp add filesystem -- node dist/index.js~/.cursor/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}.vscode/mcp.json
{
"servers": {
"filesystem": {
"type": "stdio",
"command": "node",
"args": [
"dist/index.js"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}