command
Version:
v0.0.0-...-6dc8f68
Opens a new window with list of versions in this module.
Published: Nov 26, 2024
License: ISC
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
MCP Filesystem Server Example
This example demonstrates implementing a simple MCP server that provides filesystem access.
Usage
go run . /path/to/allowed/directory [additional-directories...]
The server will only allow access to files within the specified directories.
Features
- Read file contents
- Basic security model (TODO)
- JSON-RPC over stdio
- read_file: Read contents of a file
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.