{"type":"mcp_server","name":"mcp-filesystem-server","description":"This repository provides a Go server implementing the Model Context Protocol (MCP) for filesystem operations, enabling read/write access, directory management, file searching, and metadata retrieval within specified directories.","category":"System Tools","language":"Go","stars":661,"forks":21,"owner":"mark3labs","github_url":"https://github.com/mark3labs/mcp-filesystem-server","homepage":null,"setup":"## Setup\nInstall the server\n```bash\ngo install github.com/mark3labs/mcp-filesystem-server\n```\n\nAdd this to your `claude_desktop_config.json`:\n```json\n{\n  \"mcpServers\": {\n    \"filesystem\": {\n      \"command\": \"mcp-filesystem-server\",\n      \"args\": [\n        \"/Users/username/Desktop\",\n        \"/path/to/other/allowed/dir\"\n      ]\n    }\n  }\n}\n```","tools":"## Available Tools\n\n1.  Read/write files (Allows reading and writing of files within specified directories.)\n2.  Create/list/delete directories (Enables creation, listing, and deletion of directories.)\n3.  Move files/directories (Allows moving or renaming files and directories.)\n4.  Search files (Recursively searches for files/directories based on a pattern.)\n5.  Get file metadata (Retrieves detailed file/directory metadata such as size, creation time, and permissions.)\n6.  `read_file` (Reads the complete contents of a file.)\n7.  `read_multiple_files` (Reads multiple files simultaneously.)\n8.  `write_file` (Creates a new file or overwrites an existing one.)\n9.  `create_directory` (Creates a new directory or ensures it exists.)\n10. `list_directory` (Lists directory contents with [FILE] or [DIR] prefixes.)\n11. `move_file` (Moves or renames files and directories.)\n12. `search_files` (Recursively searches for files/directories.)\n13. `get_file_info` (Gets detailed file/directory metadata.)\n14. `list_allowed_directories` (Lists all directories the server is allowed to access.)","faq":null,"created_at":"2024-11-28T12:15:08+00:00","updated_at":"2025-03-28T16:22:22+00:00","source_url":"https://model-context-protocol.com/servers/go-mcp-filesystem-server-operations-protocol","related_articles":[]}