Discover Packages
github.com/voocel/mcp-sdk-go
examples
file-server
command
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Jul 31, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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 .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.