We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dd3cc1 commit 435be2aCopy full SHA for 435be2a
main.go
@@ -68,7 +68,7 @@ func NewFilesystemServer(allowedDirs []string) (*FilesystemServer, error) {
68
allowedDirs: normalized,
69
server: server.NewMCPServer(
70
"secure-filesystem-server",
71
- "0.4.0",
+ "0.4.1",
72
server.WithResourceCapabilities(true, true),
73
),
74
}
@@ -461,7 +461,7 @@ func (s *FilesystemServer) handleReadFile(
461
) (*mcp.CallToolResult, error) {
462
path, ok := request.Params.Arguments["path"].(string)
463
if !ok {
464
- return nil, fmt.Errorf("path must be a string")
+ return nil, fmt.Errorf("path must be a string")
465
466
467
// Handle empty or relative paths like "." or "./" by converting to absolute path
0 commit comments