Skip to main content
Glama

Filesystem MCP Server

by mark3labs
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml startCommand: type: stdio configSchema: # JSON Schema defining the configuration options for the MCP. type: object required: - allowedDirectory properties: allowedDirectory: type: string description: The absolute path to an allowed directory for the filesystem server. For example, in the Docker container '/app' is a good default. additionalDirectories: type: array items: type: string description: Optional additional allowed directories. commandFunction: # A JS function that produces the CLI command based on the given config to start the MCP on stdio. |- (config) => { const args = [config.allowedDirectory]; if (config.additionalDirectories && Array.isArray(config.additionalDirectories)) { args.push(...config.additionalDirectories); } return { command: './server', args: args }; } exampleConfig: allowedDirectory: /app additionalDirectories: []

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