Go server implementing Model Context Protocol (MCP) for filesystem operations.
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"filesystem": {
"args": [
"/path/to/allowed/directory",
"/another/allowed/directory"
],
"command": "mcp-filesystem-server"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This MCP server provides secure access to the local filesystem via the Model Context Protocol (MCP).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
File SystemAccess to files and directories on the local file system
file://
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
MCP Security Weekly
Get CVE alerts and security updates for Mcp Filesystem Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This MCP server provides secure access to the local filesystem via the Model Context Protocol (MCP).
read_file
path (required): Path to the file to readread_multiple_files
paths (required): List of file paths to readwrite_file
path (required): Path where to write the file, content (required): Content to write to the filecopy_file
source (required): Source path of the file or directory, destination (required): Destination pathmove_file
source (required): Source path of the file or directory, destination (required): Destination pathdelete_file
path (required): Path to the file or directory to delete, recursive (optional): Whether to recursively delete directories (default: false)modify_file
path (required): Path to the file to modify, find (required): Text to search for, replace (required): Text to replace with, all_occurrences (optional): Replace all occurrences (default: true), regex (optional): Treat find pattern as regex (default: false)list_directory
path (required): Path of the directory to listcreate_directory
path (required): Path of the directory to createtree
path (required): Path of the directory to traverse, depth (optional): Maximum depth to traverse (default: 3), follow_symlinks (optional): Whether to follow symbolic links (default: false)search_files
path (required): Starting path for the search, pattern (required): Search pattern to match against file namessearch_within_files
path (required): Starting directory for the search, substring (required): Text to search for within file contents, depth (optional): Maximum directory depth to search, max_results (optional): Maximum number of results to return (default: 1000)get_file_info
path (required): Path to the file or directorylist_allowed_directories
go install github.com/mark3labs/mcp-filesystem-server@latest
Start the MCP server with allowed directories:
mcp-filesystem-server /path/to/allowed/directory [/another/allowed/directory ...]
package main
import (
"log"
"os"
"github.com/mark3labs/mcp-filesystem-server/filesystemserver"
)
func main(
... [View full README on GitHub](https://github.com/mark3labs/mcp-filesystem-server#readme)