Skip to main content
Glama

Filesystem MCP Server

by mark3labs
helper_test.go250 B
package handler import ( "testing" "github.com/stretchr/testify/assert" ) func TestRoot(t *testing.T) { handler, err := NewFilesystemHandler([]string{"/"}) assert.NoError(t, err) assert.True(t, handler.isPathInAllowedDirs("/etc/hostname")) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mark3labs/mcp-filesystem-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server