MCP.so
登录

Filesystem MCP Server

@optistar

关于 Filesystem MCP Server

暂无概览

基本信息

分类

文件与存储

许可证

MIT

运行时

go

传输方式

stdio

发布者

optistar

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

11

Create a new directory or ensure a directory exists.

Get a recursive tree view of files and directories as a JSON structure.

Make line-based edits to a text file.

Retrieve detailed metadata about a file or directory.

Returns the list of directories that this server is allowed to access.

Get a detailed listing of all files and directories in a specified path.

Move or rename files and directories.

Read the complete contents of a file from the file system.

Read the contents of multiple files simultaneously.

Recursively search for files and directories matching a pattern.

Create a new file or completely overwrite an existing file with new content.

概览

What is Filesystem MCP Server?

Filesystem MCP Server is a Go implementation of the Model Context Protocol (MCP) server that provides filesystem operations, based on Anthropic's reference implementation. It is intended for use with MCP-compatible clients to perform file and directory operations.

How to use Filesystem MCP Server?

Install via go install github.com/optistar/mcp-server-filesystem/cmd/mcp-server-filesystem@latest. The executable will be placed in the Go bin directory (typically ~/go/bin). Run the server and connect it to an MCP client; tools are invoked by the client.

Key features of Filesystem MCP Server

  • Create, read, write, edit, and move files and directories.
  • Retrieve detailed file metadata as JSON.
  • Recursive directory tree view as JSON.
  • Search files with gitignore-style exclude patterns.
  • Read multiple files simultaneously.
  • Full test suite included.

Use cases of Filesystem MCP Server

  • Allow an LLM to browse and edit local files on a user’s machine.
  • Automate file organization tasks through MCP clients.
  • Provide structured file access in development workflows.
  • Enable AI agents to manage project file structures.

FAQ from Filesystem MCP Server

How does this server differ from the reference implementation?

The get_file_info and directory_tree commands return JSON data, and the search_files tool supports gitignore‑style exclude patterns.

What are the runtime requirements?

It is distributed as a Go binary; no special runtime beyond the compiled executable is required.

How can I test the server?

Run go test for the test suite, or use the included tester command which acts as an MCP client to test the server.

Is this related to other filesystem MCP implementations?

No, this repository is unrelated to mark3labs/mcp-filesystem-server.

How can I see all tool details?

Use the MCP inspector for full documentation on each tool.

评论

文件与存储 分类下的更多 MCP 服务器