File operations with streaming reads and writes, copy, move, directory management, file watching and change tracking.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add file-operations -- npx -y @smithery/cli install @bsmi021/mcp-file-operations-server --client claude~/.codex/config.toml
[mcp_servers.file-operations]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@bsmi021/mcp-file-operations-server", "--client", "claude"]
# codex mcp add file-operations -- npx -y @smithery/cli install @bsmi021/mcp-file-operations-server --client claude~/.cursor/mcp.json
{
"mcpServers": {
"file-operations": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@bsmi021/mcp-file-operations-server",
"--client",
"claude"
]
}
}
}.vscode/mcp.json
{
"servers": {
"file-operations": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@bsmi021/mcp-file-operations-server",
"--client",
"claude"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"file-operations": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@bsmi021/mcp-file-operations-server",
"--client",
"claude"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"file-operations": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@bsmi021/mcp-file-operations-server",
"--client",
"claude"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"file-operations": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@bsmi021/mcp-file-operations-server",
"--client",
"claude"
]
}
}
}