What is the Files MCP server?
Sandboxed local filesystem: read, search, edit, copy, archive, and safely manage files.
How to install Files
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
FS_ROOTSrequiredAllowed root directories (comma-separated). Required — the server refuses to start without it.
FS_READONLYSet to 1 or true to disable all file-modifying tools.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"files": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/files"
],
"env": {
"FS_ROOTS": "<YOUR_FS_ROOTS>",
"FS_READONLY": "<YOUR_FS_READONLY>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"files": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/files"
],
"env": {
"FS_ROOTS": "<YOUR_FS_ROOTS>",
"FS_READONLY": "<YOUR_FS_READONLY>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"files": {
"command": "npx",
"args": [
"-y",
"@abhishekmcp/files"
],
"env": {
"FS_ROOTS": "<YOUR_FS_ROOTS>",
"FS_READONLY": "<YOUR_FS_READONLY>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"files": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/files"
],
"env": {
"FS_ROOTS": "<YOUR_FS_ROOTS>",
"FS_READONLY": "<YOUR_FS_READONLY>"
}
}
}
}Claude Code
claude mcp add files --env FS_ROOTS=<YOUR_FS_ROOTS> --env FS_READONLY=<YOUR_FS_READONLY> -- npx -y @abhishekmcp/filesRelated MCP servers
Git
Active
Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.
1
View repository →TypeScript
MIT
GitHub
Active
GitHub via MCP: search, repos, issues, PRs, files, notifications. OAuth device flow or token.
1
View repository →TypeScript
MIT
Notes
Active
Local markdown notes: ranked + semantic search, tags, todos, and a wiki-link knowledge graph.
1
View repository →TypeScript
MIT