Filesystem SSE Server in Go
@lealre
Filesystem SSE Server in Go について
A Go MCP server enabling file system interactions.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"fs-mcp": {
"command": "python",
"args": [
"script.py",
"List all the entries for the path in /your/directory/path/somesubpath"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Filesystem SSE Server in Go?
Filesystem SSE Server in Go is an MCP server that provides tools to interact with the local file system—such as listing directory entries, reading/writing files, retrieving file info, renaming, and copying files or directories. It runs an SSE server on a local machine and is intended for developers who need file system operations through the Model Context Protocol.
How to use Filesystem SSE Server in Go?
Install using go install github.com/lealre/fs-mcp@latest (Go 1.24 required), then start the server with fs-mcp -dir /your/directory/path. The server listens on http://localhost:8080 (or a custom port via -port flag) and exposes an SSE endpoint at /sse. You can then connect any MCP client (e.g., a PydanticAI agent) to this endpoint.
Key features of Filesystem SSE Server in Go
- List directory entries with configurable depth.
- Read file contents from a given path.
- Create or overwrite files with specified content.
- Retrieve file info (size, modified time, MIME type, permissions).
- Rename files or directories.
- Copy files or directories to a new location.
Use cases of Filesystem SSE Server in Go
- Have an AI agent browse and list files in a local directory.
- Allow an agent to read configuration or log files.
- Let an agent write output files to a controlled directory.
- Enable an agent to restructure local folders (rename, copy).
FAQ from Filesystem SSE Server in Go
What dependencies are required?
Go version 1.24 must be installed on your system.
What transport does the server use?
It uses SSE (Server-Sent Events) over HTTP. The MCP endpoint is at http://localhost:8080/sse.
Can I restrict which directories are accessible?
Yes, the -dir flag is required and specifies the base directory. All file operations are restricted to paths under that directory. Only one directory path is accepted.
Does the server require authentication?
The README does not mention any authentication mechanism.
Are there any known limits?
The server currently accepts only a single base directory path (via the -dir flag). File operations outside this directory are not permitted.
「ファイルとストレージ」の他のコンテンツ

Google Drive
modelcontextprotocolModel Context Protocol Servers
mcp-rquest
xxxbrianA MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
mcp-v8: V8 JavaScript MCP Server
r33drichardsMCP server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
S3 MCP Server
samuraikunMCP server to integrate AWS S3 and LLM
box-mcp-server
hmkA Box model context protocol server to search, read and access files
コメント