{"slug":"cyanheads/filesystem-mcp-server","name":"Filesystem MCP Server","description":"Provides AI agents with secure access to local filesystem operations like reading, writing, and managing files and directories.","category":"file-system","tags":[],"official":false,"stars":37,"transport":"stdio","install":null,"tools":[{"name":"set_filesystem_default","description":"Sets a default absolute path for the current session. Relative paths used in subsequent tool calls will be resolved against this default. Resets on server restart."},{"name":"read_file","description":"Reads the entire content of a specified file as UTF-8 text. Accepts relative (resolved against default) or absolute paths."},{"name":"write_file","description":"Writes content to a specified file. Creates the file (and necessary parent directories) if it doesn't exist, or overwrites it if it does. Accepts relative or absolute paths."},{"name":"update_file","description":"Performs targeted search-and-replace operations within an existing file using an array of {search, replace} blocks. Ideal for localized changes. Supports plain text or regex search (useRegex: true) and replacing all occurrences (replaceAll: true). Accepts relative or absolute paths. File must exist."},{"name":"list_files","description":"Lists files and directories within a specified path. Options include recursive listing (includeNested: true) and limiting the number of entries (maxEntries). Returns a formatted tree structure. Accepts relative or absolute paths."},{"name":"delete_file","description":"Permanently removes a specific file. Accepts relative or absolute paths."},{"name":"delete_directory","description":"Permanently removes a directory. Use recursive: true to remove non-empty directories and their contents (use with caution!). Accepts relative or absolute paths."},{"name":"create_directory","description":"Creates a new directory at the specified path. By default (create_parents: true), it also creates any necessary parent directories. Accepts relative or absolute paths."},{"name":"move_path","description":"Moves or renames a file or directory from a source path to a destination path. Accepts relative or absolute paths for both."},{"name":"copy_path","description":"Copies a file or directory from a source path to a destination path. For directories, it copies recursively by default (recursive: true). Accepts relative or absolute paths."}],"env_vars":["MCP_HTTP_PORT","MCP_HTTP_HOST","MCP_AUTH_SECRET_KEY","OPENROUTER_APP_URL","OPENROUTER_API_KEY","GEMINI_API_KEY","OAUTH_PROXY_AUTHORIZATION_URL","OAUTH_PROXY_TOKEN_URL","OAUTH_PROXY_REVOCATION_URL","OAUTH_PROXY_ISSUER_URL","OAUTH_PROXY_SERVICE_DOCUMENTATION_URL"],"auth_type":"none","github":"https://github.com/cyanheads/filesystem-mcp-server","homepage":"","server_url":"","status":"active","source":"mcpservers.org","updated_at":"Mon May 25"}