mcp-filesystem-server
Go server implementing Model Context Protocol (MCP) for filesystem operations.
MCP server by modelcontextprotocol · ★ 91.3k (shared repo) · updated yesterday
Node.js server for filesystem operations: read/write files, create/list/delete directories, move and search files, with configurable allowed directories.
Choose your AI client and copy the config.
Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}Or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project). Setup guide
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}Or add to .vscode/mcp.json in your workspace. Setup guide
{
"servers": {
"filesystem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}Cascade → Actions → Open MCP config file (often ~/.config/devin/mcp_config.json). Setup guide
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}Run in your terminal: Setup guide
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dirCLI or add to ~/.codex/config.toml. Setup guide
codex mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir[mcp_servers.filesystem]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/dir"]Cline panel → Configure MCP Servers, or ~/.cline/data/settings/cline_mcp_settings.json. Setup guide
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}Run the server directly:
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dirGo server implementing Model Context Protocol (MCP) for filesystem operations.
Open-source agentic workspace enterprises can make their own. Connect the systems you already run — 100+ integrations, MCP, chat tools, apps, browser, local files — with shared memory. Any agent (Claude Code, Codex), any model, or BYOK. Set up in clicks, not months. Local-first: your data never leaves your machines.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
All-in-One Sandbox for AI Agents that combines Browser, Shell, File, MCP and VSCode Server in a single Docker container.
GitLab server for projects, issues, merge requests, pipelines, wikis and file operations.
MCP server that gives AI agents full access to WordPress through PHP execution and filesystem operations