filesystem-server

command
v0.0.0-...-6dc8f68 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: ISC Imports: 8 Imported by: 0

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

Tools

  • read_file: Read contents of a file

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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