file-server

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

A file-serving MCP server: files in a directory are exposed as resources under file:/// URIs, with path traversal blocked by the SDK (filepath.Localize + os.OpenRoot).

Run: go run ./examples/file-server -dir .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL