This MCP server implementation, developed by the gomcpgo team, provides a filesystem interface for AI models. Built using Go and leveraging the gomcpgo/mcp package, it offers tools for interacting with local file systems. The implementation focuses on simplicity and efficiency, with a straightforward build and run process managed through a shell script. It's particularly useful for AI-assisted file management tasks, enabling models to perform operations like file creation, deletion, and manipulation without needing direct access to the underlying system. The server's design makes it adaptable for various use cases where AI needs to interact with local storage, such as automated file organization or content management systems.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Read a single file, with optional start_line/end_line for partial reads.
Read multiple files simultaneously in one call.
Recursive regex search across files. Returns file paths, line numbers, and matched text. Params: path, pattern, file_extensions, max_results, case_sensitive.
Create or overwrite a file. Auto-creates parent directories.
Add content to end of file. Creates file if it doesn't exist.
Add content to beginning of file. Creates file if it doesn't exist.
Replace exact string occurrences in a file. Params: path, search, replace, occurrence (0=all), dry_run.
Replace regex pattern matches with capture group support. Params: path, pattern, replace, occurrence, case_sensitive, dry_run.
Batch replace a string across multiple files. Validates all paths before applying. Params: paths, search, replace, dry_run.
Insert content after a regex pattern match. Params: path, pattern, content, occurrence (0=all, default 1), autoIndent, dry_run.
Insert content before a regex pattern match. Same params as insert_after_regex.
Copy a line range from source to destination file directly on disk. Params: source_path, destination_path, start_line, end_line, append.
List directory contents with filtering by pattern, file type, recursion depth, hidden files, and metadata. Params: path, pattern, file_type, recursive, max_depth, max_results, include_hidden, include_metadata.
Create directory and parents (idempotent).
Show accessible directories.
Move or rename files and directories.
Get file metadata (size, permissions, modification time).